summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2020-09-10 00:39:03 -0400
committerMatthias Clasen <mclasen@redhat.com>2020-09-10 00:39:03 -0400
commit93078e52c0a8167262877f73b2d4fe0ccd22b2bd (patch)
tree5346321c14df8fb3d24911a43875f011c6f86675 /tests
parentcee275980a1d911ee0e4e8ca824a04f116775167 (diff)
downloadgtk+-93078e52c0a8167262877f73b2d4fe0ccd22b2bd.tar.gz
gdk: Rename GdkSurfaceState to GdkToplevelState
That is what it is. Fixes: #2790
Diffstat (limited to 'tests')
-rw-r--r--tests/testgtk.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/tests/testgtk.c b/tests/testgtk.c
index 058fb0d79e..188ecb0554 100644
--- a/tests/testgtk.c
+++ b/tests/testgtk.c
@@ -4527,23 +4527,23 @@ surface_state_callback (GdkSurface *window,
GtkWidget *label)
{
char *msg;
- GdkSurfaceState new_state;
+ GdkToplevelState new_state;
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) ?
+ (new_state & GDK_TOPLEVEL_STATE_WITHDRAWN) ?
"withdrawn" : "not withdrawn", ", ",
- (new_state & GDK_SURFACE_STATE_MINIMIZED) ?
+ (new_state & GDK_TOPLEVEL_STATE_MINIMIZED) ?
"minimized" : "not minimized", ", ",
- (new_state & GDK_SURFACE_STATE_STICKY) ?
+ (new_state & GDK_TOPLEVEL_STATE_STICKY) ?
"sticky" : "not sticky", ", ",
- (new_state & GDK_SURFACE_STATE_MAXIMIZED) ?
+ (new_state & GDK_TOPLEVEL_STATE_MAXIMIZED) ?
"maximized" : "not maximized", ", ",
- (new_state & GDK_SURFACE_STATE_FULLSCREEN) ?
+ (new_state & GDK_TOPLEVEL_STATE_FULLSCREEN) ?
"fullscreen" : "not fullscreen", ", ",
- (new_state & GDK_SURFACE_STATE_ABOVE) ?
+ (new_state & GDK_TOPLEVEL_STATE_ABOVE) ?
"above" : "not above", ", ",
- (new_state & GDK_SURFACE_STATE_BELOW) ?
+ (new_state & GDK_TOPLEVEL_STATE_BELOW) ?
"below" : "not below", ", ",
NULL);