[gtkmm] Fix the build against GTK+ git maste.r



commit 375f963f4afeb1050dbb43fb64e67cb1bc0085db
Author: Murray Cumming <murrayc murrayc com>
Date:   Sun Sep 26 12:34:58 2010 +0200

    Fix the build against GTK+ git maste.r
    
    * gtk/src/gtk_signals.defs: Regenerated the GtkWrapBox part.
    * gtk/src/wrapbox.hg: Change the constructor, because gtk_wrap_box_new()
    now has different parameters.

 ChangeLog                |   10 +++++++++-
 gtk/src/gtk_signals.defs |   13 +++++++++++--
 gtk/src/wrapbox.hg       |    6 +++---
 3 files changed, 23 insertions(+), 6 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 7ff8238..d9c861d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,14 @@
 2010-09-26  Murray Cumming  <murrayc murrayc com>
 
-	Partly ix the build against GTK+ git master.
+	Fix the build against GTK+ git master
+
+	* gtk/src/gtk_signals.defs: Regenerated the GtkWrapBox part.
+	* gtk/src/wrapbox.hg: Change the constructor, because gtk_wrap_box_new() 
+	now has different parameters.
+
+2010-09-26  Murray Cumming  <murrayc murrayc com>
+
+	Partly fix the build against GTK+ git master.
 
 	* gtk/src/gtk_methods.defs: Regenerated.
 	* gtk/src/notebook.[hg|ccg]: Removed get/set_group(), replacing them with 
diff --git a/gtk/src/gtk_signals.defs b/gtk/src/gtk_signals.defs
index 2fb1000..edec6ab 100644
--- a/gtk/src/gtk_signals.defs
+++ b/gtk/src/gtk_signals.defs
@@ -45445,10 +45445,19 @@
   (construct-only #f)
 )
 
-(define-property spreading
+(define-property horizontal-spreading
   (of-object "GtkWrapBox")
   (prop-type "GParamEnum")
-  (docs "The spreading mode to use")
+  (docs "The spreading mode to use horizontally")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
+(define-property vertical-spreading
+  (of-object "GtkWrapBox")
+  (prop-type "GParamEnum")
+  (docs "The spreading mode to use vertically")
   (readable #t)
   (writable #t)
   (construct-only #f)
diff --git a/gtk/src/wrapbox.hg b/gtk/src/wrapbox.hg
index 000d10b..a5b116c 100644
--- a/gtk/src/wrapbox.hg
+++ b/gtk/src/wrapbox.hg
@@ -44,15 +44,15 @@ class WrapBox
   _CLASS_GTKOBJECT(WrapBox, GtkWrapBox, GTK_WRAP_BOX, Gtk::Container, GtkContainer)
   _IMPLEMENTS_INTERFACE(Orientable)
 public:
-  _WRAP_CTOR(WrapBox(WrapAllocationMode mode = WRAP_ALLOCATE_FREE, WrapBoxSpreading spreading = WRAP_BOX_SPREAD_START, guint horizontal_spacing = 0, guint vertical_spacing = 0), gtk_wrap_box_new)
+  _WRAP_CTOR(WrapBox(WrapAllocationMode mode = WRAP_ALLOCATE_FREE, WrapBoxSpreading horizontal_spreading = WRAP_BOX_SPREAD_START, WrapBoxSpreading vertical_spreading = WRAP_BOX_SPREAD_START, guint horizontal_spacing = 0, guint vertical_spacing = 0), gtk_wrap_box_new)
 
   _WRAP_METHOD(void set_allocation_mode(WrapAllocationMode mode), gtk_wrap_box_set_allocation_mode)
   _WRAP_METHOD(WrapAllocationMode get_allocation_mode() const, gtk_wrap_box_get_allocation_mode)
 
-  _WRAP_METHOD(void set_vertical_spreading(WrapBoxSpreading spreading), gtk_wrap_box_set_vertical_preading)
+  _WRAP_METHOD(void set_vertical_spreading(WrapBoxSpreading spreading), gtk_wrap_box_set_vertical_spreading)
   _WRAP_METHOD(WrapBoxSpreading get_vertical_spreading() const, gtk_wrap_box_get_vertical_spreading)
 
-  _WRAP_METHOD(void set_horizontal_spreading(WrapBoxSpreading spreading), gtk_wrap_box_set_horizontal_preading)
+  _WRAP_METHOD(void set_horizontal_spreading(WrapBoxSpreading spreading), gtk_wrap_box_set_horizontal_spreading)
   _WRAP_METHOD(WrapBoxSpreading get_horizontal_spreading() const, gtk_wrap_box_get_horizontal_spreading)
 
   _WRAP_METHOD(void set_vertical_spacing(guint spacing), gtk_wrap_box_set_vertical_spacing)



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