*/
App_local=App;
App=NULL;
- gtk_widget_destroy(GTK_WIDGET(App));
+ gtk_widget_destroy(GTK_WIDGET(App_local));
}
static void ui_gnome_network_notify_hostip(guint32 hostip_guint32)
else
dialog=gnome_app_message(App,message);
+ /* Do not set it modal as ... who knows. At least in the fully static
+ * build during on_AutostartCheckButton_toggled() we get reported
+ * the messages twice and application immediately gtk_main_quit()
+ * even the second (toplevel) gtk_main().
+ */
+#if 0
gtk_window_set_modal(GTK_WINDOW(dialog),TRUE);
g_signal_connect((gpointer)dialog,"close",G_CALLBACK(gtk_main_quit),NULL);
gtk_main();
/* 'dialog' gets destroyed automatically */
+#endif
}
static void ui_gnome_interactive(void)