Skip to content

Commit

Permalink
docs: fix composite template internal_child -> internal
Browse files Browse the repository at this point in the history
`template_child` wants `internal`, not `internal_child`
  • Loading branch information
vhakulinen authored Jan 1, 2024
1 parent 42772bc commit 5b7da6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gtk4-macros/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ pub fn include_blueprint(input: TokenStream) -> TokenStream {
/// The `template_child` attribute is used to mark all internal widgets
/// we need to have programmatic access to. It can take two parameters:
/// - `id` which defaults to the item name if not defined
/// - `internal_child` whether the child should be accessible as an
/// - `internal` whether the child should be accessible as an
/// “internal-child”, defaults to `false`
///
/// # Example
Expand Down

0 comments on commit 5b7da6b

Please sign in to comment.