* 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
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@4205
4912f4e0-d625-0410-9fb7-
b9a5a253dbdc
+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
+
2008-10-22 Dan Williams <dcbw@redhat.com>
* include/NetworkManager.h
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