[gtkmm/gtkmm-2-24] Deprecate HRuler and VRuler.



commit 38fca42b666e320a18e28b0964c3643e3c12b179
Author: Murray Cumming <murrayc murrayc com>
Date:   Fri Jan 14 17:05:31 2011 +0100

    Deprecate HRuler and VRuler.
    
    * gtk/src/ruler.hg: Ruler was already deprecated, but HRuler and VRuler
    were not.

 ChangeLog        |    7 +++++++
 gtk/src/ruler.hg |    8 ++++++++
 2 files changed, 15 insertions(+), 0 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index e366eb4..a11929b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
 2011-01-14  Murray Cumming  <murrayc murrayc com>
 
+	Deprecate HRuler and VRuler.
+
+	* gtk/src/ruler.hg: Ruler was already deprecated, but HRuler and VRuler 
+	were not.
+
+2011-01-14  Murray Cumming  <murrayc murrayc com>
+
 	Notebook: Deprecated get/set_group(), adding get/set_group_name().
 	
 	* gtk/src/notebook.hg: Follow the deprecation in GTK+ 2.24.
diff --git a/gtk/src/ruler.hg b/gtk/src/ruler.hg
index a61c8c0..8030fbf 100644
--- a/gtk/src/ruler.hg
+++ b/gtk/src/ruler.hg
@@ -114,10 +114,14 @@ _DEPRECATE_IFDEF_END
 /** Vertical Ruler
  *
  * @ingroup Widgets
+ *
+ * @deprecated: This has been removed from gtkmm-3.0 because it was unmaintained and too specialized.
+ * There is no replacement other than using the original GtkRuler and Gtk::Ruler source files in your application. 
  */
 class VRuler : public Ruler
 {
   _CLASS_GTKOBJECT(VRuler,GtkVRuler,GTK_VRULER,Gtk::Ruler,GtkRuler)
+  _IS_DEPRECATED
 public:
   _CTOR_DEFAULT
 
@@ -127,10 +131,14 @@ public:
 /** Horizontal Ruler
  *
  * @ingroup Widgets
+ *
+ * @deprecated: This has been removed from gtkmm-3.0 because it was unmaintained and too specialized.
+ * There is no replacement other than using the original GtkRuler and Gtk::Ruler source files in your application. 
  */
 class HRuler : public Ruler
 {
   _CLASS_GTKOBJECT(HRuler,GtkHRuler,GTK_HRULER,Gtk::Ruler,GtkRuler)
+  _IS_DEPRECATED
 public:
   _CTOR_DEFAULT
 



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