Adjust HAVE_UNIQUE define to resolve a compiler warning
This commit is contained in:
parent
0f5e13e706
commit
35cdff552d
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue