summaryrefslogtreecommitdiff
path: root/gio/src/settings.ccg
diff options
context:
space:
mode:
authorMurray Cumming <murrayc@murrayc.com>2010-06-06 14:17:03 +0200
committerMurray Cumming <murrayc@murrayc.com>2010-06-06 14:20:47 +0200
commitbd4605744783c18e43c74d29a9a691d638307975 (patch)
tree3655c404f1135b89cf0185b59a41f6dc97b2fc57 /gio/src/settings.ccg
parentab8bbe35087e133d2c347612b6b18943675fd06e (diff)
downloadglibmm-bd4605744783c18e43c74d29a9a691d638307975.tar.gz
Settings: Fix the build with the latest glib from git master.
* gio/src/gio_methods.defs: Remove extra length parameters, removed from the C API. This is a generated file, but this change is simple. * gio/src/settings.[hg|ccg]: get_string_array(), set_string_array(): Remove the length parameter, and just use _WRAP_METHOD() now that it is simple enough for that. * tools/m4/convert_gio.m4: Add a necessary conversion. * glib/src/glib_functions.defs: Remove some bad unused definitions that were causing annoying warnings.
Diffstat (limited to 'gio/src/settings.ccg')
-rw-r--r--gio/src/settings.ccg14
1 files changed, 0 insertions, 14 deletions
diff --git a/gio/src/settings.ccg b/gio/src/settings.ccg
index 479bfc04..6fceed57 100644
--- a/gio/src/settings.ccg
+++ b/gio/src/settings.ccg
@@ -9,20 +9,6 @@ Glib::RefPtr<Settings> Settings::create_with_context(const Glib::ustring& schema
return Glib::RefPtr<Settings>(new Settings(g_settings_new_with_context(schema.c_str(), context.c_str())));
}
-Glib::ArrayHandle<Glib::ustring>
- Settings::get_string_array(const Glib::ustring& key) const
-{
- gchar** result = g_settings_get_strv(const_cast<GSettings*>(gobj()),
- key.c_str());
- return Glib::ArrayHandle<Glib::ustring>(result, Glib::OWNERSHIP_DEEP);
-}
-
-bool Settings::set_string_array(const Glib::ustring& key,
- const Glib::ArrayHandle<Glib::ustring>& value)
-{
- return g_settings_set_strv(gobj(), key.c_str(), value.data());
-}
-
void Settings::bind(const Glib::ustring& key,
const Glib::PropertyProxy_Base& property_proxy,
SettingsBindFlags flags)