im context thai: Stop using gdk_beep

It is about to go away.
This commit is contained in:
Matthias Clasen 2017-11-16 22:09:44 -05:00
parent ce13dbba10
commit 9d9674a7ca

View File

@ -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;
}