From 45361e19c3df79345869e3c0fa0ee5fa1862e169 Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Wed, 6 Feb 2019 10:37:24 +0100 Subject: [PATCH] Rename more GSources to use `gtk` --- gdk/broadway/gdksurface-broadway.c | 2 +- gdk/gdkframeclockidle.c | 4 ++-- gdk/quartz/gdkscreen-quartz.c | 2 +- gdk/wayland/gdkdevice-wayland.c | 4 ++-- gdk/win32/gdkdrag-win32.c | 2 +- gdk/x11/gdkapplaunchcontext-x11.c | 4 ++-- gdk/x11/gdkasync.c | 4 ++-- gdk/x11/gdkdrag-x11.c | 2 +- 8 files changed, 12 insertions(+), 12 deletions(-) diff --git a/gdk/broadway/gdksurface-broadway.c b/gdk/broadway/gdksurface-broadway.c index a752420410..56e9684112 100644 --- a/gdk/broadway/gdksurface-broadway.c +++ b/gdk/broadway/gdksurface-broadway.c @@ -116,7 +116,7 @@ queue_flush (GdkSurface *surface) if (flush_id == 0) { flush_id = g_idle_add (flush_idle, NULL); - g_source_set_name_by_id (flush_id, "[gtk+] flush_idle"); + g_source_set_name_by_id (flush_id, "[gtk] flush_idle"); } } diff --git a/gdk/gdkframeclockidle.c b/gdk/gdkframeclockidle.c index 911680fffd..0da209cf88 100644 --- a/gdk/gdkframeclockidle.c +++ b/gdk/gdkframeclockidle.c @@ -243,7 +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"); + g_source_set_name_by_id (priv->flush_idle_id, "[gtk] gdk_frame_clock_flush_idle"); } if (!priv->in_paint_idle && @@ -254,7 +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"); + g_source_set_name_by_id (priv->paint_idle_id, "[gtk] gdk_frame_clock_paint_idle"); } } } diff --git a/gdk/quartz/gdkscreen-quartz.c b/gdk/quartz/gdkscreen-quartz.c index 303c603fcc..c1ab58518c 100644 --- a/gdk/quartz/gdkscreen-quartz.c +++ b/gdk/quartz/gdkscreen-quartz.c @@ -263,7 +263,7 @@ display_reconfiguration_callback (CGDirectDisplayID display, if (!screen->screen_changed_id) { screen->screen_changed_id = g_idle_add (screen_changed_idle, screen); - g_source_set_name_by_id (screen->screen_changed_id, "[gtk+] screen_changed_idle"); + g_source_set_name_by_id (screen->screen_changed_id, "[gtk] screen_changed_idle"); } } } diff --git a/gdk/wayland/gdkdevice-wayland.c b/gdk/wayland/gdkdevice-wayland.c index f991f55ff3..f1dab93f1b 100644 --- a/gdk/wayland/gdkdevice-wayland.c +++ b/gdk/wayland/gdkdevice-wayland.c @@ -466,7 +466,7 @@ gdk_wayland_device_update_surface_cursor (GdkDevice *device) id = g_timeout_add (next_image_delay, (GSourceFunc) gdk_wayland_device_update_surface_cursor, device); - g_source_set_name_by_id (id, "[gtk+] gdk_wayland_device_update_surface_cursor"); + g_source_set_name_by_id (id, "[gtk] gdk_wayland_device_update_surface_cursor"); pointer->cursor_timeout_id = id; } else @@ -2173,7 +2173,7 @@ deliver_key_event (GdkWaylandSeat *seat, timeout = (seat->repeat_deadline - now) / 1000L; seat->repeat_timer = g_timeout_add (timeout, keyboard_repeat, seat); - g_source_set_name_by_id (seat->repeat_timer, "[gtk+] keyboard_repeat"); + g_source_set_name_by_id (seat->repeat_timer, "[gtk] keyboard_repeat"); } static void diff --git a/gdk/win32/gdkdrag-win32.c b/gdk/win32/gdkdrag-win32.c index 5af6304124..d0593a0863 100644 --- a/gdk/win32/gdkdrag-win32.c +++ b/gdk/win32/gdkdrag-win32.c @@ -2190,7 +2190,7 @@ gdk_win32_drag_drop_done (GdkDrag *drag, id = g_timeout_add_full (G_PRIORITY_DEFAULT, 17, gdk_drag_anim_timeout, anim, (GDestroyNotify) gdk_drag_anim_destroy); - g_source_set_name_by_id (id, "[gtk+] gdk_drag_anim_timeout"); + g_source_set_name_by_id (id, "[gtk] gdk_drag_anim_timeout"); } static gboolean diff --git a/gdk/x11/gdkapplaunchcontext-x11.c b/gdk/x11/gdkapplaunchcontext-x11.c index bc66023fd6..58e8f380ef 100644 --- a/gdk/x11/gdkapplaunchcontext-x11.c +++ b/gdk/x11/gdkapplaunchcontext-x11.c @@ -216,7 +216,7 @@ startup_timeout (void *data) std->timeout_id = 0; else { std->timeout_id = g_timeout_add_seconds ((min_timeout + 500)/1000, startup_timeout, std); - g_source_set_name_by_id (std->timeout_id, "[gtk+] startup_timeout"); + g_source_set_name_by_id (std->timeout_id, "[gtk] startup_timeout"); } /* always remove this one, but we may have reinstalled another one. */ @@ -253,7 +253,7 @@ add_startup_timeout (GdkX11Screen *screen, if (data->timeout_id == 0) { data->timeout_id = g_timeout_add_seconds (STARTUP_TIMEOUT_LENGTH_SECONDS, startup_timeout, data); - g_source_set_name_by_id (data->timeout_id, "[gtk+] startup_timeout"); + g_source_set_name_by_id (data->timeout_id, "[gtk] startup_timeout"); } } diff --git a/gdk/x11/gdkasync.c b/gdk/x11/gdkasync.c index bf5f242b73..fc4d94eaf5 100644 --- a/gdk/x11/gdkasync.c +++ b/gdk/x11/gdkasync.c @@ -175,7 +175,7 @@ send_event_handler (Display *dpy, { guint id; id = g_idle_add (callback_idle, state); - g_source_set_name_by_id (id, "[gtk+] callback_idle"); + g_source_set_name_by_id (id, "[gtk] callback_idle"); } DeqAsyncHandler(state->dpy, &state->async); @@ -711,7 +711,7 @@ roundtrip_handler (Display *dpy, { guint id; id = g_idle_add (roundtrip_callback_idle, state); - g_source_set_name_by_id (id, "[gtk+] roundtrip_callback_idle"); + g_source_set_name_by_id (id, "[gtk] roundtrip_callback_idle"); } DeqAsyncHandler(state->dpy, &state->async); diff --git a/gdk/x11/gdkdrag-x11.c b/gdk/x11/gdkdrag-x11.c index 6e72ba890c..57fff0c696 100644 --- a/gdk/x11/gdkdrag-x11.c +++ b/gdk/x11/gdkdrag-x11.c @@ -1917,7 +1917,7 @@ gdk_x11_drag_drop_done (GdkDrag *drag, id = g_timeout_add_full (G_PRIORITY_DEFAULT, 17, gdk_drag_anim_timeout, anim, (GDestroyNotify) gdk_drag_anim_destroy); - g_source_set_name_by_id (id, "[gtk+] gdk_drag_anim_timeout"); + g_source_set_name_by_id (id, "[gtk] gdk_drag_anim_timeout"); } static gboolean