]> spindle.queued.net Git - midori/commitdiff
Adjust HAVE_UNIQUE define to resolve a compiler warning
authorChristian Dywan <christian@twotoasts.de>
Sat, 6 Jun 2009 16:52:29 +0000 (18:52 +0200)
committerChristian Dywan <christian@twotoasts.de>
Sat, 6 Jun 2009 16:52:29 +0000 (18:52 +0200)
midori/midori-app.c

index f9a430c02058d978a5352d2a38d6acb2ff70bb0b..c3d5a175adae7fbb2590dabc32c070f4bffe07a7 100644 (file)
@@ -673,9 +673,9 @@ midori_app_instance_is_running (MidoriApp* app)
 {
     g_return_val_if_fail (MIDORI_IS_APP (app), FALSE);
 
-    #if HAVE_UNIQUE
     if (!app->instance)
         app->instance = midori_app_create_instance (app, app->name);
+    #if HAVE_UNIQUE
     if (app->instance)
         return unique_app_is_running (app->instance);
     #endif