network-manager-applet r1083 - in branches/NETWORKMANAGER_APPLET_0_7: . src



Author: dcbw
Date: Fri Dec 19 16:25:50 2008
New Revision: 1083
URL: http://svn.gnome.org/viewvc/network-manager-applet?rev=1083&view=rev

Log:
2008-12-19  Dan Williams  <dcbw redhat com>

	Patch from Drew Moseley <dmoseley mvista com>

	* src/applet-device-wifi.c
		- (free_ap_notification_data): remove ap notification timeout when
			freeing ap notification data



Modified:
   branches/NETWORKMANAGER_APPLET_0_7/ChangeLog
   branches/NETWORKMANAGER_APPLET_0_7/src/applet-device-wifi.c

Modified: branches/NETWORKMANAGER_APPLET_0_7/src/applet-device-wifi.c
==============================================================================
--- branches/NETWORKMANAGER_APPLET_0_7/src/applet-device-wifi.c	(original)
+++ branches/NETWORKMANAGER_APPLET_0_7/src/applet-device-wifi.c	Fri Dec 19 16:25:50 2008
@@ -1060,6 +1060,9 @@
 	struct ap_notification_data *data = user_data;
 	NMSettings *settings = applet_get_settings (data->applet);
 
+	if (data->id)
+		g_source_remove (data->id);
+
 	if (settings)
 		g_signal_handler_disconnect (settings, data->new_con_id);
 	memset (data, 0, sizeof (*data));



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