From 1bb70034d0b396ada73ee505bd2be2521c74f42c Mon Sep 17 00:00:00 2001 From: Bilal Elmoussaoui Date: Sat, 22 Jul 2023 21:13:03 +0200 Subject: [PATCH] gtk: Add a GNOME 45 feature --- gtk4/Cargo.toml | 1 + gtk4/README.md | 1 + 2 files changed, 2 insertions(+) diff --git a/gtk4/Cargo.toml b/gtk4/Cargo.toml index 34678d43908e..c98739d46314 100644 --- a/gtk4/Cargo.toml +++ b/gtk4/Cargo.toml @@ -29,6 +29,7 @@ unsafe-assume-initialized = [] # Versions from https://gitlab.gnome.org/GNOME/gnome-build-meta/-/tree/gnome-43/elements/sdk # gtk takes care of setting the versions of gsk and gdk # gio takes care of setting the version of glib +gnome_45 = ["v4_12", "cairo-rs/v1_16", "pango/v1_52", "gdk-pixbuf/v2_42", "gio/v2_78"] gnome_44 = ["v4_10", "cairo-rs/v1_16", "gdk-pixbuf/v2_42", "gio/v2_76"] gnome_43 = ["v4_8", "cairo-rs/v1_16", "gdk-pixbuf/v2_42", "gio/v2_74"] gnome_42 = ["v4_6", "cairo-rs/v1_16", "gdk-pixbuf/v2_42", "gio/v2_72"] diff --git a/gtk4/README.md b/gtk4/README.md index fabadf9dc67c..36a34c71c75a 100644 --- a/gtk4/README.md +++ b/gtk4/README.md @@ -189,6 +189,7 @@ gtk = { git = "https://github.com/gtk-rs/gtk4-rs.git", package = "gtk4" } | `v4_6` | Enable the new APIs part of GTK 4.6 | | `v4_4` | Enable the new APIs part of GTK 4.4 | | `v4_2` | Enable the new APIs part of GTK 4.2 | +| `gnome_45` | Enable all version feature flags of this crate and its dependencies to match the GNOME 45 SDK | | `gnome_44` | Enable all version feature flags of this crate and its dependencies to match the GNOME 44 SDK | | `gnome_43` | Enable all version feature flags of this crate and its dependencies to match the GNOME 43 SDK | | `gnome_42` | Enable all version feature flags of this crate and its dependencies to match the GNOME 42 SDK |