modules/input/gtkimcontextthai: Remove deprecated gdk_beep

Use gdk_display_beep instead of it.
This commit is contained in:
Yi-Soo An 2018-07-20 15:39:49 +09:00
parent 2c3a7c63ef
commit 5fb999010c

View File

@ -336,7 +336,8 @@ gtk_im_context_thai_filter_keypress (GtkIMContext *context,
if (is_reject)
{
/* reject character */
gdk_beep ();
GdkDisplay *display = gdk_display_get_default ();
gdk_display_beep (display);
}
return TRUE;
}