frames/window-tracker: Stop using deprecated API

GTK deprecated gtk_widget_show() in favor of gtk_widget_set_visible()
and gtk_window_present().

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2783>
This commit is contained in:
Florian Müllner 2023-01-04 14:18:27 +01:00 committed by Marge Bot
parent ad371a4435
commit 0fa1581699

View File

@ -155,7 +155,7 @@ set_up_frame (MetaWindowTracker *window_tracker,
GUINT_TO_POINTER (xframe), frame);
g_hash_table_insert (window_tracker->client_windows,
GUINT_TO_POINTER (xwindow), frame);
gtk_widget_show (GTK_WIDGET (frame));
gtk_widget_set_visible (frame, TRUE);
}
static void