summaryrefslogtreecommitdiff
path: root/testsuite
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2016-10-25 09:54:37 +0200
committerAlexander Larsson <alexl@redhat.com>2016-10-25 09:54:37 +0200
commit70935f09526ba9f1d0b2f6af10e18712df73eda9 (patch)
tree5faccfc562bcf8dee34ebbd6424d86f31af236c5 /testsuite
parent639898000e8e1f8bf1a72b778978a2c8e30c2d9b (diff)
downloadgtk+-70935f09526ba9f1d0b2f6af10e18712df73eda9.tar.gz
Drop support for offscreen GdkWindowswip/alexl/no-offscreen
These complicate a lot of GdkWindow internals to implement features that not a lot of apps use, and will be better achieved using gsk. So, we just drop it all.
Diffstat (limited to 'testsuite')
-rw-r--r--testsuite/gtk/notify.c4
-rw-r--r--testsuite/gtk/treeview.c2
-rw-r--r--testsuite/reftests/label-sizing.ref.ui2
-rw-r--r--testsuite/reftests/label-sizing.ui2
4 files changed, 3 insertions, 7 deletions
diff --git a/testsuite/gtk/notify.c b/testsuite/gtk/notify.c
index c5dbd23d3c..65aba315b8 100644
--- a/testsuite/gtk/notify.c
+++ b/testsuite/gtk/notify.c
@@ -503,10 +503,6 @@ test_type (gconstpointer data)
if (type == GTK_TYPE_COLOR_BUTTON && pspec->owner_type == GTK_TYPE_BUTTON)
continue;
- /* GdkOffscreenWindow is missing many implementations */
- if (type == GTK_TYPE_OFFSCREEN_WINDOW)
- continue;
-
/* Too many special cases involving -set properties */
if (g_str_equal (g_type_name (pspec->owner_type), "GtkCellRendererText") ||
g_str_equal (g_type_name (pspec->owner_type), "GtkTextTag"))
diff --git a/testsuite/gtk/treeview.c b/testsuite/gtk/treeview.c
index b439dc3fe0..9488cd7c13 100644
--- a/testsuite/gtk/treeview.c
+++ b/testsuite/gtk/treeview.c
@@ -192,7 +192,7 @@ test_row_separator_height (void)
gtk_list_store_insert_with_values (store, &iter, 3, 0, "Row content", -1);
gtk_list_store_insert_with_values (store, &iter, 4, 0, "Row content", -1);
- window = gtk_offscreen_window_new ();
+ window = gtk_invisible_new ();
tree_view = gtk_tree_view_new_with_model (GTK_TREE_MODEL (store));
gtk_tree_view_set_row_separator_func (GTK_TREE_VIEW (tree_view),
diff --git a/testsuite/reftests/label-sizing.ref.ui b/testsuite/reftests/label-sizing.ref.ui
index 3289e15569..5baf8f2914 100644
--- a/testsuite/reftests/label-sizing.ref.ui
+++ b/testsuite/reftests/label-sizing.ref.ui
@@ -1,7 +1,7 @@
<?xml version="1.0"?>
<interface>
<!-- interface-requires gtk+ 3.0 -->
- <object class="GtkOffscreenWindow" id="window1">
+ <object class="GtkWindow" id="window1">
<property name="can_focus">False</property>
<property name="type">popup</property>
<signal name="realize" handler="reftest:set_default_direction_ltr"/>
diff --git a/testsuite/reftests/label-sizing.ui b/testsuite/reftests/label-sizing.ui
index 83b28627b8..2a1c839ab7 100644
--- a/testsuite/reftests/label-sizing.ui
+++ b/testsuite/reftests/label-sizing.ui
@@ -1,7 +1,7 @@
<?xml version="1.0"?>
<interface>
<!-- interface-requires gtk+ 3.0 -->
- <object class="GtkOffscreenWindow" id="window1">
+ <object class="GtkWindow" id="window1">
<property name="can_focus">False</property>
<property name="type">popup</property>
<signal name="realize" handler="reftest:set_default_direction_ltr"/>