[gtkmm] Range: Remove get/set_update_policy(), to fix the build.



commit e18604f686801475c498dd9d5e30accd5afd0e0c
Author: Murray Cumming <murrayc murrayc com>
Date:   Thu Jan 6 14:29:08 2011 +0100

    Range: Remove get/set_update_policy(), to fix the build.
    
    * gtk/src/enums.hg: Remove the UpdateType enum.
    * gtk/src/range.hg: Remove get/set_update_policy() and the property,
    because they were removed from GTK+ 3.

 ChangeLog        |    8 ++++++++
 gtk/src/enums.hg |    1 -
 gtk/src/range.hg |    4 ----
 3 files changed, 8 insertions(+), 5 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 7e6fea3..7e8718f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,13 @@
 2011-01-06  Murray Cumming  <murrayc murrayc com>
 
+	Range: Remove get/set_update_policy(), to fix the build.
+
+	* gtk/src/enums.hg: Remove the UpdateType enum.
+	* gtk/src/range.hg: Remove get/set_update_policy() and the property,
+	because they were removed from GTK+ 3.
+
+2011-01-06  Murray Cumming  <murrayc murrayc com>
+
 	TreeModel::iterator::operator--(): Use gtk_tree_model_iter_previous().
 
 	* gtk/src/treeiter.ccg: Use the new C function instead of the code that we 
diff --git a/gtk/src/enums.hg b/gtk/src/enums.hg
index ed2dff5..0a05f12 100644
--- a/gtk/src/enums.hg
+++ b/gtk/src/enums.hg
@@ -92,7 +92,6 @@ _WRAP_ENUM(ShadowType, GtkShadowType)
 _WRAP_ENUM(StateType, GtkStateType)
 _WRAP_ENUM(TargetFlags, GtkTargetFlags)
 _WRAP_ENUM(ToolbarStyle, GtkToolbarStyle)
-_WRAP_ENUM(UpdateType, GtkUpdateType)
 _WRAP_ENUM(WindowPosition,GtkWindowPosition)
 _WRAP_ENUM(WindowType,GtkWindowType)
 _WRAP_ENUM(WrapMode, GtkWrapMode)
diff --git a/gtk/src/range.hg b/gtk/src/range.hg
index 89ed02b..10bba2d 100644
--- a/gtk/src/range.hg
+++ b/gtk/src/range.hg
@@ -39,10 +39,7 @@ class Range : public Widget
 protected:
   _CTOR_DEFAULT
 public:
-  
 
-  _WRAP_METHOD(void set_update_policy(UpdateType policy), gtk_range_set_update_policy)
-  _WRAP_METHOD(UpdateType get_update_policy() const, gtk_range_get_update_policy)
   _WRAP_METHOD(void set_adjustment(const Glib::RefPtr<Adjustment>& adjustment), gtk_range_set_adjustment)
   void unset_adjustment();
 
@@ -117,7 +114,6 @@ public:
    */
   _WRAP_SIGNAL(bool change_value(ScrollType scroll, double new_value), "change_value")
 
-  _WRAP_PROPERTY("update-policy", UpdateType)
   _WRAP_PROPERTY("adjustment", Adjustment*)
   _WRAP_PROPERTY("inverted", bool)
   _WRAP_PROPERTY("lower-stepper-sensitivity", SensitivityType)



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