[glib] Make g_settings_sync() a proper prototype.



commit 0766981a1e634b850bec602d0bea6bc255377edb
Author: Ryan Lortie <desrt desrt ca>
Date:   Thu Jun 17 16:56:09 2010 -0400

    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 c7df959..3f7d478 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 290f02a..f98ecc6 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:



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]