Skip to content

Commit

Permalink
macros: Fix blueprint warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
bilelmoussaoui committed Oct 24, 2024
1 parent c9927cf commit 35a3844
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ yuraiz:
```rust
#[derive(Debug, Default, gtk::CompositeTemplate)]
#[template(string = "
template MyWidget : Widget {
template $MyWidget : Widget {
Label label {
label: 'foobar';
}
Expand Down
2 changes: 1 addition & 1 deletion gtk4-macros/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ pub fn include_blueprint(input: TokenStream) -> TokenStream {
///
/// #[derive(Debug, Default, gtk::CompositeTemplate)]
/// #[template(string = "
/// template MyWidget : Widget {
/// template $MyWidget : Widget {
/// Label label {
/// label: 'foobar';
/// }
Expand Down
2 changes: 1 addition & 1 deletion gtk4-macros/tests/my_widget.blp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
template MyWidget5 {
template $MyWidget5 {
Label label {
label: 'foobar';
}
Expand Down
2 changes: 1 addition & 1 deletion gtk4-macros/tests/templates.rs
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ mod imp4 {

#[derive(Debug, Default, gtk::CompositeTemplate)]
#[template(string = "
template MyWidget4 : Widget {
template $MyWidget4 : Widget {
Label label {
label: 'foobar';
}
Expand Down

0 comments on commit 35a3844

Please sign in to comment.