Commit 840318eb authored by Kjell Ahlstedt's avatar Kjell Ahlstedt Don't exclude any Gtk classes

Don't exclude GtkTree, GtkTreeItem or GtkText from generated files. No such classes have existed for a long time,
but now there is a new GtkText in gtk4.
If a class really shall be excluded, insert _NO_WRAP_INIT_REGISTRATION
in its .hg file.
parent 0cd51739
......@@ -152,9 +152,7 @@ while ($ARGV[0])
my @names = ($cppname, $basename, @extra_namespace);
if ($type_of_class eq "_CLASS_GOBJECT" or
($type_of_class eq "_CLASS_GTKOBJECT" and
#TODO: Remove this hack eventually.
($cname ne "GtkTree" && $cname ne "GtkTreeItem" && $cname ne "GtkText")))
$type_of_class eq "_CLASS_GTKOBJECT")
push(@{$objects{$filename_header}}, \@names);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment