diff options
author | Matthias Clasen <mclasen@redhat.com> | 2019-06-22 02:23:14 +0000 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2019-06-22 02:23:14 +0000 |
commit | 5a9a09077c708dc7af8fc2cf88d8265c7e8f20b1 (patch) | |
tree | 451ffffa41a1da43cd00f0f6b3899c136da52e86 | |
parent | 13dbf424a857bc6f4c538d2e51c7bd821cf94a38 (diff) | |
download | gtk-doc-gtk4-fixes.tar.gz |
scangobj: Child properties are gonegtk4-fixes
If we are handling GTK >= 3.96.0, child properties
don't exist anymore, so don't try to introspect them.
-rw-r--r-- | gtkdoc/scangobj.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gtkdoc/scangobj.py b/gtkdoc/scangobj.py index 4535458..5c604fb 100644 --- a/gtkdoc/scangobj.py +++ b/gtkdoc/scangobj.py @@ -1151,12 +1151,14 @@ output_object_args (FILE *fp, GType object_type) g_free (properties); #ifdef GTK_IS_CONTAINER_CLASS +#if !GTK_CHECK_VERSION(3,96,0) if (!child_prop && GTK_IS_CONTAINER_CLASS (class)) { properties = gtk_container_class_list_child_properties (class, &n_properties); child_prop = TRUE; continue; } #endif +#endif #ifdef GTK_IS_CELL_AREA_CLASS if (!child_prop && GTK_IS_CELL_AREA_CLASS (class)) { |