Use "using" instead of "gtk" and "import"

- Having one keyword for both is less syntax to remember
- I might use "include" as a keyword in the future, which would make
  "import" confusing, so use "using" instead
This commit is contained in:
James Westman 2021-10-22 22:26:00 -05:00
parent 78a9481631
commit b3c28ce3d4
No known key found for this signature in database
GPG key ID: CE2DBA0ADB654EA6
5 changed files with 27 additions and 13 deletions

View file

@ -21,10 +21,8 @@ Here is what [the libshumate demo's UI definition](https://gitlab.gnome.org/GNOM
looks like ported to this new format:
```
gtk 4.0;
import Adw 1.0;
import Shumate 1.0;
using Gtk 4.0;
using Shumate 1.0;
template ShumateDemoWindow : Gtk.ApplicationWindow {
can-focus: yes;