From 205a75d773a827dcd5299862eb9d97f6bcf6558d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Tue, 22 Oct 2024 13:10:56 +0300 Subject: [PATCH] Update branch from master to main --- .github/workflows/typos.yml | 2 +- _includes/projects.html | 2 +- _posts/2019-02-21-new-release.md | 4 ++-- _posts/2019-12-15-new-release.md | 6 +++--- faq.md | 4 ++-- 5 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/typos.yml b/.github/workflows/typos.yml index 3c7f20c45..2e0f6a4ee 100644 --- a/.github/workflows/typos.yml +++ b/.github/workflows/typos.yml @@ -3,7 +3,7 @@ on: pull_request: push: branches: - - "master" + - "main" jobs: typos: name: Spell Check with Typos diff --git a/_includes/projects.html b/_includes/projects.html index 939bdd783..09be3be75 100644 --- a/_includes/projects.html +++ b/_includes/projects.html @@ -10,5 +10,5 @@ {% endfor %} -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. diff --git a/_posts/2019-02-21-new-release.md b/_posts/2019-02-21-new-release.md index b458d2d0b..b255e7c80 100644 --- a/_posts/2019-02-21-new-release.md +++ b/_posts/2019-02-21-new-release.md @@ -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? @@ -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 diff --git a/_posts/2019-12-15-new-release.md b/_posts/2019-12-15-new-release.md index 5eb47c4c4..6ea500ec6 100644 --- a/_posts/2019-12-15-new-release.md +++ b/_posts/2019-12-15-new-release.md @@ -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`, @@ -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. diff --git a/faq.md b/faq.md index b93e74c0c..b9c47c5ec 100644 --- a/faq.md +++ b/faq.md @@ -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).