Skip to content

Commit dff2fbd

Browse files
gtk: Mark Class types as manual
So that the docs for their traits is embedded
1 parent 1df4431 commit dff2fbd

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

gtk4/Gir.toml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -270,9 +270,7 @@ generate = [
270270
ignore = [
271271
"Gtk.BuilderCScope", # not useful for rust
272272
"Gtk.CClosureExpression", # not useful for rust
273-
"Gtk.CellAreaClass", # manual with subclassing
274273
"Gtk.CustomLayout", # subclass LayoutManager if you need a custom layout.
275-
"Gtk.WidgetClass", # manual with subclassing
276274
]
277275

278276
manual = [
@@ -740,6 +738,10 @@ manual_traits = ["CellAreaExtManual"]
740738
name = "add_with_properties"
741739
manual = true # can't be generated manually it uses vargs
742740

741+
[[object]]
742+
name = "Gtk.CellAreaClass"
743+
status = "manual" # used for Class docs
744+
743745
[[object]]
744746
name = "Gtk.CellAreaContext"
745747
status = "generate"
@@ -2709,6 +2711,10 @@ manual_traits = ["WidgetExtManual"]
27092711
name = "mnemonic-activate"
27102712
inhibit = true
27112713

2714+
[[object]]
2715+
name = "Gtk.WidgetClass"
2716+
status = "manual" # used for Class docs
2717+
27122718
[[object]]
27132719
name = "Gtk.WidgetPaintable"
27142720
status = "generate"

0 commit comments

Comments
 (0)