summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2017-11-16 22:09:44 -0500
committerMatthias Clasen <mclasen@redhat.com>2017-11-16 22:09:44 -0500
commit9d9674a7ca91947edfb79eea9d58c2840925708c (patch)
tree0432e09381dadbdedb144dd79ea07393b60145b5 /modules
parentce13dbba1061c8acebe8cb0ba2f10801574e02ae (diff)
downloadgtk+-9d9674a7ca91947edfb79eea9d58c2840925708c.tar.gz
im context thai: Stop using gdk_beep
It is about to go away.
Diffstat (limited to 'modules')
-rw-r--r--modules/input/gtkimcontextthai.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/input/gtkimcontextthai.c b/modules/input/gtkimcontextthai.c
index 82753333bf..3c8aa752df 100644
--- a/modules/input/gtkimcontextthai.c
+++ b/modules/input/gtkimcontextthai.c
@@ -340,7 +340,7 @@ gtk_im_context_thai_filter_keypress (GtkIMContext *context,
if (is_reject)
{
/* reject character */
- gdk_beep ();
+ gdk_display_beep (gdk_event_get_display ((GdkEvent*)event));
}
return TRUE;
}