gio: Add names to idles and timeouts

This isn't too useful for some of the "return result in idle"
functions, but it's better than nothing.

https://bugzilla.gnome.org/show_bug.cgi?id=726872
This commit is contained in:
Bastien Nocera
2014-03-22 13:15:45 +01:00
parent e1dee398bf
commit 8792609e15
13 changed files with 28 additions and 1 deletions

View File

@@ -379,6 +379,7 @@ queue_network_changed (GNetworkMonitorBase *monitor)
*/
g_source_set_priority (source, G_PRIORITY_HIGH_IDLE);
g_source_set_callback (source, emit_network_changed, monitor, NULL);
g_source_set_name (source, "[gio] emit_network_changed");
g_source_attach (source, monitor->priv->context);
monitor->priv->network_changed_source = source;
}