Skip to content

app-auth-prompt: avoid redundant condition

ZenWalker requested to merge sc0w/phosh:appauthprompt_redundant into main

g_object_set_data_full (G_OBJECT (action_row), "option-id", g_strdup (state ? "true" : "false"), g_free);

This line works with true or false, so, the previous condition if (state) has no sense

Merge request reports