mirror of
https://github.com/brl/mutter.git
synced 2024-11-22 16:10:41 -05:00
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:
parent
ad371a4435
commit
0fa1581699
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user