Avoiding a race condition for now
This commit is contained in:
parent
2686706f60
commit
c256695ca1
@ -190,7 +190,9 @@ static void _on_plug_embedded(gpointer data)
|
|||||||
g_source_remove(panel->timeout);
|
g_source_remove(panel->timeout);
|
||||||
panel->timeout = 0;
|
panel->timeout = 0;
|
||||||
gtk_widget_show(panel->plug);
|
gtk_widget_show(panel->plug);
|
||||||
|
#if 0 /* XXX disabled for now because of a race condition */
|
||||||
plugin->helper->queue(plugin->helper->phone, "AT+COPS?");
|
plugin->helper->queue(plugin->helper->phone, "AT+COPS?");
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
static gboolean _on_battery_timeout(gpointer data)
|
static gboolean _on_battery_timeout(gpointer data)
|
||||||
|
Loading…
Reference in New Issue
Block a user