Skip to content
This repository was archived by the owner on Mar 4, 2024. It is now read-only.

Commit 482e6d6

Browse files
authored
Merge pull request #735 from sdroege/0.15-backports
0.15 backports
2 parents ae1455d + a0e185f commit 482e6d6

File tree

15 files changed

+27
-39
lines changed

15 files changed

+27
-39
lines changed

atk/src/auto/versions.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
Generated by gir (https://github.com/gtk-rs/gir @ 78e3d3c22343)
2-
from gir-files (https://github.com/gtk-rs/gir-files @ 5264fd0c3183)
2+
from gir-files (https://github.com/gtk-rs/gir-files @ 68003b4b40e5)

atk/sys/versions.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
Generated by gir (https://github.com/gtk-rs/gir @ 78e3d3c22343)
2-
from gir-files (https://github.com/gtk-rs/gir-files @ 5264fd0c3183)
2+
from gir-files (https://github.com/gtk-rs/gir-files @ 68003b4b40e5)

gdk/src/auto/versions.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
Generated by gir (https://github.com/gtk-rs/gir @ 78e3d3c22343)
2-
from gir-files (https://github.com/gtk-rs/gir-files @ 5264fd0c3183)
2+
from gir-files (https://github.com/gtk-rs/gir-files @ 68003b4b40e5)

gdk/src/visual.rs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,11 @@ impl Visual {
1313

1414
unsafe {
1515
ffi::gdk_query_depths(&mut ptr, &mut count);
16-
Vec::from(slice::from_raw_parts(ptr as *const i32, count as usize))
16+
if ptr.is_null() || count == 0 {
17+
vec![]
18+
} else {
19+
Vec::from(slice::from_raw_parts(ptr as *const i32, count as usize))
20+
}
1721
}
1822
}
1923
}

gdk/sys/versions.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
Generated by gir (https://github.com/gtk-rs/gir @ 78e3d3c22343)
2-
from gir-files (https://github.com/gtk-rs/gir-files @ 5264fd0c3183)
2+
from gir-files (https://github.com/gtk-rs/gir-files @ 68003b4b40e5)

gdkx11/src/auto/versions.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
Generated by gir (https://github.com/gtk-rs/gir @ 78e3d3c22343)
2-
from gir-files (https://github.com/gtk-rs/gir-files @ 5264fd0c3183)
2+
from gir-files (https://github.com/gtk-rs/gir-files @ 68003b4b40e5)

gdkx11/sys/versions.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
Generated by gir (https://github.com/gtk-rs/gir @ 78e3d3c22343)
2-
from gir-files (https://github.com/gtk-rs/gir-files @ 5264fd0c3183)
2+
from gir-files (https://github.com/gtk-rs/gir-files @ 68003b4b40e5)

gtk/Gir.toml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1047,7 +1047,6 @@ generate_builder = true
10471047
[[object]]
10481048
name = "Gtk.FileChooserWidgetAccessible"
10491049
status = "generate"
1050-
version = "3.24.30"
10511050

10521051
[[object]]
10531052
name = "Gtk.Fixed"
@@ -1239,7 +1238,6 @@ generate_builder = true
12391238
name = "Gtk.HeaderBarAccessible"
12401239
status = "generate"
12411240
generate_builder = true
1242-
version = "3.24.11"
12431241

12441242
[[object]]
12451243
name = "Gtk.IconTheme"
@@ -1768,7 +1766,6 @@ name = "Gtk.PlugAccessible"
17681766
status = "generate"
17691767
generate_builder = true
17701768
cfg_condition = "gdk_backend = \"x11\""
1771-
version = "3.24.30"
17721769

17731770
[[object]]
17741771
name = "Gtk.Popover"
@@ -2118,7 +2115,6 @@ name = "Gtk.SocketAccessible"
21182115
status = "generate"
21192116
generate_builder = true
21202117
cfg_condition = "gdk_backend = \"x11\""
2121-
version = "3.24.30"
21222118

21232119
[[object]]
21242120
name = "Gtk.SpinButton"

gtk/src/auto/versions.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
Generated by gir (https://github.com/gtk-rs/gir @ 78e3d3c22343)
2-
from gir-files (https://github.com/gtk-rs/gir-files @ 5264fd0c3183)
2+
from gir-files (https://github.com/gtk-rs/gir-files @ 68003b4b40e5)

0 commit comments

Comments
 (0)