diff options
author | Bastien Nocera <hadess@hadess.net> | 2013-10-22 15:43:43 +0200 |
---|---|---|
committer | Bastien Nocera <hadess@hadess.net> | 2013-10-23 13:31:18 +0200 |
commit | 438cd857c49242244dda2923ac447f36464b9e72 (patch) | |
tree | 9b583fc07a430a739e80d62c73edede9ad019602 /gdk/gdkframeclockidle.c | |
parent | dcc0fd222e78372ce49a8722420ccc7e9e022cdd (diff) | |
download | gtk+-438cd857c49242244dda2923ac447f36464b9e72.tar.gz |
all: Add names to timeouts
Add names to every timeout we setup, so it's easier to track their
usage, and debug possible misbehaviour.
https://bugzilla.gnome.org/show_bug.cgi?id=710651
Diffstat (limited to 'gdk/gdkframeclockidle.c')
-rw-r--r-- | gdk/gdkframeclockidle.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gdk/gdkframeclockidle.c b/gdk/gdkframeclockidle.c index b4ef050a3e..c90bd09543 100644 --- a/gdk/gdkframeclockidle.c +++ b/gdk/gdkframeclockidle.c @@ -243,6 +243,7 @@ maybe_start_idle (GdkFrameClockIdle *clock_idle) gdk_frame_clock_flush_idle, g_object_ref (clock_idle), (GDestroyNotify) g_object_unref); + g_source_set_name_by_id (priv->flush_idle_id, "[gtk+] gdk_frame_clock_flush_idle"); } if (!priv->in_paint_idle && @@ -253,6 +254,7 @@ maybe_start_idle (GdkFrameClockIdle *clock_idle) gdk_frame_clock_paint_idle, g_object_ref (clock_idle), (GDestroyNotify) g_object_unref); + g_source_set_name_by_id (priv->paint_idle_id, "[gtk+] gdk_frame_clock_paint_idle"); } } } |