Skip to content
Snippets Groups Projects
Commit 10eaaf8c authored by Romain Bouvier's avatar Romain Bouvier Committed by Ali Abdallah
Browse files

Bug #15960: Add some missing xfconf_shutdown() in xfconf-query

parent 9bee4615
No related branches found
No related tags found
No related merge requests found
......@@ -356,7 +356,10 @@ main(int argc, char **argv)
if(G_VALUE_HOLDS_BOOLEAN(&value))
{
if(xfconf_channel_set_bool(channel, property_name, !g_value_get_boolean(&value)))
{
xfconf_shutdown ();
return EXIT_SUCCESS;
}
else
xfconf_query_printerr(_("Failed to set property"));
}
......@@ -414,6 +417,7 @@ main(int argc, char **argv)
if(!prop_exists && (!type || !type[0]))
{
xfconf_query_printerr(_("When creating a new property, the value type must be specified"));
xfconf_shutdown ();
return EXIT_FAILURE;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment