mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-09-27 17:52:58 +02:00
Fix warnings caused by an ifdeffed-out test case
This commit is contained in:
@@ -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 GApplication *recently_activated;
|
||||||
static GMainLoop *loop;
|
static GMainLoop *loop;
|
||||||
|
|
||||||
@@ -148,14 +157,6 @@ make_app (gboolean non_unique)
|
|||||||
return app;
|
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
|
static void
|
||||||
test_nonunique (void)
|
test_nonunique (void)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user