summaryrefslogtreecommitdiff
path: root/gio/src/settings.ccg
diff options
context:
space:
mode:
Diffstat (limited to 'gio/src/settings.ccg')
-rw-r--r--gio/src/settings.ccg6
1 files changed, 3 insertions, 3 deletions
diff --git a/gio/src/settings.ccg b/gio/src/settings.ccg
index 03e48075..98b6ccd4 100644
--- a/gio/src/settings.ccg
+++ b/gio/src/settings.ccg
@@ -24,7 +24,7 @@ namespace Gio
void Settings::get_value(const Glib::ustring& key, Glib::VariantBase& value) const
{
- GVariant* const g_value = g_settings_get_value(const_cast<GSettings*>(gobj()), key.c_str());
+ const auto g_value = g_settings_get_value(const_cast<GSettings*>(gobj()), key.c_str());
if(!g_value)
return;
@@ -33,7 +33,7 @@ void Settings::get_value(const Glib::ustring& key, Glib::VariantBase& value) con
bool Settings::get_user_value(const Glib::ustring& key, Glib::VariantBase& value) const
{
- GVariant* const g_value = g_settings_get_user_value(const_cast<GSettings*>(gobj()), key.c_str());
+ const auto g_value = g_settings_get_user_value(const_cast<GSettings*>(gobj()), key.c_str());
if(!g_value)
return false;
@@ -43,7 +43,7 @@ bool Settings::get_user_value(const Glib::ustring& key, Glib::VariantBase& value
void Settings::get_default_value(const Glib::ustring& key, Glib::VariantBase& value) const
{
- GVariant* const g_value = g_settings_get_default_value(const_cast<GSettings*>(gobj()), key.c_str());
+ const auto g_value = g_settings_get_default_value(const_cast<GSettings*>(gobj()), key.c_str());
if(!g_value)
return;