[gtk+] Skip GtkShortcutLabel::accelerator in notify test
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Skip GtkShortcutLabel::accelerator in notify test
- Date: Wed, 3 Aug 2016 04:00:06 +0000 (UTC)
commit 80d329a3e70fdba725e707ee663fe16d8a0ad3a7
Author: Matthias Clasen <mclasen redhat com>
Date: Tue Aug 2 23:59:34 2016 -0400
Skip GtkShortcutLabel::accelerator in notify test
This property is not freely settable, since the string
gets parsed.
testsuite/gtk/notify.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/testsuite/gtk/notify.c b/testsuite/gtk/notify.c
index c289c46..1970e00 100644
--- a/testsuite/gtk/notify.c
+++ b/testsuite/gtk/notify.c
@@ -667,6 +667,10 @@ test_type (gconstpointer data)
g_str_equal (pspec->name, "accelerator"))
continue;
+ if (g_type_is_a (type, GTK_TYPE_SHORTCUT_LABEL) &&
+ g_str_equal (pspec->name, "accelerator"))
+ continue;
+
if (g_type_is_a (type, GTK_TYPE_FONT_CHOOSER) &&
g_str_equal (pspec->name, "font"))
continue;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]