[gtk+] notify test: Exclude a few new properties
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] notify test: Exclude a few new properties
- Date: Mon, 24 Nov 2014 01:33:43 +0000 (UTC)
commit a09ff50a1d0c205c38327c0b67dad0234c3e903a
Author: Matthias Clasen <mclasen redhat com>
Date: Sun Nov 23 18:29:04 2014 -0500
notify test: Exclude a few new properties
The button properties don't make sense on GtkModelButton (indicating
that GtkModelButton should really not be a GtkButton subclass).
testsuite/gtk/notify.c | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/testsuite/gtk/notify.c b/testsuite/gtk/notify.c
index 1ff660c..2a2e155 100644
--- a/testsuite/gtk/notify.c
+++ b/testsuite/gtk/notify.c
@@ -602,6 +602,10 @@ test_type (gconstpointer data)
g_str_equal (pspec->name, "visible-child-name"))
continue;
+ if (pspec->owner_type == GTK_TYPE_POPOVER_MENU &&
+ g_str_equal (pspec->name, "visible-submenu"))
+ continue;
+
if (pspec->owner_type == GTK_TYPE_TEXT_VIEW &&
g_str_equal (pspec->name, "im-module"))
continue;
@@ -627,6 +631,10 @@ test_type (gconstpointer data)
g_str_equal (pspec->name, "use-header-bar"))
continue;
+ if (type == GTK_TYPE_MODEL_BUTTON &&
+ pspec->owner_type == GTK_TYPE_BUTTON)
+ continue;
+
if (g_test_verbose ())
g_print ("Property %s.%s\n", g_type_name (pspec->owner_type), pspec->name);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]