[glib] Fix warnings caused by an ifdeffed-out test case
- From: Dan Winship <danw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] Fix warnings caused by an ifdeffed-out test case
- Date: Wed, 4 Apr 2012 14:47:26 +0000 (UTC)
commit 47adef84da73e71a9ecafc56e8313997fb685394
Author: Dan Winship <danw gnome org>
Date: Wed Apr 4 10:47:04 2012 -0400
Fix warnings caused by an ifdeffed-out test case
gio/tests/gapplication.c | 17 +++++++++--------
1 files changed, 9 insertions(+), 8 deletions(-)
---
diff --git a/gio/tests/gapplication.c b/gio/tests/gapplication.c
index 659cf57..a80eb9b 100644
--- a/gio/tests/gapplication.c
+++ b/gio/tests/gapplication.c
@@ -115,6 +115,15 @@ basic (void)
}
+#if 0
+/* Now that we register non-unique apps on the bus we need to fix the
+ * following test not to assume that it's safe to create multiple instances
+ * of the same app in one process.
+ *
+ * See https://bugzilla.gnome.org/show_bug.cgi?id=647986 for the patch that
+ * introduced this problem.
+ */
+
static GApplication *recently_activated;
static GMainLoop *loop;
@@ -148,14 +157,6 @@ make_app (gboolean non_unique)
return app;
}
-#if 0
-Now that we register non-unique apps on the bus we need to fix the
-following test not to assume that it's safe to create multiple instances
-of the same app in one process.
-
-See https://bugzilla.gnome.org/show_bug.cgi?id=647986 for the patch that
-introduced this problem.
-
static void
test_nonunique (void)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]