[gtkmm] Fix the build with GTK+ git master, in Gtk::Style.



commit 60a91cd019cf71747e8c3cc9419cd82092115647
Author: Murray Cumming <murrayc murrayc com>
Date:   Tue Jun 8 22:43:49 2010 +0200

    Fix the build with GTK+ git master, in Gtk::Style.
    
    * gtk/src/gtk_vfuncs.defs:
    * gtk/src/style.hg: Remove the draw_string() vfunc, which was removed from
    GTK+ git master.

 ChangeLog               |    8 ++++++++
 gtk/src/gtk_vfuncs.defs |   15 ---------------
 gtk/src/style.hg        |    6 ------
 3 files changed, 8 insertions(+), 21 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index b5f557c..1a6d5d7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2010-06-08  Murray Cumming  <murrayc murrayc com>
+
+	Fix the build with GTK+ git master, in Gtk::Style.
+
+	* gtk/src/gtk_vfuncs.defs:
+	* gtk/src/style.hg: Remove the draw_string() vfunc, which was removed from 
+	GTK+ git master.
+
 2010-05-29  Murray Cumming  <murrayc murrayc com>
 
 	Fix the build with GTK+ git master.
diff --git a/gtk/src/gtk_vfuncs.defs b/gtk/src/gtk_vfuncs.defs
index 3cd71f6..9228667 100644
--- a/gtk/src/gtk_vfuncs.defs
+++ b/gtk/src/gtk_vfuncs.defs
@@ -510,21 +510,6 @@
   )
 )
 
-		
-(define-vfunc draw_string
-  (of-object "GtkStyle")
-  (return-type "none")
-  (parameters
-    '("GdkWindow*" "window")
-    '("GtkStateType" "state_type")
-    '("GdkRectangle*" "area")
-    '("GtkWidget*" "widget")
-    '("const-gchar*" "detail")
-    '("gint" "x")
-    '("gint" "y")
-    '("const-gchar*" "string")
-  )
-)
 
 (define-vfunc draw_box
   (of-object "GtkStyle")
diff --git a/gtk/src/style.hg b/gtk/src/style.hg
index 4fb849f..19627a7 100644
--- a/gtk/src/style.hg
+++ b/gtk/src/style.hg
@@ -478,12 +478,6 @@ protected:
          Widget* widget,
          const Glib::ustring& detail,
          int x, int y, int width, int height), draw_diamond)
-  _WRAP_VFUNC(void draw_string(const Glib::RefPtr<Gdk::Window>& window,
-         Gtk::StateType state_type,
-         const Gdk::Rectangle& area,
-         Widget* widget,
-         const Glib::ustring& detail,
-         int x, int y, const Glib::ustring& string), draw_string)
   _WRAP_VFUNC(void draw_box(const Glib::RefPtr<Gdk::Window>& window,
          Gtk::StateType state_type,
          ShadowType shadow_type,



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