From 0766981a1e634b850bec602d0bea6bc255377edb Mon Sep 17 00:00:00 2001 From: Ryan Lortie Date: Thu, 17 Jun 2010 16:56:09 -0400 Subject: [PATCH] Make g_settings_sync() a proper prototype. --- gio/gsettings-tool.c | 2 +- gio/gsettings.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gio/gsettings-tool.c b/gio/gsettings-tool.c index c7df95910..3f7d478ab 100644 --- a/gio/gsettings-tool.c +++ b/gio/gsettings-tool.c @@ -213,7 +213,7 @@ handle_set (gint *argc, goto out; } - g_settings_sync (NULL); + g_settings_sync (); ret = 0; out: diff --git a/gio/gsettings.h b/gio/gsettings.h index 290f02a38..f98ecc6d0 100644 --- a/gio/gsettings.h +++ b/gio/gsettings.h @@ -134,7 +134,7 @@ void g_settings_delay (GSettin void g_settings_apply (GSettings *settings); void g_settings_revert (GSettings *settings); gboolean g_settings_get_has_unapplied (GSettings *settings); -void g_settings_sync (); +void g_settings_sync (void); /** * GSettingsBindSetMapping: