[gtkmm] Make sure that we do not wrap the deprecated CellRenderer::get_size() vfunc.
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtkmm] Make sure that we do not wrap the deprecated CellRenderer::get_size() vfunc.
- Date: Fri, 11 Feb 2011 15:28:00 +0000 (UTC)
commit 99d174fcbeec377a12d5182515975c9c6c497dc0
Author: Murray Cumming <murrayc murrayc com>
Date: Fri Feb 11 16:27:44 2011 +0100
Make sure that we do not wrap the deprecated CellRenderer::get_size() vfunc.
* gtk/src/gtk_vfuncs.defs: Comment out the definition of get_size().
ChangeLog | 6 ++++++
gtk/src/gtk_vfuncs.defs | 25 +++++++++++++------------
2 files changed, 19 insertions(+), 12 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 8d25cf5..8fb1b60 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2011-02-11 Murray Cumming <murrayc murrayc com>
+
+ Make sure that we do not wrap the deprecated CellRenderer::get_size() vfunc.
+
+ * gtk/src/gtk_vfuncs.defs: Comment out the definition of get_size().
+
2011-02-03 Kjell Ahlstedt <kjell ahlstedt bredband net>
CellArea, CellRenderer, Widget: Modify and add some vfuncs.
diff --git a/gtk/src/gtk_vfuncs.defs b/gtk/src/gtk_vfuncs.defs
index f62a4de..1188d59 100644
--- a/gtk/src/gtk_vfuncs.defs
+++ b/gtk/src/gtk_vfuncs.defs
@@ -217,18 +217,19 @@
)
)
-(define-vfunc get_size
- (of-object "GtkCellRenderer")
- (return-type "none")
- (parameters
- '("GtkWidget*" "widget")
- '("GdkRectangle*" "cell_area")
- '("gint*" "x_offset")
- '("gint*" "y_offset")
- '("gint*" "width")
- '("gint*" "height")
- )
-)
+; Deprecated:
+;(define-vfunc get_size
+; (of-object "GtkCellRenderer")
+; (return-type "none")
+; (parameters
+; '("GtkWidget*" "widget")
+; '("GdkRectangle*" "cell_area")
+; '("gint*" "x_offset")
+; '("gint*" "y_offset")
+; '("gint*" "width")
+; '("gint*" "height")
+; )
+;)
(define-vfunc render
(of-object "GtkCellRenderer")
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]