diff options
author | Ryan Lortie <desrt@desrt.ca> | 2011-03-31 12:44:40 +0530 |
---|---|---|
committer | Ryan Lortie <desrt@desrt.ca> | 2011-03-31 12:47:03 +0530 |
commit | 49fa69e05eb6d2a29fc1de8af93e65c4dd45ad72 (patch) | |
tree | 5ddd5a1fe969a994d2393e98c3693abbd89b58f0 /gio/gsettings.h | |
parent | e9ce8f23748c28e19393cb225aeb6f7deac2fa62 (diff) | |
download | glib-49fa69e05eb6d2a29fc1de8af93e65c4dd45ad72.tar.gz |
Add 'uint' convenience functions for GSettings
Without getting into a debate about the reasons why you may or may not
want to use unsigned integers, it's sufficient to note that people have
been using them and requesting this functionality.
Bug #641755.
Diffstat (limited to 'gio/gsettings.h')
-rw-r--r-- | gio/gsettings.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gio/gsettings.h b/gio/gsettings.h index a58756de2..8db2f7522 100644 --- a/gio/gsettings.h +++ b/gio/gsettings.h @@ -110,6 +110,11 @@ gint g_settings_get_int (GSettin gboolean g_settings_set_int (GSettings *settings, const gchar *key, gint value); +guint g_settings_get_uint (GSettings *settings, + const gchar *key); +gboolean g_settings_set_uint (GSettings *settings, + const gchar *key, + guint value); gchar * g_settings_get_string (GSettings *settings, const gchar *key); gboolean g_settings_set_string (GSettings *settings, |