summaryrefslogtreecommitdiff
path: root/gio/src/menuattributeiter.hg
diff options
context:
space:
mode:
authorMurray Cumming <murrayc@murrayc.com>2016-12-02 12:04:50 +0100
committerMurray Cumming <murrayc@murrayc.com>2016-12-02 12:04:50 +0100
commitfa36b18cb435cda0edd7bba95366f30ca7129337 (patch)
tree714f5350c458734f5529d8d78fa308270154f7a6 /gio/src/menuattributeiter.hg
parentafee70151c7d57829ec38b08243270b73b499d9b (diff)
downloadglibmm-fa36b18cb435cda0edd7bba95366f30ca7129337.tar.gz
MenuAttributeIter: get_value(): Const correction.
We can fix this now that we can break ABI.
Diffstat (limited to 'gio/src/menuattributeiter.hg')
-rw-r--r--gio/src/menuattributeiter.hg5
1 files changed, 1 insertions, 4 deletions
diff --git a/gio/src/menuattributeiter.hg b/gio/src/menuattributeiter.hg
index c66b45ef..0e2c9410 100644
--- a/gio/src/menuattributeiter.hg
+++ b/gio/src/menuattributeiter.hg
@@ -39,10 +39,7 @@ public:
_WRAP_METHOD(Glib::ustring get_name() const, g_menu_attribute_iter_get_name)
- //TODO: When we can break ABI, remove the method overload and just make it const.
- //It makes no sense to return const by value.
- _WRAP_METHOD(Glib::VariantBase get_value(), g_menu_attribute_iter_get_value)
- _WRAP_METHOD(const Glib::VariantBase get_value() const, g_menu_attribute_iter_get_value, constversion)
+ _WRAP_METHOD(Glib::VariantBase get_value() const, g_menu_attribute_iter_get_value)
_WRAP_METHOD(bool next(), g_menu_attribute_iter_next)
};