summaryrefslogtreecommitdiff
path: root/gio/gsettings.h
diff options
context:
space:
mode:
authorRyan Lortie <desrt@desrt.ca>2011-11-15 12:38:01 +0000
committerRyan Lortie <desrt@desrt.ca>2011-11-17 14:03:39 +0000
commit1e700720657aa75b0ac4d2457b2ee2f216477c87 (patch)
treec430306516a89e7c1d27115827e37fa4b08ed310 /gio/gsettings.h
parent1c8ae819edf2f2be4e4ad89dee534309ff62ef75 (diff)
downloadglib-1e700720657aa75b0ac4d2457b2ee2f216477c87.tar.gz
Add g_settings_new_full() taking GSettingsSchema
Diffstat (limited to 'gio/gsettings.h')
-rw-r--r--gio/gsettings.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gio/gsettings.h b/gio/gsettings.h
index 8db2f7522..d06a60ea4 100644
--- a/gio/gsettings.h
+++ b/gio/gsettings.h
@@ -26,6 +26,7 @@
#ifndef __G_SETTINGS_H__
#define __G_SETTINGS_H__
+#include <gio/gsettingsschema.h>
#include <gio/giotypes.h>
G_BEGIN_DECLS
@@ -80,6 +81,9 @@ GSettings * g_settings_new_with_backend (const g
GSettings * g_settings_new_with_backend_and_path (const gchar *schema,
GSettingsBackend *backend,
const gchar *path);
+GSettings * g_settings_new_full (GSettingsSchema *schema,
+ GSettingsBackend *backend,
+ const gchar *path);
gchar ** g_settings_list_children (GSettings *settings);
gchar ** g_settings_list_keys (GSettings *settings);
GVariant * g_settings_get_range (GSettings *settings,