From: Christian Dywan Date: Sat, 6 Jun 2009 16:52:29 +0000 (+0200) Subject: Adjust HAVE_UNIQUE define to resolve a compiler warning X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=35cdff552d825496c24710aedf78bee8b076d81b;p=midori Adjust HAVE_UNIQUE define to resolve a compiler warning --- diff --git a/midori/midori-app.c b/midori/midori-app.c index f9a430c0..c3d5a175 100644 --- a/midori/midori-app.c +++ b/midori/midori-app.c @@ -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