NetworkManager r3734 - in trunk: . libnm-glib



Author: dcbw
Date: Tue Jun 10 01:56:14 2008
New Revision: 3734
URL: http://svn.gnome.org/viewvc/NetworkManager?rev=3734&view=rev

Log:
2008-06-09  Dan Williams  <dcbw redhat com>

	* libnm-glib/nm-device-802-11-wireless.c
		- (access_point_removed_proxy): actually unref the AP after removing
			it from the device's AP list.  Fixes refcounting bug for APs that
			caused them to get mixed up in the applet's menu.



Modified:
   trunk/ChangeLog
   trunk/libnm-glib/nm-device-802-11-wireless.c

Modified: trunk/libnm-glib/nm-device-802-11-wireless.c
==============================================================================
--- trunk/libnm-glib/nm-device-802-11-wireless.c	(original)
+++ trunk/libnm-glib/nm-device-802-11-wireless.c	Tue Jun 10 01:56:14 2008
@@ -293,6 +293,7 @@
 	if (ap) {
 		g_signal_emit (self, signals[ACCESS_POINT_REMOVED], 0, ap);
 		g_ptr_array_remove (priv->aps, ap);
+		g_object_unref (G_OBJECT (ap));
 	}
 }
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]