Skip to content

Commit

Permalink
Update branch from master to main
Browse files Browse the repository at this point in the history
  • Loading branch information
sdroege committed Oct 22, 2024
1 parent e6d0643 commit 205a75d
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/typos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ on:
pull_request:
push:
branches:
- "master"
- "main"
jobs:
typos:
name: Spell Check with Typos
Expand Down
2 changes: 1 addition & 1 deletion _includes/projects.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@
{% endfor %}
</ul>

If you want your app to be added to this list, please create a [Pull Request](https://github.com/gtk-rs/gtk-rs.github.io/edit/master/_data/projects.json) for it.
If you want your app to be added to this list, please create a [Pull Request](https://github.com/gtk-rs/gtk-rs.github.io/edit/main/_data/projects.json) for it.
</details>
4 changes: 2 additions & 2 deletions _posts/2019-02-21-new-release.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Let's see those in details.

#### Atk

The Atk crate is about accessibility. We thought it was a miss not having it considering how important accessibility is. Now it's fixed! You can find more information directly on the [`Atk` repository](https://github.com/gtk-rs/atk) or in the [accessibility example](https://github.com/gtk-rs/examples/blob/master/src/bin/accessibility.rs).
The Atk crate is about accessibility. We thought it was a miss not having it considering how important accessibility is. Now it's fixed! You can find more information directly on the [`Atk` repository](https://github.com/gtk-rs/atk) or in the [accessibility example](https://github.com/gtk-rs/examples/blob/main/src/bin/accessibility.rs).

#### Callbacks?

Expand Down Expand Up @@ -102,7 +102,7 @@ We moved it to `1.31.0` mainly because imports handling is much easier starting

#### subclassing support in GLib

This is a strongly asked feature and we now have it in GLib. A lot of work remains to be done, but it's mostly polishing. At its current state, it can be used already. Take a look at the [listbox_model](https://github.com/gtk-rs/examples/blob/master/src/bin/listbox_model.rs) if you want to see how it works.
This is a strongly asked feature and we now have it in GLib. A lot of work remains to be done, but it's mostly polishing. At its current state, it can be used already. Take a look at the [listbox_model](https://github.com/gtk-rs/examples/blob/main/src/bin/listbox_model.rs) if you want to see how it works.

#### Even more bindings generated

Expand Down
6 changes: 3 additions & 3 deletions _posts/2019-12-15-new-release.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@ passed into the `clicked` signal handler. See also the `Rc` documentation about
The "subclass" cargo feature was removed from all crates and is instead enabled by default with
this release. The GObject subclassing support matured a lot over the last months and is ready for
wider usage. A basic example for subclassing `gtk::Application` and `gtk::ApplicationWindow` can
be found [here](https://github.com/gtk-rs/examples/blob/master/src/bin/basic_subclass.rs), another
be found [here](https://github.com/gtk-rs/examples/blob/main/src/bin/basic_subclass.rs), another
example using custom `glib::Object` subclasses as part of a `gtk::ListBox` model can be found
[here](https://github.com/gtk-rs/examples/blob/master/src/bin/listbox_model.rs) and various examples
[here](https://github.com/gtk-rs/examples/blob/main/src/bin/listbox_model.rs) and various examples
for creating GStreamer elements [here](https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs).

While there are still subclassing bindings missing for many types, various basic types in the `gio`,
Expand All @@ -69,7 +69,7 @@ way that looks close to the equivalent synchronous code. Check
Rust blog for more details.

An example making use of this with `gio`'s asynchronous file reading support can be found
[here](https://github.com/gtk-rs/examples/blob/master/src/bin/gio_futures_await.rs). While it is
[here](https://github.com/gtk-rs/examples/blob/main/src/bin/gio_futures_await.rs). While it is
not as streamlined as with native Rust crates like [async-std](https://async.rs) or
[tokio](https://tokio.rs) because of how the `gio` API works, it nonetheless much more convenient
to work with than the previous (but still available) callback-based approach.
Expand Down
4 changes: 2 additions & 2 deletions faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ Currently we only add crates to the gtk-rs project that are required for the exi

You can find more examples in the corresponding repositories

- [gtk-rs-core/examples](https://github.com/gtk-rs/gtk-rs-core/tree/master/examples)
- [gtk4-rs/examples](https://github.com/gtk-rs/gtk4-rs/tree/master/examples)
- [gtk-rs-core/examples](https://github.com/gtk-rs/gtk-rs-core/tree/main/examples)
- [gtk4-rs/examples](https://github.com/gtk-rs/gtk4-rs/tree/main/examples)

or have a look at the source code of the projects listed on our [start page](/#projects-using-gtk-rs).

Expand Down

0 comments on commit 205a75d

Please sign in to comment.