mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-26 13:41:07 +00:00
testgtk: Stop using gdk_surface_get_state
This commit is contained in:
parent
703d69692f
commit
8e0ad72875
@ -4736,7 +4736,7 @@ surface_state_callback (GdkSurface *window,
|
||||
gchar *msg;
|
||||
GdkSurfaceState new_state;
|
||||
|
||||
new_state = gdk_surface_get_state (window);
|
||||
new_state = gdk_toplevel_get_state (GDK_TOPLEVEL (window));
|
||||
msg = g_strconcat ((const char *)g_object_get_data (G_OBJECT (label), "title"), ": ",
|
||||
(new_state & GDK_SURFACE_STATE_WITHDRAWN) ?
|
||||
"withdrawn" : "not withdrawn", ", ",
|
||||
|
Loading…
Reference in New Issue
Block a user