[gtkmm] Gtk::TextTagTable: Let add() return bool



commit 4f8e12311e87d776d48b3ad7f363cf1520897d6f
Author: Kjell Ahlstedt <kjellahlstedt gmail com>
Date:   Sun Sep 24 16:38:06 2017 +0200

    Gtk::TextTagTable: Let add() return bool
    
    gtk_text_tag_table_add() returns gboolean, but no GError.

 gtk/src/texttagtable.hg |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/src/texttagtable.hg b/gtk/src/texttagtable.hg
index ea4b85d..36a0d52 100644
--- a/gtk/src/texttagtable.hg
+++ b/gtk/src/texttagtable.hg
@@ -47,7 +47,7 @@ protected:
 public:
   _WRAP_CREATE()
 
-  _WRAP_METHOD(void add(const Glib::RefPtr<TextTag>& tag), gtk_text_tag_table_add)
+  _WRAP_METHOD(bool add(const Glib::RefPtr<TextTag>& tag), gtk_text_tag_table_add)
   _WRAP_METHOD(void remove(const Glib::RefPtr<TextTag>& tag), gtk_text_tag_table_remove)
   _WRAP_METHOD(Glib::RefPtr<TextTag> lookup(const Glib::ustring& name), gtk_text_tag_table_lookup, refreturn)
   _WRAP_METHOD(Glib::RefPtr<const TextTag> lookup(const Glib::ustring& name) const, 
gtk_text_tag_table_lookup, refreturn, constversion)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]