[gtkmm] Various fixes to Gtk::FlowBox



commit 80d67c069fef041a051ca68f90b9179a276e89b2
Author: Juan R. GarcĂ­a Blanco <juanrgar gmail com>
Date:   Mon Feb 10 22:29:30 2014 +0100

    Various fixes to Gtk::FlowBox
    
        * Fix invalid use of _IGNORE with signals.
        * Wrap Gtk::FlowBoxChild::activate signal.

 gtk/src/flowbox.hg      |    4 ++--
 gtk/src/flowboxchild.hg |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gtk/src/flowbox.hg b/gtk/src/flowbox.hg
index 69d4505..11d7f51 100644
--- a/gtk/src/flowbox.hg
+++ b/gtk/src/flowbox.hg
@@ -167,7 +167,7 @@ public:
    * which of the children to show. For instance, to implement a search
    * function that only shows the children matching the search terms.
    *
-   * The @a slot will be called for ach child after the call, and
+   * The @a slot will be called for each child after the call, and
    * it will continue to be called each time a child changes (via
    * FlowBoxChild::changed()) or when FlowBox::invalidate_filter()
    * is called.
@@ -225,7 +225,7 @@ public:
 
   _WRAP_SIGNAL(void child_activated(FlowBoxChild*), "child-activated")
   _WRAP_SIGNAL(void selected_children_changed(), "selected-children-changed")
-  _IGNORE("activate-cursor-child", "toggle-cursor-child", "move-cursor", "select-all", "unselect-all") // 
Action signals
+  _IGNORE_SIGNAL(activate-cursor-child, toggle-cursor-child, move-cursor, select-all, unselect-all) // 
Action signals
 };
 
 } // namespace Gtk
diff --git a/gtk/src/flowboxchild.hg b/gtk/src/flowboxchild.hg
index d1f2948..0b7583a 100644
--- a/gtk/src/flowboxchild.hg
+++ b/gtk/src/flowboxchild.hg
@@ -43,7 +43,7 @@ public:
   _WRAP_METHOD(bool is_selected() const, gtk_flow_box_child_is_selected)
   _WRAP_METHOD(void changed(), gtk_flow_box_child_changed)
 
-  _IGNORE_SIGNAL("activate") // Action signal
+  _WRAP_SIGNAL(void activate(), "activate")
 };
 
 } // namespace Gtk


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