modules/input/gtkimcontextthai: Remove deprecated gdk_beep
Use gdk_display_beep instead of it.
This commit is contained in:
parent
2c3a7c63ef
commit
5fb999010c
@ -336,7 +336,8 @@ gtk_im_context_thai_filter_keypress (GtkIMContext *context,
|
|||||||
if (is_reject)
|
if (is_reject)
|
||||||
{
|
{
|
||||||
/* reject character */
|
/* reject character */
|
||||||
gdk_beep ();
|
GdkDisplay *display = gdk_display_get_default ();
|
||||||
|
gdk_display_beep (display);
|
||||||
}
|
}
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user