NetworkManager r4205 - in trunk: . src



Author: dcbw
Date: Wed Oct 22 15:22:17 2008
New Revision: 4205
URL: http://svn.gnome.org/viewvc/NetworkManager?rev=4205&view=rev

Log:
2008-10-22  Dan Williams  <dcbw redhat com>

	* src/nm-gsm-device.c
		- (schedule_automatic_registration_again): use a short timeout here
			instead of an idle handler to avoid using too much CPU polling for
			something we should be waiting a bit for anyway



Modified:
   trunk/ChangeLog
   trunk/src/nm-gsm-device.c

Modified: trunk/src/nm-gsm-device.c
==============================================================================
--- trunk/src/nm-gsm-device.c	(original)
+++ trunk/src/nm-gsm-device.c	Wed Oct 22 15:22:17 2008
@@ -328,7 +328,7 @@
 	if (priv->pending_id)
 		g_source_remove (priv->pending_id);
 
-	priv->pending_id = g_idle_add (automatic_registration_again, self);
+	priv->pending_id = g_timeout_add (1000, automatic_registration_again, self);
 }
 
 static void



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