Stop using deprecated gdk_beep().

Switched over to gdk_display_beep(), which should work in any GTK2 or
GTK3 environment. (This code base doesn't care about GTK1 any more.)
This commit is contained in:
Simon Tatham
2018-05-09 16:08:46 +01:00
parent 31384ca9c0
commit 113aad8b3e

2
gtk.c
View File

@ -2152,7 +2152,7 @@ static void menu_copy_event(GtkMenuItem *menuitem, gpointer data)
if (text) {
write_clip(fe, text);
} else {
gdk_beep();
gdk_display_beep(gdk_display_get_default());
}
}