[gtk+/gtk-3-16] 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+/gtk-3-16] notify test: Don't test object relying on dbus	connections
- Date: Mon, 11 May 2015 18:25:53 +0000 (UTC)
commit 103346c780ec00ecd55d2f624ab52e5ca8b38f44
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]