ref: 113aad8b3e341833dcb6886b71e22f733e2ec63c
parent: 31384ca9c04a614fc0f517a39b41c02412ef98d5
author: Simon Tatham <anakin@pobox.com>
date: Wed May 9 12:08:46 EDT 2018
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.)
--- a/gtk.c
+++ b/gtk.c
@@ -2152,7 +2152,7 @@
if (text) {
write_clip(fe, text);
} else {
- gdk_beep();
+ gdk_display_beep(gdk_display_get_default());
}
}