Avoiding a race condition for now

This commit is contained in:
Pierre Pronchery 2010-09-15 01:14:07 +00:00
parent 2686706f60
commit c256695ca1

View File

@ -190,7 +190,9 @@ static void _on_plug_embedded(gpointer data)
g_source_remove(panel->timeout);
panel->timeout = 0;
gtk_widget_show(panel->plug);
#if 0 /* XXX disabled for now because of a race condition */
plugin->helper->queue(plugin->helper->phone, "AT+COPS?");
#endif
}
static gboolean _on_battery_timeout(gpointer data)