[gtk+] notify test: Don't test object relying on dbus connections
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] notify test: Don't test object relying on dbus connections
- Date: Fri, 8 May 2015 02:38:03 +0000 (UTC)
commit 9a7e69a990b709a79f28a8a17e74626aedb359ae
Author: Sjoerd Simons <sjoerd simons collabora co uk>
Date: Wed May 6 12:39:14 2015 +0200
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 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/testsuite/gtk/notify.c b/testsuite/gtk/notify.c
index 002c207..1ae3ab6 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]