Commit bf624091 authored by Robert Love's avatar Robert Love Committed by Robert Love
Browse files

2005-08-10  Robert Love  <rml@novell.com>

	* gnome/applet/applet.c: Make applet->dbus_thread joinable so we can
	  wait for it on exit; call exit() in nmwa_destroy() to jump ship.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@831 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
parent ca7c51f6
2005-08-10 Robert Love <rml@novell.com>
* gnome/applet/applet.c: Make applet->dbus_thread joinable so we can
wait for it on exit; call exit() in nmwa_destroy() to jump ship.
2005-08-10 Dan Williams <dcbw@redhat.com>
Patch from Bill Moss <bmoss@clemson.edu>
......
......@@ -2391,6 +2391,8 @@ static void nmwa_destroy (NMWirelessApplet *applet, gpointer user_data)
gconf_client_notify_remove (applet->gconf_client, applet->gconf_prefs_notify_id);
gconf_client_notify_remove (applet->gconf_client, applet->gconf_vpn_notify_id);
g_object_unref (G_OBJECT (applet->gconf_client));
exit (EXIT_SUCCESS);
}
......@@ -2455,7 +2457,7 @@ static GtkWidget * nmwa_get_instance (NMWirelessApplet *applet)
g_object_unref (G_OBJECT (applet->gconf_client));
return NULL;
}
if (!(applet->dbus_thread = g_thread_create (nmwa_dbus_worker, applet, FALSE, &error)))
if (!(applet->dbus_thread = g_thread_create (nmwa_dbus_worker, applet, TRUE, &error)))
{
g_mutex_free (applet->data_mutex);
g_object_unref (G_OBJECT (applet->gconf_client));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment