summaryrefslogtreecommitdiff
path: root/modules/input
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2013-10-22 15:43:43 +0200
committerBastien Nocera <hadess@hadess.net>2013-10-23 13:31:18 +0200
commit438cd857c49242244dda2923ac447f36464b9e72 (patch)
tree9b583fc07a430a739e80d62c73edede9ad019602 /modules/input
parentdcc0fd222e78372ce49a8722420ccc7e9e022cdd (diff)
downloadgtk+-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 'modules/input')
-rw-r--r--modules/input/gtkimcontextmultipress.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/input/gtkimcontextmultipress.c b/modules/input/gtkimcontextmultipress.c
index d22707ba3d..9cfe0289af 100644
--- a/modules/input/gtkimcontextmultipress.c
+++ b/modules/input/gtkimcontextmultipress.c
@@ -272,6 +272,7 @@ vfunc_filter_keypress (GtkIMContext *context, GdkEventKey *event)
multipress_context->timeout_id =
g_timeout_add_seconds (AUTOMATIC_COMPOSE_TIMEOUT,
&on_timeout, multipress_context);
+ g_source_set_name_by_id (multipress_context->timeout_id, "[gtk+] on_timeout");
return TRUE; /* key handled */
}