Fix gsettings tool crash
authorMilan Bouchet-Valat <nalimilan@club.fr>
Sat, 19 Jun 2010 16:33:26 +0000 (18:33 +0200)
committerMilan Bouchet-Valat <nalimilan@club.fr>
Sat, 19 Jun 2010 16:33:26 +0000 (18:33 +0200)
commit62939f5e45cd102313285ec13f90c3b4763e6ca8
tree290c0758ab4bd5e8426048c6e4586319764d8ec9
parenta7689537605ade51b19be76baa3fba303527483d
Fix gsettings tool crash

When no path is provided for the schema, we have call
g_settings_new() instead of g_settings_new_with_path()
passing a NULL path.

This was crashing the tool on start since an assertion was
recently added to g_settings_new_with_path() to refuse NULL.
gio/gsettings-tool.c