[gtkmm] Entry: Undeprecate the activate signal.



commit d2aeb005f1c52a328009f7ed095e8a913f6d9cb1
Author: Murray Cumming <murrayc murrayc com>
Date:   Tue Jun 12 11:25:15 2012 +0200

    Entry: Undeprecate the activate signal.
    
    * gtk/src/entry.hg: Remove the deprecation documentation,
    because it is now OK again to use this signal. See this GTK+ commit:
    http://git.gnome.org/browse/gtk+/commit/?id=4a25bac0e7685000fff90a211db6ac60f6b74ab1

 ChangeLog        |    8 ++++++++
 gtk/src/entry.hg |    3 ++-
 2 files changed, 10 insertions(+), 1 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 9cc92eb..8a874d9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2012-06-12  Murray Cumming  <murrayc murrayc com>
+
+	Entry: Undeprecate the activate signal.
+
+	* gtk/src/entry.hg: Remove the deprecation documentation,
+	because it is now OK again to use this signal. See this GTK+ commit:
+	http://git.gnome.org/browse/gtk+/commit/?id=4a25bac0e7685000fff90a211db6ac60f6b74ab1
+
 2012-05-29  Kjell Ahlstedt  <kjell ahlstedt bredband net>
 
 	StyleContext: Deprecate some functions and add others.
diff --git a/gtk/src/entry.hg b/gtk/src/entry.hg
index 1c389e8..63e3b1d 100644
--- a/gtk/src/entry.hg
+++ b/gtk/src/entry.hg
@@ -221,7 +221,8 @@ public:
 #m4 _CONVERSION(`const char*',`const Glib::ustring&',__GCHARP_TO_USTRING)
   _WRAP_SIGNAL(void insert_at_cursor(const Glib::ustring& str), "insert_at_cursor")
 
-  _WRAP_SIGNAL(void activate(), "activate", deprecated "Use signal_key_press_event() or signal_focus_out_event() instead.")
+  //Note that the GTK+ C documentation for the activate signal says (as of 2012-06) that is should be used by applications even though it is a keybinding signal. 
+  _WRAP_SIGNAL(void activate(), "activate")
 
   _WRAP_SIGNAL(void icon_release(EntryIconPosition icon_position, const GdkEventButton* event), "icon-release", no_default_handler)
   _WRAP_SIGNAL(void icon_press(EntryIconPosition icon_position, const GdkEventButton* event), "icon-press", no_default_handler)



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