[gtkmm] Gtk::ScaleButton, Toolbar: Delete the "orientation" property.



commit d960185252bf1082bb447aa40dd3f6417319db0f
Author: Kjell Ahlstedt <kjell ahlstedt bredband net>
Date:   Thu Feb 28 10:12:37 2013 +0100

    Gtk::ScaleButton, Toolbar: Delete the "orientation" property.
    
    * gtk/src/scalebutton.hg:
    * gtk/src/toolbar.hg: Delete _WRAP_PROPERTY("orientation", Orientation).
    This property does not exist in gtk+3. It's a left-over from gtkmm2 that
    leaves an error message in the generated .h files.

 ChangeLog              |    9 +++++++++
 gtk/src/scalebutton.hg |    3 ---
 gtk/src/toolbar.hg     |    3 ---
 3 files changed, 9 insertions(+), 6 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 249e9b8..b2dc625 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2013-02-28  Kjell Ahlstedt  <kjell ahlstedt bredband net>
+
+       Gtk::ScaleButton, Toolbar: Delete the "orientation" property.
+
+       * gtk/src/scalebutton.hg:
+       * gtk/src/toolbar.hg: Delete _WRAP_PROPERTY("orientation", Orientation).
+       This property does not exist in gtk+3. It's a left-over from gtkmm2 that
+       leaves an error message in the generated .h files.
+
 2013-02-27  Kjell Ahlstedt  <kjell ahlstedt bredband net>
 
        Modify the deletion of widgets.
diff --git a/gtk/src/scalebutton.hg b/gtk/src/scalebutton.hg
index d9c5321..7f1f6b4 100644
--- a/gtk/src/scalebutton.hg
+++ b/gtk/src/scalebutton.hg
@@ -59,8 +59,6 @@ public:
 
   _WRAP_METHOD(void set_adjustment(const Glib::RefPtr<Adjustment>& adjustment), 
gtk_scale_button_set_adjustment)
 
-  _IGNORE(gtk_scale_button_get_orientation, gtk_scale_button_set_orientation) //deprecated
-
   //TODO: Change the Widget* return type to Gtk::Button: https://bugzilla.gnome.org/show_bug.cgi?id=539944
   _WRAP_METHOD(Widget* get_plus_button(), gtk_scale_button_get_plus_button)
   _WRAP_METHOD(const Widget* get_plus_button() const, gtk_scale_button_get_plus_button, constversion)
@@ -83,7 +81,6 @@ public:
   _WRAP_PROPERTY("size", IconSize)
   _WRAP_PROPERTY("adjustment", Adjustment*)
   _WRAP_PROPERTY("icons", std::vector<Glib::ustring>)
-  _WRAP_PROPERTY("orientation", Orientation)
 };
 
 } // namespace Gtk
diff --git a/gtk/src/toolbar.hg b/gtk/src/toolbar.hg
index 70355e9..f956775 100644
--- a/gtk/src/toolbar.hg
+++ b/gtk/src/toolbar.hg
@@ -68,8 +68,6 @@ public:
 
 /* Style methods */
 
-  _IGNORE(gtk_toolbar_set_orientation, gtk_toolbar_get_orientation) //deprecated
-
   _WRAP_METHOD(void set_toolbar_style(ToolbarStyle style), gtk_toolbar_set_style)
   _WRAP_METHOD(ToolbarStyle get_toolbar_style() const, gtk_toolbar_get_style)
 
@@ -100,7 +98,6 @@ public:
           gtk_toolbar_append_element, gtk_toolbar_prepend_element, gtk_toolbar_insert_element,
           gtk_toolbar_append_widget, gtk_toolbar_prepend_widget, gtk_toolbar_insert_widget)
 
-  _WRAP_PROPERTY("orientation", Orientation)
   _WRAP_PROPERTY("toolbar_style", ToolbarStyle)
   _WRAP_PROPERTY("show_arrow", bool)
   _WRAP_PROPERTY("icon-size", IconSize)


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