[gtkmm] AboutDialog: get_authors(): Correct the 'const gchar**' conversion.
- From: Josà Alburquerque <jaalburqu src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtkmm] AboutDialog: get_authors(): Correct the 'const gchar**' conversion.
- Date: Mon, 27 Feb 2012 00:37:32 +0000 (UTC)
commit 819a15235fd91c26388373c1a17c5eac0dac9d37
Author: Josà Alburquerque <jaalburqu svn gnome org>
Date: Sun Feb 26 19:36:41 2012 -0500
AboutDialog: get_authors(): Correct the 'const gchar**' conversion.
* gtk/src/aboutdialog.hg (get_authors): Use 'const gchar* const*' as
the type from which to convert to std::vector<Glib::ustring>' because
that is the type that some of the gtk+ getter functions now return.
ChangeLog | 8 ++++++++
gtk/src/aboutdialog.hg | 2 +-
2 files changed, 9 insertions(+), 1 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 5d914b6..9b86d7c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,13 @@
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
+ the type from which to convert to std::vector<Glib::ustring>' because
+ that is the type that some of the gtk+ getter functions now return.
+
+2012-02-26 Josà Alburquerque <jaalburquerque gmail com>
+
Add the Actionable interface.
* tools/extra_defs_gen/generate_defs_gtk.cc: Add the GtkActionable
diff --git a/gtk/src/aboutdialog.hg b/gtk/src/aboutdialog.hg
index 769bad0..d47b50f 100644
--- a/gtk/src/aboutdialog.hg
+++ b/gtk/src/aboutdialog.hg
@@ -78,7 +78,7 @@ public:
_WRAP_METHOD(Glib::ustring get_website_label() const, gtk_about_dialog_get_website_label)
_WRAP_METHOD(void set_website_label(const Glib::ustring& website_label), gtk_about_dialog_set_website_label)
-#m4 _CONVERSION(`const gchar**',`std::vector<Glib::ustring>',`Glib::ArrayHandler<Glib::ustring>::array_to_vector($3, Glib::OWNERSHIP_NONE)')
+#m4 _CONVERSION(`const gchar* const*',`std::vector<Glib::ustring>',`Glib::ArrayHandler<Glib::ustring>::array_to_vector($3, Glib::OWNERSHIP_NONE)')
_WRAP_METHOD(std::vector<Glib::ustring> get_authors() const, gtk_about_dialog_get_authors)
#m4 _CONVERSION(`const std::vector<Glib::ustring>&',`const gchar**',`Glib::ArrayHandler<Glib::ustring>::vector_to_array($3).data ()')
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]