summaryrefslogtreecommitdiff
path: root/gdk/quartz
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2014-03-22 12:44:01 +0100
committerMatthias Clasen <mclasen@redhat.com>2014-03-26 20:09:30 -0400
commitf71f7215ab31a85bdcc124b1ac6d6c9ca8a6acf1 (patch)
tree60eaf90866b9c3485115452b2d133f6b986e9bd8 /gdk/quartz
parent454c485ebe9b2d262d2e84d1f16b86c00980e5b9 (diff)
downloadgtk+-f71f7215ab31a85bdcc124b1ac6d6c9ca8a6acf1.tar.gz
all: Name more idles and timeouts
Following up from 438cd857c49242244dda2923ac447f36464b9e72, name more timeouts and idles. The original grep was missing checking for gdk_threads_add_*() functions (at least for some of the files). https://bugzilla.gnome.org/show_bug.cgi?id=726870
Diffstat (limited to 'gdk/quartz')
-rw-r--r--gdk/quartz/gdkscreen-quartz.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/gdk/quartz/gdkscreen-quartz.c b/gdk/quartz/gdkscreen-quartz.c
index e28f3b2737..e4d409023f 100644
--- a/gdk/quartz/gdkscreen-quartz.c
+++ b/gdk/quartz/gdkscreen-quartz.c
@@ -282,8 +282,11 @@ display_reconfiguration_callback (CGDirectDisplayID display,
* yet, so we delay our refresh into an idle handler.
*/
if (!screen->screen_changed_id)
- screen->screen_changed_id = gdk_threads_add_idle (screen_changed_idle,
- screen);
+ {
+ screen->screen_changed_id = gdk_threads_add_idle (screen_changed_idle,
+ screen);
+ g_source_set_name_by_id (screen->screen_changed_id, "[gtk+] screen_changed_idle");
+ }
}
}