diff options
author | Sjoerd Simons <sjoerd.simons@collabora.co.uk> | 2015-05-06 12:39:14 +0200 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2015-05-07 22:37:55 -0400 |
commit | 9a7e69a990b709a79f28a8a17e74626aedb359ae (patch) | |
tree | 57c0d60312a0e88b9737e82aa9c254849ac8ca1a /testsuite/gtk | |
parent | 798789ee90f7db775bd32f6f7c9d162f00953d42 (diff) | |
download | gtk+-9a7e69a990b709a79f28a8a17e74626aedb359ae.tar.gz |
notify test: Don't test object relying on dbus connections
Don't test types that rely on a pre-existing dbus session bus.
https://bugzilla.gnome.org/show_bug.cgi?id=749009
Diffstat (limited to 'testsuite/gtk')
-rw-r--r-- | 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 002c207b64..1ae3ab6fc2 100644 --- a/testsuite/gtk/notify.c +++ b/testsuite/gtk/notify.c @@ -403,6 +403,10 @@ test_type (gconstpointer data) g_type_is_a (type, GTK_TYPE_FILE_CHOOSER_WIDGET) || g_type_is_a (type, GTK_TYPE_PLACES_SIDEBAR)) return; + + /* These rely on a d-bus session bus */ + if (g_type_is_a (type, GTK_TYPE_MOUNT_OPERATION)) + return; klass = g_type_class_ref (type); |