From 9d9674a7ca91947edfb79eea9d58c2840925708c Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Thu, 16 Nov 2017 22:09:44 -0500 Subject: [PATCH] im context thai: Stop using gdk_beep It is about to go away. --- modules/input/gtkimcontextthai.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }