Code cleanup
This commit is contained in:
parent
f4eb3d809b
commit
18e8197eff
|
@ -156,5 +156,5 @@ static void _on_clicked(gpointer data)
|
||||||
if((p = helper->config_get(helper->panel, "lock", "command")) != NULL)
|
if((p = helper->config_get(helper->panel, "lock", "command")) != NULL)
|
||||||
command = p;
|
command = p;
|
||||||
if(g_spawn_command_line_async(command, &error) != TRUE)
|
if(g_spawn_command_line_async(command, &error) != TRUE)
|
||||||
helper->error(NULL, error->message, 0);
|
helper->error(NULL, error->message, 1);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user