[gtk-doc] Support GTK+ 3 cell properties
- From: Stefan Kost <stefkost src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk-doc] Support GTK+ 3 cell properties
- Date: Fri, 14 Jan 2011 21:33:59 +0000 (UTC)
commit 8f27127dfb393726895259a8d951288835b47606
Author: Matthias Clasen <mclasen redhat com>
Date: Thu Jan 6 09:29:07 2011 -0500
Support GTK+ 3 cell properties
This commit adds minimal support for the cell properties that
GTK+ 3 introduces on GtkCellArea subclasses, by treating them
the same as child properties.
gtkdoc-scangobj.in | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/gtkdoc-scangobj.in b/gtkdoc-scangobj.in
index 4021c72..0c10d0c 100644
--- a/gtkdoc-scangobj.in
+++ b/gtkdoc-scangobj.in
@@ -1309,6 +1309,14 @@ output_object_args (FILE *fp, GType object_type)
}
#endif
+#ifdef GTK_IS_CELL_AREA_CLASS
+ if (!child_prop && GTK_IS_CELL_AREA_CLASS (class)) {
+ properties = gtk_cell_area_class_list_cell_properties (class, &n_properties);
+ child_prop = TRUE;
+ continue;
+ }
+#endif
+
#ifdef GTK_IS_WIDGET_CLASS
#if GTK_CHECK_VERSION(2,1,0)
if (!style_prop && GTK_IS_WIDGET_CLASS (class)) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]