testsuite: Update for screen => display property changes
authorBenjamin Otte <otte@redhat.com>
Tue, 31 Oct 2017 18:00:56 +0000 (19:00 +0100)
committerBenjamin Otte <otte@redhat.com>
Tue, 31 Oct 2017 18:00:56 +0000 (19:00 +0100)
testsuite/gtk/defaultvalue.c
testsuite/gtk/object.c

index 698471e199d0e6ed83db28de569490b2b2f042b3..1be85556c32ba06168d29a7572d57bddbe457f80 100644 (file)
@@ -274,7 +274,7 @@ G_GNUC_END_IGNORE_DEPRECATIONS
         continue;
 
       if (g_type_is_a (type, GTK_TYPE_STYLE_CONTEXT) &&
-           strcmp (pspec->name, "screen") == 0)
+           strcmp (pspec->name, "display") == 0)
         continue;
 
       if (g_type_is_a (type, GTK_TYPE_TEXT_BUFFER) &&
@@ -317,7 +317,7 @@ G_GNUC_END_IGNORE_DEPRECATIONS
 
       if (g_type_is_a (type, GTK_TYPE_WIDGET) &&
          (strcmp (pspec->name, "name") == 0 ||
-          strcmp (pspec->name, "screen") == 0 ||
+          strcmp (pspec->name, "display") == 0 ||
           strcmp (pspec->name, "style") == 0))
        continue;
 
index 9a923e78f06d1ac9e38a2fbe3ba3e7c406a7151b..caad39a1f575903c512df3f1ef21f60b1da47e4b 100644 (file)
@@ -57,12 +57,12 @@ list_ignore_properties (gboolean buglist)
     { "GtkWidget",              "parent",               NULL, },                        /* needs working parent widget */
     { "GtkCList",               "selection-mode",       (void*) GTK_SELECTION_NONE, },
     { "GtkWidget",              "has-default",          (void*) TRUE, },                /* conflicts with toplevel-less widgets */
-    { "GtkWidget",              "screen",               NULL, },
+    { "GtkWidget",              "display",              (void*) MATCH_ANY_VALUE },
     { "GtkWindow",              "type-hint",            (void*) GDK_WINDOW_TYPE_HINT_DND, }, /* conflicts with ::visible=TRUE */
     { "GtkCellView",            "background",           (void*) "", },                  /* "" is not a valid background color */
     { "GtkColorButton",         "color",                (void*) NULL, },                /* not a valid boxed color */
     { "GtkInputDialog",         "has-separator",        (void*) MATCH_ANY_VALUE, },     /* property disabled */
-    { "GtkInvisible",           "screen",               (void*) MATCH_ANY_VALUE },      /* cannot create GdkScreen */
+    { "GtkInvisible",           "display",              (void*) MATCH_ANY_VALUE },      /* cannot create GdkScreen */
     { "GtkMessageDialog",       "has-separator",        (void*) MATCH_ANY_VALUE, },     /* property disabled */
     { "GtkColorSelectionDialog","has-separator",        (void*) MATCH_ANY_VALUE, },     /* property disabled */
     { "GtkColorSelection",      "child",                NULL, },
@@ -80,7 +80,7 @@ list_ignore_properties (gboolean buglist)
     { "GtkTextView",            "overwrite",            (void*) MATCH_ANY_VALUE },      /* needs text buffer */
     { "GtkToolbar",             "icon-size",            (void*) GTK_ICON_SIZE_INVALID },
     { "GtkTreeView",            "expander-column",      (void*) MATCH_ANY_VALUE },      /* assertion list != NULL */
-    { "GtkWindow",              "screen",               (void*) MATCH_ANY_VALUE },      /* cannot create GdkScreen */
+    { "GtkWindow",              "display",              (void*) MATCH_ANY_VALUE },
     { NULL, NULL, NULL }
   };
   /* properties suspected to be Gdk/Gtk+ bugs */