[gtk/present-toplevel-2: 12/59] testgtk: Stop using gdk_surface_get_state
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/present-toplevel-2: 12/59] testgtk: Stop using gdk_surface_get_state
- Date: Thu, 5 Mar 2020 18:17:37 +0000 (UTC)
commit 7b72f00d92d2963f8e7a988da1f7abd9c3227723
Author: Matthias Clasen <mclasen redhat com>
Date: Sun Mar 1 12:41:25 2020 -0500
testgtk: Stop using gdk_surface_get_state
tests/testgtk.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/tests/testgtk.c b/tests/testgtk.c
index 77fa65e7f0..d160d68073 100644
--- a/tests/testgtk.c
+++ b/tests/testgtk.c
@@ -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", ", ",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]