Found in "gnokii-working" directory, some November-patches version
[gnokii.git] / xgnokii / xgnokii_data.c
index 261f75f..f6a65e8 100644 (file)
@@ -57,7 +57,9 @@ inline void GUI_ShowData (void)
     
   if (TerminateThread)
   { 
+#if 0
     VM_Terminate ();
+#endif
     enabled = false;
     TerminateThread = false;
   }
@@ -75,7 +77,9 @@ inline void GUI_HideData(void)
 static inline void DisableData (GtkWidget *widget,
                                gpointer   data )
 {
+#if 0
   VM_Terminate ();
+#endif
   enabled = false;
   UpdateStatus ();
 }
@@ -86,8 +90,10 @@ static inline void EnableData (GtkWidget *widget,
 {
 
   TerminateThread = false;
+#if 0
   VM_Initialise (xgnokiiConfig.model,  xgnokiiConfig.port, 
                 0, 0, xgnokiiConfig.bindir, false, false);
+#endif
   enabled = true;
   UpdateStatus ();
 }