diff options
author | Victor Kareh <[email protected]> | 2025-07-27 16:07:59 -0400 |
---|---|---|
committer | GitHub <[email protected]> | 2025-07-27 20:07:59 +0000 |
commit | 87aa5feb8790168eb7b2bc890938353116d26594 (patch) | |
tree | 69080ca256e1d85570f74b3dc945e801e398780b /doc/how-to-get-focus-right.txt | |
parent | 797b4dc01895b9936c68aad9f8b4e8b7b24502ab (diff) | |
download | marco-87aa5feb8790168eb7b2bc890938353116d26594.tar.bz2 marco-87aa5feb8790168eb7b2bc890938353116d26594.tar.xz |
Fix GTK deprecations (#798)
* menu: replace gtk_menu_popup() with gtk_menu_popup_at_rect()
Replace deprecated gtk_menu_popup() with gtk_menu_popup_at_rect(). This
provides the same menu positioning calculation while eliminating
deprecation warnings.
* ui: replace gtk_widget_get_realized() with gtk_widget_get_mapped()
Replace deprecated gtk_widget_get_realized() with
gtk_widget_get_mapped(). Since mapped widgets are guaranteed to be
realized, and we only care about widget visibility, this change
eliminates deprecation warnings while maintaining the same
functionality.
* frames: replace gdk_window_process_all_updates() with gdk_display_flush()
Replace deprecated gdk_window_process_all_updates() with
gdk_display_flush(). Both functions ensure pending updates are
processed, but gdk_display_flush is more general for all display
requests.
Diffstat (limited to 'doc/how-to-get-focus-right.txt')
0 files changed, 0 insertions, 0 deletions