mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-04 21:12:47 -05:00
Use gdk_display_beep() in place of obsolete gdk_beep().
Except in GTK1 (which doesn't have the former), via a gtkcompat.h workaround. Up-to-date GTK3 has deprecated gdk_beep(), causing build failures due to the default -Werror setting.
This commit is contained in:
@ -66,6 +66,7 @@
|
||||
#define gtk_adjustment_set_step_increment(a, val) ((a)->step_increment = (val))
|
||||
#define gtk_adjustment_get_value(a) ((a)->value)
|
||||
#define gtk_selection_data_get_selection(a) ((a)->selection)
|
||||
#define gdk_display_beep(disp) gdk_beep()
|
||||
|
||||
#define gtk_widget_set_has_window(w, b) \
|
||||
gtk1_widget_set_unset_flag(w, GTK_NO_WINDOW, !(b))
|
||||
|
Reference in New Issue
Block a user