Adjust HAVE_UNIQUE define to resolve a compiler warning

This commit is contained in:
Christian Dywan 2009-06-06 18:52:29 +02:00
parent 0f5e13e706
commit 35cdff552d

View 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