Created
February 29, 2020 04:07
-
-
Save nikhiljha/c434d294db2553ed37cb5672dc61778f to your computer and use it in GitHub Desktop.
upgrade gtk
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From c8075c4396c04b3a6778b4ed6d5c21b20999ef77 Mon Sep 17 00:00:00 2001 | |
From: Nikhil Jha <[email protected]> | |
Date: Fri, 28 Feb 2020 19:49:49 -0800 | |
Subject: [PATCH] upgrade dependencies | |
--- | |
Cargo.lock | 340 ++++++++++++++++++++++++++++++++----------------- | |
Cargo.toml | 4 +- | |
src/popover.rs | 6 +- | |
src/style.rs | 4 +- | |
4 files changed, 232 insertions(+), 122 deletions(-) | |
diff --git a/Cargo.lock b/Cargo.lock | |
index 39d8841..8fc8a2d 100644 | |
--- a/Cargo.lock | |
+++ b/Cargo.lock | |
@@ -8,13 +8,26 @@ dependencies = [ | |
"memchr 2.3.2 (registry+https://github.com/rust-lang/crates.io-index)", | |
] | |
+[[package]] | |
+name = "atk" | |
+version = "0.8.0" | |
+source = "registry+https://github.com/rust-lang/crates.io-index" | |
+dependencies = [ | |
+ "atk-sys 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)", | |
+ "bitflags 1.0.4 (registry+https://github.com/rust-lang/crates.io-index)", | |
+ "glib 0.9.3 (registry+https://github.com/rust-lang/crates.io-index)", | |
+ "glib-sys 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)", | |
+ "gobject-sys 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)", | |
+ "libc 0.2.66 (registry+https://github.com/rust-lang/crates.io-index)", | |
+] | |
+ | |
[[package]] | |
name = "atk-sys" | |
-version = "0.7.0" | |
+version = "0.9.1" | |
source = "registry+https://github.com/rust-lang/crates.io-index" | |
dependencies = [ | |
- "glib-sys 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)", | |
- "gobject-sys 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)", | |
+ "glib-sys 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)", | |
+ "gobject-sys 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)", | |
"libc 0.2.66 (registry+https://github.com/rust-lang/crates.io-index)", | |
"pkg-config 0.3.17 (registry+https://github.com/rust-lang/crates.io-index)", | |
] | |
@@ -26,27 +39,25 @@ source = "registry+https://github.com/rust-lang/crates.io-index" | |
[[package]] | |
name = "cairo-rs" | |
-version = "0.5.0" | |
+version = "0.8.1" | |
source = "registry+https://github.com/rust-lang/crates.io-index" | |
dependencies = [ | |
- "cairo-sys-rs 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)", | |
- "glib 0.6.1 (registry+https://github.com/rust-lang/crates.io-index)", | |
- "glib-sys 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)", | |
- "gobject-sys 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)", | |
+ "bitflags 1.0.4 (registry+https://github.com/rust-lang/crates.io-index)", | |
+ "cairo-sys-rs 0.9.2 (registry+https://github.com/rust-lang/crates.io-index)", | |
+ "glib 0.9.3 (registry+https://github.com/rust-lang/crates.io-index)", | |
+ "glib-sys 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)", | |
+ "gobject-sys 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)", | |
"libc 0.2.66 (registry+https://github.com/rust-lang/crates.io-index)", | |
] | |
[[package]] | |
name = "cairo-sys-rs" | |
-version = "0.7.0" | |
+version = "0.9.2" | |
source = "registry+https://github.com/rust-lang/crates.io-index" | |
dependencies = [ | |
- "glib 0.6.1 (registry+https://github.com/rust-lang/crates.io-index)", | |
- "glib-sys 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)", | |
- "gobject-sys 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)", | |
+ "glib-sys 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)", | |
"libc 0.2.66 (registry+https://github.com/rust-lang/crates.io-index)", | |
"pkg-config 0.3.17 (registry+https://github.com/rust-lang/crates.io-index)", | |
- "winapi 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)", | |
] | |
[[package]] | |
@@ -70,111 +81,172 @@ version = "0.4.5" | |
source = "registry+https://github.com/rust-lang/crates.io-index" | |
[[package]] | |
-name = "fragile" | |
-version = "0.3.0" | |
+name = "futures-channel" | |
+version = "0.3.4" | |
+source = "registry+https://github.com/rust-lang/crates.io-index" | |
+dependencies = [ | |
+ "futures-core 0.3.4 (registry+https://github.com/rust-lang/crates.io-index)", | |
+] | |
+ | |
+[[package]] | |
+name = "futures-core" | |
+version = "0.3.4" | |
+source = "registry+https://github.com/rust-lang/crates.io-index" | |
+ | |
+[[package]] | |
+name = "futures-executor" | |
+version = "0.3.4" | |
+source = "registry+https://github.com/rust-lang/crates.io-index" | |
+dependencies = [ | |
+ "futures-core 0.3.4 (registry+https://github.com/rust-lang/crates.io-index)", | |
+ "futures-task 0.3.4 (registry+https://github.com/rust-lang/crates.io-index)", | |
+ "futures-util 0.3.4 (registry+https://github.com/rust-lang/crates.io-index)", | |
+] | |
+ | |
+[[package]] | |
+name = "futures-io" | |
+version = "0.3.4" | |
+source = "registry+https://github.com/rust-lang/crates.io-index" | |
+ | |
+[[package]] | |
+name = "futures-macro" | |
+version = "0.3.4" | |
+source = "registry+https://github.com/rust-lang/crates.io-index" | |
+dependencies = [ | |
+ "proc-macro-hack 0.5.11 (registry+https://github.com/rust-lang/crates.io-index)", | |
+ "proc-macro2 1.0.8 (registry+https://github.com/rust-lang/crates.io-index)", | |
+ "quote 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)", | |
+ "syn 1.0.14 (registry+https://github.com/rust-lang/crates.io-index)", | |
+] | |
+ | |
+[[package]] | |
+name = "futures-task" | |
+version = "0.3.4" | |
+source = "registry+https://github.com/rust-lang/crates.io-index" | |
+ | |
+[[package]] | |
+name = "futures-util" | |
+version = "0.3.4" | |
source = "registry+https://github.com/rust-lang/crates.io-index" | |
+dependencies = [ | |
+ "futures-core 0.3.4 (registry+https://github.com/rust-lang/crates.io-index)", | |
+ "futures-macro 0.3.4 (registry+https://github.com/rust-lang/crates.io-index)", | |
+ "futures-task 0.3.4 (registry+https://github.com/rust-lang/crates.io-index)", | |
+ "pin-utils 0.1.0-alpha.4 (registry+https://github.com/rust-lang/crates.io-index)", | |
+ "proc-macro-hack 0.5.11 (registry+https://github.com/rust-lang/crates.io-index)", | |
+ "proc-macro-nested 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)", | |
+ "slab 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)", | |
+] | |
[[package]] | |
name = "gdk" | |
-version = "0.9.0" | |
+version = "0.12.1" | |
source = "registry+https://github.com/rust-lang/crates.io-index" | |
dependencies = [ | |
"bitflags 1.0.4 (registry+https://github.com/rust-lang/crates.io-index)", | |
- "cairo-rs 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)", | |
- "cairo-sys-rs 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)", | |
- "gdk-pixbuf 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)", | |
- "gdk-sys 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)", | |
- "gio 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)", | |
- "gio-sys 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)", | |
- "glib 0.6.1 (registry+https://github.com/rust-lang/crates.io-index)", | |
- "glib-sys 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)", | |
- "gobject-sys 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)", | |
+ "cairo-rs 0.8.1 (registry+https://github.com/rust-lang/crates.io-index)", | |
+ "cairo-sys-rs 0.9.2 (registry+https://github.com/rust-lang/crates.io-index)", | |
+ "gdk-pixbuf 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)", | |
+ "gdk-sys 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)", | |
+ "gio 0.8.1 (registry+https://github.com/rust-lang/crates.io-index)", | |
+ "gio-sys 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)", | |
+ "glib 0.9.3 (registry+https://github.com/rust-lang/crates.io-index)", | |
+ "glib-sys 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)", | |
+ "gobject-sys 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)", | |
"libc 0.2.66 (registry+https://github.com/rust-lang/crates.io-index)", | |
- "pango 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)", | |
+ "pango 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)", | |
] | |
[[package]] | |
name = "gdk-pixbuf" | |
-version = "0.5.0" | |
+version = "0.8.0" | |
source = "registry+https://github.com/rust-lang/crates.io-index" | |
dependencies = [ | |
- "gdk-pixbuf-sys 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)", | |
- "gio 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)", | |
- "gio-sys 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)", | |
- "glib 0.6.1 (registry+https://github.com/rust-lang/crates.io-index)", | |
- "glib-sys 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)", | |
- "gobject-sys 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)", | |
+ "gdk-pixbuf-sys 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)", | |
+ "gio 0.8.1 (registry+https://github.com/rust-lang/crates.io-index)", | |
+ "gio-sys 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)", | |
+ "glib 0.9.3 (registry+https://github.com/rust-lang/crates.io-index)", | |
+ "glib-sys 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)", | |
+ "gobject-sys 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)", | |
"libc 0.2.66 (registry+https://github.com/rust-lang/crates.io-index)", | |
] | |
[[package]] | |
name = "gdk-pixbuf-sys" | |
-version = "0.7.0" | |
+version = "0.9.1" | |
source = "registry+https://github.com/rust-lang/crates.io-index" | |
dependencies = [ | |
- "gio-sys 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)", | |
- "glib-sys 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)", | |
- "gobject-sys 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)", | |
+ "gio-sys 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)", | |
+ "glib-sys 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)", | |
+ "gobject-sys 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)", | |
"libc 0.2.66 (registry+https://github.com/rust-lang/crates.io-index)", | |
"pkg-config 0.3.17 (registry+https://github.com/rust-lang/crates.io-index)", | |
] | |
[[package]] | |
name = "gdk-sys" | |
-version = "0.7.0" | |
+version = "0.9.1" | |
source = "registry+https://github.com/rust-lang/crates.io-index" | |
dependencies = [ | |
- "cairo-sys-rs 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)", | |
- "gdk-pixbuf-sys 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)", | |
- "gio-sys 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)", | |
- "glib-sys 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)", | |
- "gobject-sys 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)", | |
+ "cairo-sys-rs 0.9.2 (registry+https://github.com/rust-lang/crates.io-index)", | |
+ "gdk-pixbuf-sys 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)", | |
+ "gio-sys 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)", | |
+ "glib-sys 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)", | |
+ "gobject-sys 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)", | |
"libc 0.2.66 (registry+https://github.com/rust-lang/crates.io-index)", | |
- "pango-sys 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)", | |
+ "pango-sys 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)", | |
"pkg-config 0.3.17 (registry+https://github.com/rust-lang/crates.io-index)", | |
] | |
[[package]] | |
name = "gio" | |
-version = "0.5.1" | |
+version = "0.8.1" | |
source = "registry+https://github.com/rust-lang/crates.io-index" | |
dependencies = [ | |
"bitflags 1.0.4 (registry+https://github.com/rust-lang/crates.io-index)", | |
- "fragile 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)", | |
- "gio-sys 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)", | |
- "glib 0.6.1 (registry+https://github.com/rust-lang/crates.io-index)", | |
- "glib-sys 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)", | |
- "gobject-sys 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)", | |
+ "futures-channel 0.3.4 (registry+https://github.com/rust-lang/crates.io-index)", | |
+ "futures-core 0.3.4 (registry+https://github.com/rust-lang/crates.io-index)", | |
+ "futures-io 0.3.4 (registry+https://github.com/rust-lang/crates.io-index)", | |
+ "futures-util 0.3.4 (registry+https://github.com/rust-lang/crates.io-index)", | |
+ "gio-sys 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)", | |
+ "glib 0.9.3 (registry+https://github.com/rust-lang/crates.io-index)", | |
+ "glib-sys 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)", | |
+ "gobject-sys 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)", | |
"lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)", | |
"libc 0.2.66 (registry+https://github.com/rust-lang/crates.io-index)", | |
] | |
[[package]] | |
name = "gio-sys" | |
-version = "0.7.0" | |
+version = "0.9.1" | |
source = "registry+https://github.com/rust-lang/crates.io-index" | |
dependencies = [ | |
- "glib-sys 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)", | |
- "gobject-sys 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)", | |
+ "glib-sys 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)", | |
+ "gobject-sys 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)", | |
"libc 0.2.66 (registry+https://github.com/rust-lang/crates.io-index)", | |
"pkg-config 0.3.17 (registry+https://github.com/rust-lang/crates.io-index)", | |
] | |
[[package]] | |
name = "glib" | |
-version = "0.6.1" | |
+version = "0.9.3" | |
source = "registry+https://github.com/rust-lang/crates.io-index" | |
dependencies = [ | |
"bitflags 1.0.4 (registry+https://github.com/rust-lang/crates.io-index)", | |
- "glib-sys 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)", | |
- "gobject-sys 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)", | |
+ "futures-channel 0.3.4 (registry+https://github.com/rust-lang/crates.io-index)", | |
+ "futures-core 0.3.4 (registry+https://github.com/rust-lang/crates.io-index)", | |
+ "futures-executor 0.3.4 (registry+https://github.com/rust-lang/crates.io-index)", | |
+ "futures-task 0.3.4 (registry+https://github.com/rust-lang/crates.io-index)", | |
+ "futures-util 0.3.4 (registry+https://github.com/rust-lang/crates.io-index)", | |
+ "glib-sys 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)", | |
+ "gobject-sys 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)", | |
"lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)", | |
"libc 0.2.66 (registry+https://github.com/rust-lang/crates.io-index)", | |
] | |
[[package]] | |
name = "glib-sys" | |
-version = "0.7.0" | |
+version = "0.9.1" | |
source = "registry+https://github.com/rust-lang/crates.io-index" | |
dependencies = [ | |
"libc 0.2.66 (registry+https://github.com/rust-lang/crates.io-index)", | |
@@ -183,52 +255,54 @@ dependencies = [ | |
[[package]] | |
name = "gobject-sys" | |
-version = "0.7.0" | |
+version = "0.9.1" | |
source = "registry+https://github.com/rust-lang/crates.io-index" | |
dependencies = [ | |
- "glib-sys 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)", | |
+ "glib-sys 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)", | |
"libc 0.2.66 (registry+https://github.com/rust-lang/crates.io-index)", | |
"pkg-config 0.3.17 (registry+https://github.com/rust-lang/crates.io-index)", | |
] | |
[[package]] | |
name = "gtk" | |
-version = "0.5.0" | |
+version = "0.8.1" | |
source = "registry+https://github.com/rust-lang/crates.io-index" | |
dependencies = [ | |
+ "atk 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)", | |
"bitflags 1.0.4 (registry+https://github.com/rust-lang/crates.io-index)", | |
- "cairo-rs 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)", | |
- "cairo-sys-rs 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)", | |
+ "cairo-rs 0.8.1 (registry+https://github.com/rust-lang/crates.io-index)", | |
+ "cairo-sys-rs 0.9.2 (registry+https://github.com/rust-lang/crates.io-index)", | |
"cc 1.0.50 (registry+https://github.com/rust-lang/crates.io-index)", | |
- "gdk 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)", | |
- "gdk-pixbuf 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)", | |
- "gdk-pixbuf-sys 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)", | |
- "gdk-sys 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)", | |
- "gio 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)", | |
- "gio-sys 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)", | |
- "glib 0.6.1 (registry+https://github.com/rust-lang/crates.io-index)", | |
- "glib-sys 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)", | |
- "gobject-sys 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)", | |
- "gtk-sys 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)", | |
+ "gdk 0.12.1 (registry+https://github.com/rust-lang/crates.io-index)", | |
+ "gdk-pixbuf 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)", | |
+ "gdk-pixbuf-sys 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)", | |
+ "gdk-sys 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)", | |
+ "gio 0.8.1 (registry+https://github.com/rust-lang/crates.io-index)", | |
+ "gio-sys 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)", | |
+ "glib 0.9.3 (registry+https://github.com/rust-lang/crates.io-index)", | |
+ "glib-sys 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)", | |
+ "gobject-sys 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)", | |
+ "gtk-sys 0.9.2 (registry+https://github.com/rust-lang/crates.io-index)", | |
"lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)", | |
"libc 0.2.66 (registry+https://github.com/rust-lang/crates.io-index)", | |
- "pango 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)", | |
+ "pango 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)", | |
+ "pango-sys 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)", | |
] | |
[[package]] | |
name = "gtk-sys" | |
-version = "0.7.0" | |
+version = "0.9.2" | |
source = "registry+https://github.com/rust-lang/crates.io-index" | |
dependencies = [ | |
- "atk-sys 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)", | |
- "cairo-sys-rs 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)", | |
- "gdk-pixbuf-sys 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)", | |
- "gdk-sys 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)", | |
- "gio-sys 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)", | |
- "glib-sys 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)", | |
- "gobject-sys 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)", | |
+ "atk-sys 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)", | |
+ "cairo-sys-rs 0.9.2 (registry+https://github.com/rust-lang/crates.io-index)", | |
+ "gdk-pixbuf-sys 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)", | |
+ "gdk-sys 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)", | |
+ "gio-sys 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)", | |
+ "glib-sys 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)", | |
+ "gobject-sys 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)", | |
"libc 0.2.66 (registry+https://github.com/rust-lang/crates.io-index)", | |
- "pango-sys 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)", | |
+ "pango-sys 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)", | |
"pkg-config 0.3.17 (registry+https://github.com/rust-lang/crates.io-index)", | |
] | |
@@ -268,34 +342,54 @@ dependencies = [ | |
[[package]] | |
name = "pango" | |
-version = "0.5.0" | |
+version = "0.8.0" | |
source = "registry+https://github.com/rust-lang/crates.io-index" | |
dependencies = [ | |
"bitflags 1.0.4 (registry+https://github.com/rust-lang/crates.io-index)", | |
- "glib 0.6.1 (registry+https://github.com/rust-lang/crates.io-index)", | |
- "glib-sys 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)", | |
- "gobject-sys 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)", | |
+ "glib 0.9.3 (registry+https://github.com/rust-lang/crates.io-index)", | |
+ "glib-sys 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)", | |
+ "gobject-sys 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)", | |
"lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)", | |
"libc 0.2.66 (registry+https://github.com/rust-lang/crates.io-index)", | |
- "pango-sys 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)", | |
+ "pango-sys 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)", | |
] | |
[[package]] | |
name = "pango-sys" | |
-version = "0.7.0" | |
+version = "0.9.1" | |
source = "registry+https://github.com/rust-lang/crates.io-index" | |
dependencies = [ | |
- "glib-sys 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)", | |
- "gobject-sys 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)", | |
+ "glib-sys 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)", | |
+ "gobject-sys 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)", | |
"libc 0.2.66 (registry+https://github.com/rust-lang/crates.io-index)", | |
"pkg-config 0.3.17 (registry+https://github.com/rust-lang/crates.io-index)", | |
] | |
+[[package]] | |
+name = "pin-utils" | |
+version = "0.1.0-alpha.4" | |
+source = "registry+https://github.com/rust-lang/crates.io-index" | |
+ | |
[[package]] | |
name = "pkg-config" | |
version = "0.3.17" | |
source = "registry+https://github.com/rust-lang/crates.io-index" | |
+[[package]] | |
+name = "proc-macro-hack" | |
+version = "0.5.11" | |
+source = "registry+https://github.com/rust-lang/crates.io-index" | |
+dependencies = [ | |
+ "proc-macro2 1.0.8 (registry+https://github.com/rust-lang/crates.io-index)", | |
+ "quote 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)", | |
+ "syn 1.0.14 (registry+https://github.com/rust-lang/crates.io-index)", | |
+] | |
+ | |
+[[package]] | |
+name = "proc-macro-nested" | |
+version = "0.1.3" | |
+source = "registry+https://github.com/rust-lang/crates.io-index" | |
+ | |
[[package]] | |
name = "proc-macro2" | |
version = "1.0.8" | |
@@ -334,15 +428,15 @@ name = "rs" | |
version = "0.1.0" | |
dependencies = [ | |
"bitflags 1.0.4 (registry+https://github.com/rust-lang/crates.io-index)", | |
- "cairo-rs 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)", | |
- "cairo-sys-rs 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)", | |
+ "cairo-rs 0.8.1 (registry+https://github.com/rust-lang/crates.io-index)", | |
+ "cairo-sys-rs 0.9.2 (registry+https://github.com/rust-lang/crates.io-index)", | |
"clap 2.32.0 (registry+https://github.com/rust-lang/crates.io-index)", | |
- "gdk 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)", | |
- "gio 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)", | |
- "glib 0.6.1 (registry+https://github.com/rust-lang/crates.io-index)", | |
- "glib-sys 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)", | |
- "gtk 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)", | |
- "gtk-sys 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)", | |
+ "gdk 0.12.1 (registry+https://github.com/rust-lang/crates.io-index)", | |
+ "gio 0.8.1 (registry+https://github.com/rust-lang/crates.io-index)", | |
+ "glib 0.9.3 (registry+https://github.com/rust-lang/crates.io-index)", | |
+ "glib-sys 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)", | |
+ "gtk 0.8.1 (registry+https://github.com/rust-lang/crates.io-index)", | |
+ "gtk-sys 0.9.2 (registry+https://github.com/rust-lang/crates.io-index)", | |
"maplit 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)", | |
"regex 1.1.9 (registry+https://github.com/rust-lang/crates.io-index)", | |
"serde 1.0.104 (registry+https://github.com/rust-lang/crates.io-index)", | |
@@ -379,6 +473,11 @@ dependencies = [ | |
"yaml-rust 0.4.3 (registry+https://github.com/rust-lang/crates.io-index)", | |
] | |
+[[package]] | |
+name = "slab" | |
+version = "0.4.2" | |
+source = "registry+https://github.com/rust-lang/crates.io-index" | |
+ | |
[[package]] | |
name = "syn" | |
version = "1.0.14" | |
@@ -458,34 +557,44 @@ dependencies = [ | |
[metadata] | |
"checksum aho-corasick 0.7.8 (registry+https://github.com/rust-lang/crates.io-index)" = "743ad5a418686aad3b87fd14c43badd828cf26e214a00f92a384291cf22e1811" | |
-"checksum atk-sys 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)" = "c7017e53393e713212aed7aea336b6553be4927f58c37070a56c2fe3d107e489" | |
+"checksum atk 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)" = "444daefa55f229af145ea58d77efd23725024ee1f6f3102743709aa6b18c663e" | |
+"checksum atk-sys 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)" = "e552c1776737a4c80110d06b36d099f47c727335f9aaa5d942a72b6863a8ec6f" | |
"checksum bitflags 1.0.4 (registry+https://github.com/rust-lang/crates.io-index)" = "228047a76f468627ca71776ecdebd732a3423081fcf5125585bcd7c49886ce12" | |
-"checksum cairo-rs 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)" = "dd940f0d609699e343ef71c4af5f66423afbf30d666f796dabd8fd15229cf5b6" | |
-"checksum cairo-sys-rs 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)" = "d25596627380be4381247dba06c69ad05ca21b3b065bd9827e416882ac41dcd2" | |
+"checksum cairo-rs 0.8.1 (registry+https://github.com/rust-lang/crates.io-index)" = "157049ba9618aa3a61c39d5d785102c04d3b1f40632a706c621a9aedc21e6084" | |
+"checksum cairo-sys-rs 0.9.2 (registry+https://github.com/rust-lang/crates.io-index)" = "ff65ba02cac715be836f63429ab00a767d48336efc5497c5637afb53b4f14d63" | |
"checksum cc 1.0.50 (registry+https://github.com/rust-lang/crates.io-index)" = "95e28fa049fda1c330bcf9d723be7663a899c4679724b34c81e9f5a326aab8cd" | |
"checksum clap 2.32.0 (registry+https://github.com/rust-lang/crates.io-index)" = "b957d88f4b6a63b9d70d5f454ac8011819c6efa7727858f458ab71c756ce2d3e" | |
"checksum dtoa 0.4.5 (registry+https://github.com/rust-lang/crates.io-index)" = "4358a9e11b9a09cf52383b451b49a169e8d797b68aa02301ff586d70d9661ea3" | |
-"checksum fragile 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)" = "05f8140122fa0d5dcb9fc8627cfce2b37cc1500f752636d46ea28bc26785c2f9" | |
-"checksum gdk 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)" = "bcc52c7244046df9d959df87289f1fc5cca23f9f850bab0c967963e2ecb83a96" | |
-"checksum gdk-pixbuf 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)" = "bc3aa730cb4df3de5d9fed59f43afdf9e5fb2d3d10bfcbd04cec031435ce87f5" | |
-"checksum gdk-pixbuf-sys 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)" = "08284f16ce4d909b10d785a763ba190e222d2c1557b29908bf0a661e27a8ac3b" | |
-"checksum gdk-sys 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)" = "108548ebf5329b551f2b97ab356908d14627905abb74b936c3372de1535aee81" | |
-"checksum gio 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)" = "29a44b051990573448edc80b1995237f8b97b5734d2aec05105b9242aa10af11" | |
-"checksum gio-sys 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)" = "6975ada29f7924dc1c90b30ed3b32d777805a275556c05e420da4fbdc22eb250" | |
-"checksum glib 0.6.1 (registry+https://github.com/rust-lang/crates.io-index)" = "7a333edf5b9f1411c246ef14e7881b087255f04c56dbef48c64a0cb039b4b340" | |
-"checksum glib-sys 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)" = "3573351e846caed9f11207b275cd67bc07f0c2c94fb628e5d7c92ca056c7882d" | |
-"checksum gobject-sys 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)" = "08475e4a08f27e6e2287005950114735ed61cec2cb8c1187682a5aec8c69b715" | |
-"checksum gtk 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)" = "56a6b30f194f09a17bb7ffa95c3ecdb405abd3b75ff981f831b1f6d18fe115ff" | |
-"checksum gtk-sys 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)" = "d487d333a4b87072e6bf9f2e55befa0ebef01b9496c2e263c0f4a1ff3d6c04b1" | |
+"checksum futures-channel 0.3.4 (registry+https://github.com/rust-lang/crates.io-index)" = "f0c77d04ce8edd9cb903932b608268b3fffec4163dc053b3b402bf47eac1f1a8" | |
+"checksum futures-core 0.3.4 (registry+https://github.com/rust-lang/crates.io-index)" = "f25592f769825e89b92358db00d26f965761e094951ac44d3663ef25b7ac464a" | |
+"checksum futures-executor 0.3.4 (registry+https://github.com/rust-lang/crates.io-index)" = "f674f3e1bcb15b37284a90cedf55afdba482ab061c407a9c0ebbd0f3109741ba" | |
+"checksum futures-io 0.3.4 (registry+https://github.com/rust-lang/crates.io-index)" = "a638959aa96152c7a4cddf50fcb1e3fede0583b27157c26e67d6f99904090dc6" | |
+"checksum futures-macro 0.3.4 (registry+https://github.com/rust-lang/crates.io-index)" = "9a5081aa3de1f7542a794a397cde100ed903b0630152d0973479018fd85423a7" | |
+"checksum futures-task 0.3.4 (registry+https://github.com/rust-lang/crates.io-index)" = "7b0a34e53cf6cdcd0178aa573aed466b646eb3db769570841fda0c7ede375a27" | |
+"checksum futures-util 0.3.4 (registry+https://github.com/rust-lang/crates.io-index)" = "22766cf25d64306bedf0384da004d05c9974ab104fcc4528f1236181c18004c5" | |
+"checksum gdk 0.12.1 (registry+https://github.com/rust-lang/crates.io-index)" = "fbe5e8772fc0865c52460cdd7a59d7d47700f44d9809d1dd00eecceb769a7589" | |
+"checksum gdk-pixbuf 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)" = "e248220c46b329b097d4b158d2717f8c688f16dd76d0399ace82b3e98062bdd7" | |
+"checksum gdk-pixbuf-sys 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)" = "d8991b060a9e9161bafd09bf4a202e6fd404f5b4dd1a08d53a1e84256fb34ab0" | |
+"checksum gdk-sys 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)" = "6adf679e91d1bff0c06860287f80403e7db54c2d2424dce0a470023b56c88fbb" | |
+"checksum gio 0.8.1 (registry+https://github.com/rust-lang/crates.io-index)" = "0cd10f9415cce39b53f8024bf39a21f84f8157afa52da53837b102e585a296a5" | |
+"checksum gio-sys 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)" = "4fad225242b9eae7ec8a063bb86974aca56885014672375e5775dc0ea3533911" | |
+"checksum glib 0.9.3 (registry+https://github.com/rust-lang/crates.io-index)" = "40fb573a09841b6386ddf15fd4bc6655b4f5b106ca962f57ecaecde32a0061c0" | |
+"checksum glib-sys 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)" = "95856f3802f446c05feffa5e24859fe6a183a7cb849c8449afc35c86b1e316e2" | |
+"checksum gobject-sys 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)" = "31d1a804f62034eccf370006ccaef3708a71c31d561fee88564abe71177553d9" | |
+"checksum gtk 0.8.1 (registry+https://github.com/rust-lang/crates.io-index)" = "87e1e8d70290239c668594002d1b174fcc7d7ef5d26670ee141490ede8facf8f" | |
+"checksum gtk-sys 0.9.2 (registry+https://github.com/rust-lang/crates.io-index)" = "53def660c7b48b00b510c81ef2d2fbd3c570f1527081d8d7947f471513e1a4c1" | |
"checksum lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)" = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646" | |
"checksum libc 0.2.66 (registry+https://github.com/rust-lang/crates.io-index)" = "d515b1f41455adea1313a4a2ac8a8a477634fbae63cc6100e3aebb207ce61558" | |
"checksum linked-hash-map 0.5.2 (registry+https://github.com/rust-lang/crates.io-index)" = "ae91b68aebc4ddb91978b11a1b02ddd8602a05ec19002801c5666000e05e0f83" | |
"checksum maplit 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)" = "3e2e65a1a2e43cfcb47a895c4c8b10d1f4a61097f9f254f183aee60cad9c651d" | |
"checksum memchr 2.3.2 (registry+https://github.com/rust-lang/crates.io-index)" = "53445de381a1f436797497c61d851644d0e8e88e6140f22872ad33a704933978" | |
"checksum memmap 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)" = "6585fd95e7bb50d6cc31e20d4cf9afb4e2ba16c5846fc76793f11218da9c475b" | |
-"checksum pango 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)" = "4c2cb169402a3eb1ba034a7cc7d95b8b1c106e9be5ba4be79a5a93dc1a2795f4" | |
-"checksum pango-sys 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)" = "d6eb49268e69dd0c1da5d3001a61aac08e2e9d2bfbe4ae4b19b9963c998f6453" | |
+"checksum pango 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)" = "1e9c6b728f1be8edb5f9f981420b651d5ea30bdb9de89f1f1262d0084a020577" | |
+"checksum pango-sys 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)" = "86b93d84907b3cf0819bff8f13598ba72843bee579d5ebc2502e4b0367b4be7d" | |
+"checksum pin-utils 0.1.0-alpha.4 (registry+https://github.com/rust-lang/crates.io-index)" = "5894c618ce612a3fa23881b152b608bafb8c56cfc22f434a3ba3120b40f7b587" | |
"checksum pkg-config 0.3.17 (registry+https://github.com/rust-lang/crates.io-index)" = "05da548ad6865900e60eaba7f589cc0783590a92e940c26953ff81ddbab2d677" | |
+"checksum proc-macro-hack 0.5.11 (registry+https://github.com/rust-lang/crates.io-index)" = "ecd45702f76d6d3c75a80564378ae228a85f0b59d2f3ed43c91b4a69eb2ebfc5" | |
+"checksum proc-macro-nested 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)" = "369a6ed065f249a159e06c45752c780bda2fb53c995718f9e484d08daa9eb42e" | |
"checksum proc-macro2 1.0.8 (registry+https://github.com/rust-lang/crates.io-index)" = "3acb317c6ff86a4e579dfa00fc5e6cca91ecbb4e7eb2df0468805b674eb88548" | |
"checksum quote 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)" = "053a8c8bcc71fcce321828dc897a98ab9760bef03a4fc36693c231e5b3216cfe" | |
"checksum regex 1.1.9 (registry+https://github.com/rust-lang/crates.io-index)" = "d9d8297cc20bbb6184f8b45ff61c8ee6a9ac56c156cec8e38c3e5084773c44ad" | |
@@ -493,6 +602,7 @@ dependencies = [ | |
"checksum serde 1.0.104 (registry+https://github.com/rust-lang/crates.io-index)" = "414115f25f818d7dfccec8ee535d76949ae78584fc4f79a6f45a904bf8ab4449" | |
"checksum serde_derive 1.0.104 (registry+https://github.com/rust-lang/crates.io-index)" = "128f9e303a5a29922045a830221b8f78ec74a5f544944f3d5984f8ec3895ef64" | |
"checksum serde_yaml 0.8.11 (registry+https://github.com/rust-lang/crates.io-index)" = "691b17f19fc1ec9d94ec0b5864859290dff279dbd7b03f017afda54eb36c3c35" | |
+"checksum slab 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)" = "c111b5bd5695e56cffe5129854aa230b39c93a305372fdbb2668ca2394eea9f8" | |
"checksum syn 1.0.14 (registry+https://github.com/rust-lang/crates.io-index)" = "af6f3550d8dff9ef7dc34d384ac6f107e5d31c8f57d9f28e0081503f547ac8f5" | |
"checksum textwrap 0.10.0 (registry+https://github.com/rust-lang/crates.io-index)" = "307686869c93e71f94da64286f9a9524c0f308a9e1c87a583de8e9c9039ad3f6" | |
"checksum thread_local 0.3.6 (registry+https://github.com/rust-lang/crates.io-index)" = "c6b53e329000edc2b34dbe8545fd20e55a333362d0a321909685a19bd28c3f1b" | |
diff --git a/Cargo.toml b/Cargo.toml | |
index e59996f..c411d28 100644 | |
--- a/Cargo.toml | |
+++ b/Cargo.toml | |
@@ -12,7 +12,7 @@ serde_yaml = "0.8.*" | |
xkbcommon = { version = "0.4.*", features = ["wayland"] } | |
[dependencies.cairo-rs] | |
-version = "0.5.*" | |
+version = "0.8.*" | |
[dependencies.cairo-sys-rs] | |
version = "" | |
@@ -33,7 +33,7 @@ version = "" | |
features = ["v2_44"] | |
[dependencies.gtk] | |
-version = "0.5.*" | |
+version = "0.8.*" | |
features = ["v3_22"] | |
[dependencies.gtk-sys] | |
diff --git a/src/popover.rs b/src/popover.rs | |
index 8330a92..7e947f4 100644 | |
--- a/src/popover.rs | |
+++ b/src/popover.rs | |
@@ -13,7 +13,7 @@ use ::resources; | |
use gio::ActionMapExt; | |
use gio::SettingsExt; | |
-use gio::SimpleActionExt; | |
+use gtk::prelude::BuilderExtManual; | |
use glib::translate::FromGlibPtrNone; | |
use glib::variant::ToVariant; | |
use gtk::PopoverExt; | |
@@ -134,7 +134,7 @@ fn make_menu_builder(inputs: Vec<(&str, OwnedTranslation)>) -> gtk::Builder { | |
fn set_layout(kind: String, name: String) { | |
let settings = gio::Settings::new("org.gnome.desktop.input-sources"); | |
- let inputs = settings.get_value("sources").unwrap(); | |
+ let inputs = settings.get_value("sources"); | |
let current = (kind.clone(), name.clone()); | |
let inputs = variants::get_tuples(inputs).into_iter() | |
.filter(|t| t != ¤t); | |
@@ -285,7 +285,7 @@ pub fn show( | |
.map(|name| LayoutId::Local(name.to_string())); | |
let settings = gio::Settings::new("org.gnome.desktop.input-sources"); | |
- let inputs = settings.get_value("sources").unwrap(); | |
+ let inputs = settings.get_value("sources"); | |
let inputs = variants::get_tuples(inputs); | |
let system_layouts: Vec<LayoutId> = inputs.into_iter() | |
diff --git a/src/style.rs b/src/style.rs | |
index 153431a..2d7d539 100644 | |
--- a/src/style.rs | |
+++ b/src/style.rs | |
@@ -99,13 +99,13 @@ fn get_theme_name(settings: >k::Settings) -> GtkTheme { | |
name: { | |
settings.get_property("gtk-theme-name") | |
.or_print(logging::Problem::Surprise, "No theme name") | |
- .and_then(|value| value.get::<String>()) | |
+ .and_then(|value| value.get::<String>().unwrap()) | |
.unwrap_or(DEFAULT_THEME_NAME.into()) | |
}, | |
variant: { | |
settings.get_property("gtk-application-prefer-dark-theme") | |
.or_print(logging::Problem::Surprise, "No settings key") | |
- .and_then(|value| value.get::<bool>()) | |
+ .and_then(|value| value.get::<bool>().unwrap()) | |
.and_then(|dark_preferred| match dark_preferred { | |
true => Some("dark".into()), | |
false => None, | |
-- | |
2.21.0 (Apple Git-122.2) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment