[glibmm] Gio::Settings: Make get_has_unapplied() const.
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glibmm] Gio::Settings: Make get_has_unapplied() const.
- Date: Tue, 1 Jun 2010 14:44:10 +0000 (UTC)
commit 8d1a92b13bf23eb2ed23b9475b22821c2ead00d3
Author: Murray Cumming <murrayc murrayc com>
Date: Tue Jun 1 15:56:35 2010 +0200
Gio::Settings: Make get_has_unapplied() const.
* gio/src/settings.hg: get_has_unapplied(): Make this const.
ChangeLog | 16 +++++++++++-----
gio/src/settings.hg | 5 ++++-
2 files changed, 15 insertions(+), 6 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index fe511a4..05d061d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2010-06-01 Murray Cumming <murrayc murrayc com>
+
+ Gio::Settings: Make get_has_unapplied() const.
+
+ * gio/src/settings.hg: get_has_unapplied(): Make this const.
+
2010-05-31 José Alburquerque <jaalburqu svn gnome org>
Wrapped new glib-2.26 methods.
@@ -95,16 +101,16 @@
leaves trailing single quotes for some reason).
Fixes Bug #603930 (Jonatan Olofsson).
-
+
2010-05-03 Murray Cumming <murrayc murrayc-x61>
Documentation: Add more links to main page, and mention giomm.
-
- * glib/glibmm.h: Add more doxggen links to groups and classes, based on
+
+ * glib/glibmm.h: Add more doxggen links to groups and classes, based on
http://www.gtkmm.org/documentation.shtml and a look at the classes list.
- Mention giomm features and add giomm to the pkg-config calls and mention
+ Mention giomm features and add giomm to the pkg-config calls and mention
giomm.h
-
+
2010-04-29 José Alburquerque <jaalburqu svn gnome org>
gio_docs.xml: Regenerate with the new doc extraction tool.
diff --git a/gio/src/settings.hg b/gio/src/settings.hg
index b21c7cd..51522f7 100644
--- a/gio/src/settings.hg
+++ b/gio/src/settings.hg
@@ -60,6 +60,9 @@ public:
_WRAP_METHOD(double get_double(const Glib::ustring& key) const, g_settings_get_double)
_WRAP_METHOD(void set_double(const Glib::ustring& key, double value), g_settings_set_double)
+
+ //TODO: Rename strv to string_array() in these methods? murrayc
+
/** Gets the value that is stored at key in the settings.
* It is a programmer error to pass a @a key that isn't valid for settings or
* is not of type 'string array'.
@@ -97,7 +100,7 @@ public:
_WRAP_METHOD(void delay(), g_settings_delay)
_WRAP_METHOD(void apply(), g_settings_apply)
_WRAP_METHOD(void revert(), g_settings_revert)
- _WRAP_METHOD(bool get_has_unapplied(), g_settings_get_has_unapplied)
+ _WRAP_METHOD(bool get_has_unapplied() const, g_settings_get_has_unapplied)
#m4 _CONVERSION(`Glib::ObjectBase*',`gpointer',(gpointer)$3->gobj())
_WRAP_METHOD(void bind(const Glib::ustring& key, Glib::ObjectBase* object, const Glib::ustring& property, SettingsBindFlags flags=SETTINGS_BIND_DEFAULT), g_settings_bind)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]