network-manager-applet r926 - trunk/src
- From: dcbw svn gnome org
- To: svn-commits-list gnome org
- Subject: network-manager-applet r926 - trunk/src
- Date: Sat, 4 Oct 2008 22:46:04 +0000 (UTC)
Author: dcbw
Date: Sat Oct 4 22:46:04 2008
New Revision: 926
URL: http://svn.gnome.org/viewvc/network-manager-applet?rev=926&view=rev
Log:
Clear applet settings after unreffing since other stuff may check it
Modified:
trunk/src/applet.c
Modified: trunk/src/applet.c
==============================================================================
--- trunk/src/applet.c (original)
+++ trunk/src/applet.c Sat Oct 4 22:46:04 2008
@@ -185,7 +185,7 @@
NMSettings *
applet_get_settings (NMApplet *applet)
{
- return NM_SETTINGS (applet->gconf_settings);
+ return (NMSettings *) applet->gconf_settings;
}
GSList *
@@ -2281,7 +2281,9 @@
g_object_unref (applet->info_dialog_xml);
g_object_unref (applet->gconf_settings);
+ applet->gconf_settings = NULL;
g_object_unref (applet->dbus_settings);
+ applet->dbus_settings = NULL;
g_object_unref (applet->gconf_client);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]