mirror of
https://gitlab.gnome.org/jwestman/blueprint-compiler.git
synced 2025-05-06 16:19:07 -04:00
Use array-like syntax for styles, file filters
These are now pseudo-properties with brackets around the array items, for consistency with more familiar languages.
This commit is contained in:
parent
ebfa72d94f
commit
f8478adf3a
5 changed files with 15 additions and 10 deletions
|
@ -2,7 +2,7 @@ using Gtk 4.0;
|
|||
|
||||
FileFilter {
|
||||
name: "File Filter Name";
|
||||
mime-types: "text/plain", "image/ *";
|
||||
patterns: "*.txt";
|
||||
suffixes: "png";
|
||||
mime-types: ["text/plain", "image/ *"];
|
||||
patterns: ["*.txt"];
|
||||
suffixes: ["png"];
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
using Gtk 4.0;
|
||||
|
||||
Label {
|
||||
style "class-1", "class-2";
|
||||
styles: ["class-1", "class-2"];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue