Name all timeouts and idles

Better names can be used once we make more use of them.

https://bugzilla.gnome.org/show_bug.cgi?id=727979
This commit is contained in:
Bastien Nocera
2014-04-10 18:58:58 +02:00
parent b37223b9bb
commit d53e04f4c8
13 changed files with 44 additions and 10 deletions

View File

@@ -291,7 +291,10 @@ meta_idle_monitor_xsync_make_watch (MetaIdleMonitor *monitor,
g_hash_table_add (monitor_xsync->alarms, (gpointer) watch_xsync->xalarm);
if (meta_idle_monitor_get_idletime (monitor) > (gint64)timeout_msec)
watch->idle_source_id = g_idle_add (fire_watch_idle, watch);
{
watch->idle_source_id = g_idle_add (fire_watch_idle, watch);
g_source_set_name_by_id (watch->idle_source_id, "[mutter] fire_watch_idle");
}
}
else
{