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

Commit 5ec0ade

Browse files
committed
Regenerate gir for returned collections
1 parent 276fbad commit 5ec0ade

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

54 files changed

+130
-130
lines changed

atk/src/auto/text.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ pub trait TextExt: 'static {
3838
coord_type: CoordType,
3939
x_clip_type: TextClipType,
4040
y_clip_type: TextClipType,
41-
) -> Vec<TextRange>;
41+
) -> glib::PtrSlice<TextRange>;
4242

4343
#[doc(alias = "atk_text_get_caret_offset")]
4444
#[doc(alias = "get_caret_offset")]
@@ -169,7 +169,7 @@ impl<O: IsA<Text>> TextExt for O {
169169
coord_type: CoordType,
170170
x_clip_type: TextClipType,
171171
y_clip_type: TextClipType,
172-
) -> Vec<TextRange> {
172+
) -> glib::PtrSlice<TextRange> {
173173
unsafe {
174174
FromGlibPtrContainer::from_glib_full(ffi::atk_text_get_bounded_ranges(
175175
self.as_ref().to_glib_none().0,

atk/src/auto/value.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ pub trait ValueExt: 'static {
5050

5151
#[doc(alias = "atk_value_get_sub_ranges")]
5252
#[doc(alias = "get_sub_ranges")]
53-
fn sub_ranges(&self) -> Vec<Range>;
53+
fn sub_ranges(&self) -> glib::SList<Range>;
5454

5555
#[doc(alias = "atk_value_get_value_and_text")]
5656
#[doc(alias = "get_value_and_text")]
@@ -119,7 +119,7 @@ impl<O: IsA<Value>> ValueExt for O {
119119
unsafe { from_glib_full(ffi::atk_value_get_range(self.as_ref().to_glib_none().0)) }
120120
}
121121

122-
fn sub_ranges(&self) -> Vec<Range> {
122+
fn sub_ranges(&self) -> glib::SList<Range> {
123123
unsafe {
124124
FromGlibPtrContainer::from_glib_full(ffi::atk_value_get_sub_ranges(
125125
self.as_ref().to_glib_none().0,

atk/src/auto/versions.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
Generated by gir (https://github.com/gtk-rs/gir @ 425f84d5af7f)
2-
from gir-files (https://github.com/gtk-rs/gir-files @ 4eaad6a722bf)
1+
Generated by gir (https://github.com/gtk-rs/gir @ 95ecf2cb6f7a)
2+
from gir-files (https://github.com/gtk-rs/gir-files @ b985117c8977)

atk/sys/versions.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
Generated by gir (https://github.com/gtk-rs/gir @ 425f84d5af7f)
2-
from gir-files (https://github.com/gtk-rs/gir-files @ 4eaad6a722bf)
1+
Generated by gir (https://github.com/gtk-rs/gir @ 95ecf2cb6f7a)
2+
from gir-files (https://github.com/gtk-rs/gir-files @ b985117c8977)

gdk/src/auto/device.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -121,10 +121,10 @@ pub trait DeviceExt: 'static {
121121
fn window_at_position_double(&self) -> (Option<Window>, f64, f64);
122122

123123
#[doc(alias = "gdk_device_list_axes")]
124-
fn list_axes(&self) -> Vec<Atom>;
124+
fn list_axes(&self) -> glib::List<Atom>;
125125

126126
#[doc(alias = "gdk_device_list_slave_devices")]
127-
fn list_slave_devices(&self) -> Vec<Device>;
127+
fn list_slave_devices(&self) -> glib::List<Device>;
128128

129129
#[doc(alias = "gdk_device_set_axis_use")]
130130
fn set_axis_use(&self, index_: u32, use_: AxisUse);
@@ -364,15 +364,15 @@ impl<O: IsA<Device>> DeviceExt for O {
364364
}
365365
}
366366

367-
fn list_axes(&self) -> Vec<Atom> {
367+
fn list_axes(&self) -> glib::List<Atom> {
368368
unsafe {
369369
FromGlibPtrContainer::from_glib_container(ffi::gdk_device_list_axes(
370370
self.as_ref().to_glib_none().0,
371371
))
372372
}
373373
}
374374

375-
fn list_slave_devices(&self) -> Vec<Device> {
375+
fn list_slave_devices(&self) -> glib::List<Device> {
376376
unsafe {
377377
FromGlibPtrContainer::from_glib_container(ffi::gdk_device_list_slave_devices(
378378
self.as_ref().to_glib_none().0,

gdk/src/auto/display.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ impl Display {
169169
}
170170

171171
#[doc(alias = "gdk_display_list_seats")]
172-
pub fn list_seats(&self) -> Vec<Seat> {
172+
pub fn list_seats(&self) -> glib::List<Seat> {
173173
unsafe {
174174
FromGlibPtrContainer::from_glib_container(ffi::gdk_display_list_seats(
175175
self.to_glib_none().0,

gdk/src/auto/display_manager.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ impl DisplayManager {
3131
}
3232

3333
#[doc(alias = "gdk_display_manager_list_displays")]
34-
pub fn list_displays(&self) -> Vec<Display> {
34+
pub fn list_displays(&self) -> glib::SList<Display> {
3535
unsafe {
3636
FromGlibPtrContainer::from_glib_container(ffi::gdk_display_manager_list_displays(
3737
self.to_glib_none().0,

gdk/src/auto/drag_context.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ impl DragContext {
8181
}
8282

8383
#[doc(alias = "gdk_drag_context_list_targets")]
84-
pub fn list_targets(&self) -> Vec<Atom> {
84+
pub fn list_targets(&self) -> glib::List<Atom> {
8585
unsafe {
8686
FromGlibPtrContainer::from_glib_none(ffi::gdk_drag_context_list_targets(
8787
self.to_glib_none().0,

gdk/src/auto/screen.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ impl Screen {
5252

5353
#[doc(alias = "gdk_screen_get_toplevel_windows")]
5454
#[doc(alias = "get_toplevel_windows")]
55-
pub fn toplevel_windows(&self) -> Vec<Window> {
55+
pub fn toplevel_windows(&self) -> glib::List<Window> {
5656
unsafe {
5757
FromGlibPtrContainer::from_glib_container(ffi::gdk_screen_get_toplevel_windows(
5858
self.to_glib_none().0,
@@ -62,7 +62,7 @@ impl Screen {
6262

6363
#[doc(alias = "gdk_screen_get_window_stack")]
6464
#[doc(alias = "get_window_stack")]
65-
pub fn window_stack(&self) -> Vec<Window> {
65+
pub fn window_stack(&self) -> glib::List<Window> {
6666
unsafe {
6767
FromGlibPtrContainer::from_glib_full(ffi::gdk_screen_get_window_stack(
6868
self.to_glib_none().0,
@@ -76,7 +76,7 @@ impl Screen {
7676
}
7777

7878
#[doc(alias = "gdk_screen_list_visuals")]
79-
pub fn list_visuals(&self) -> Vec<Visual> {
79+
pub fn list_visuals(&self) -> glib::List<Visual> {
8080
unsafe {
8181
FromGlibPtrContainer::from_glib_container(ffi::gdk_screen_list_visuals(
8282
self.to_glib_none().0,

gdk/src/auto/seat.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ pub trait SeatExt: 'static {
4242

4343
#[doc(alias = "gdk_seat_get_slaves")]
4444
#[doc(alias = "get_slaves")]
45-
fn slaves(&self, capabilities: SeatCapabilities) -> Vec<Device>;
45+
fn slaves(&self, capabilities: SeatCapabilities) -> glib::List<Device>;
4646

4747
#[doc(alias = "gdk_seat_grab")]
4848
fn grab(
@@ -92,7 +92,7 @@ impl<O: IsA<Seat>> SeatExt for O {
9292
unsafe { from_glib_none(ffi::gdk_seat_get_pointer(self.as_ref().to_glib_none().0)) }
9393
}
9494

95-
fn slaves(&self, capabilities: SeatCapabilities) -> Vec<Device> {
95+
fn slaves(&self, capabilities: SeatCapabilities) -> glib::List<Device> {
9696
unsafe {
9797
FromGlibPtrContainer::from_glib_container(ffi::gdk_seat_get_slaves(
9898
self.as_ref().to_glib_none().0,

0 commit comments

Comments
 (0)