[gtkmm] Actionable: Const correction.
- From: Josà Alburquerque <jaalburqu src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtkmm] Actionable: Const correction.
- Date: Mon, 27 Feb 2012 00:48:24 +0000 (UTC)
commit 0a7b837d9d928ba08b6e758480b97a8e3a862422
Author: Josà Alburquerque <jaalburqu svn gnome org>
Date: Sun Feb 26 19:47:29 2012 -0500
Actionable: Const correction.
* gtk/src/actionable.hg (get_action_target_value): Add a constant
version of this method.
ChangeLog | 7 +++++++
gtk/src/actionable.hg | 3 +++
2 files changed, 10 insertions(+), 0 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 9b86d7c..28e1447 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
2012-02-26 Josà Alburquerque <jaalburquerque gmail com>
+ Actionable: Const correction.
+
+ * gtk/src/actionable.hg (get_action_target_value): Add a constant
+ version of this method.
+
+2012-02-26 Josà Alburquerque <jaalburquerque gmail com>
+
AboutDialog: get_authors(): Correct the 'const gchar**' conversion.
* gtk/src/aboutdialog.hg (get_authors): Use 'const gchar* const*' as
diff --git a/gtk/src/actionable.hg b/gtk/src/actionable.hg
index 6018909..751aa83 100644
--- a/gtk/src/actionable.hg
+++ b/gtk/src/actionable.hg
@@ -55,7 +55,10 @@ class Actionable : public Glib::Interface
public:
_WRAP_METHOD(Glib::ustring get_action_name() const, gtk_actionable_get_action_name)
_WRAP_METHOD(void set_action_name(const Glib::ustring& action_name), gtk_actionable_set_action_name)
+
_WRAP_METHOD(Glib::VariantBase get_action_target_value(), gtk_actionable_get_action_target_value)
+ _WRAP_METHOD(const Glib::VariantBase get_action_target_value() const, gtk_actionable_get_action_target_value, constversion)
+
_WRAP_METHOD(void set_action_target_value(const Glib::VariantBase& target_value), gtk_actionable_set_action_target_value)
//TODO: _WRAP_METHOD(void set_action_target(const char* format_string, ...), gtk_actionable_set_action_target)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]