[gtkmm] Gtk::Button: Deprecate the activate signal.



commit 4f292cb32a6f05fcb6ce2122ce01bb0b6d12add0
Author: Kjell Ahlstedt <kjell ahlstedt bredband net>
Date:   Mon Mar 26 17:17:44 2012 +0200

    Gtk::Button: Deprecate the activate signal.
    
    * gtk/src/button.hg: The activate signal is documented as not for use by
    applications. This requires the latest glibmm from git master.

 ChangeLog         |    7 +++++++
 gtk/src/button.hg |    2 +-
 2 files changed, 8 insertions(+), 1 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 8221fee..a3d2c17 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2012-03-26  Kjell Ahlstedt  <kjell ahlstedt bredband net>
+
+	Gtk::Button: Deprecate the activate signal.
+
+	* gtk/src/button.hg: The activate signal is documented as not for use by
+	applications. This requires the latest glibmm from git master. 
+
 2012-03-26  Murray Cumming  <murrayc murrayc com>
 
 	ComboBox: Add signal_format_entry_text().
diff --git a/gtk/src/button.hg b/gtk/src/button.hg
index cd65496..a5eff24 100644
--- a/gtk/src/button.hg
+++ b/gtk/src/button.hg
@@ -108,7 +108,7 @@ public:
   _WRAP_SIGNAL(void clicked(), "clicked")
   _WRAP_SIGNAL(void enter(), "enter")
   _WRAP_SIGNAL(void leave(), "leave")
-  _WRAP_SIGNAL(void activate(), "activate")
+  _WRAP_SIGNAL(void activate(), "activate", deprecated "Use signal_clicked() instead.")
 
   _WRAP_PROPERTY("label", Glib::ustring)
   _WRAP_PROPERTY("relief", ReliefStyle)



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