From 103346c780ec00ecd55d2f624ab52e5ca8b38f44 Mon Sep 17 00:00:00 2001 From: Sjoerd Simons Date: Wed, 6 May 2015 12:39:14 +0200 Subject: [PATCH] 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 --- testsuite/gtk/notify.c | 4 ++++ 1 file changed, 4 insertions(+) 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);