[gtkmm] Revert "Gtk::Entry: Remove property_activate()"



commit b5888bc283c73cce9297353157fbf1a890c16cfa
Author: Kjell Ahlstedt <kjellahlstedt gmail com>
Date:   Sun Feb 24 15:28:21 2019 +0100

    Revert "Gtk::Entry: Remove property_activate()"
    
    This reverts commit 784af00133dcda7a810204f5218404e792d131bf.
    The commit message is wrong

 gtk/src/entry.hg | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gtk/src/entry.hg b/gtk/src/entry.hg
index 088d0c0d..526184dd 100644
--- a/gtk/src/entry.hg
+++ b/gtk/src/entry.hg
@@ -184,7 +184,8 @@ public:
 
   _WRAP_METHOD(void grab_focus_without_selecting(), gtk_entry_grab_focus_without_selecting)
 
-  _IGNORE_SIGNAL(activate)dnl // action signal
+  //Note that the GTK+ C documentation for the activate signal says (as of 2012-06) that it should be used 
by applications even though it is a keybinding signal.
+  _WRAP_SIGNAL(void activate(), "activate")
 
 #m4 _CONVERSION(`const GdkEventButton*',`const Glib::RefPtr<const 
Gdk::EventButton>&',`Glib::wrap(const_cast<GdkEventButton*>($3), true)')
   // no_default_handler because the wrapped C signals have no default handlers.
@@ -229,7 +230,6 @@ public:
   _WRAP_PROPERTY("populate-all", bool)
   _WRAP_PROPERTY("tabs", Pango::TabArray)
   _WRAP_PROPERTY("show-emoji-icon", bool)
-  _WRAP_PROPERTY("enable-emoji-completion", bool)
 };
 
 } //namespace Gtk


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