Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Regenerate gir for returned collections #1323

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions gdk4-wayland/src/auto/versions.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Generated by gir (https://github.com/gtk-rs/gir @ 425f84d5af7f)
from gir-files (https://github.com/gtk-rs/gir-files @ 070b815b271d)
Generated by gir (https://github.com/gtk-rs/gir @ 95ecf2cb6f7a)
from gir-files (https://github.com/gtk-rs/gir-files @ b985117c8977)
4 changes: 2 additions & 2 deletions gdk4-wayland/sys/versions.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Generated by gir (https://github.com/gtk-rs/gir @ 425f84d5af7f)
from gir-files (https://github.com/gtk-rs/gir-files @ 070b815b271d)
Generated by gir (https://github.com/gtk-rs/gir @ 95ecf2cb6f7a)
from gir-files (https://github.com/gtk-rs/gir-files @ b985117c8977)
4 changes: 2 additions & 2 deletions gdk4-win32/src/auto/versions.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Generated by gir (https://github.com/gtk-rs/gir @ 425f84d5af7f)
from gir-files (https://github.com/gtk-rs/gir-files @ 070b815b271d)
Generated by gir (https://github.com/gtk-rs/gir @ 95ecf2cb6f7a)
from gir-files (https://github.com/gtk-rs/gir-files @ b985117c8977)
4 changes: 2 additions & 2 deletions gdk4-win32/sys/versions.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Generated by gir (https://github.com/gtk-rs/gir @ 425f84d5af7f)
from gir-files (https://github.com/gtk-rs/gir-files @ 070b815b271d)
Generated by gir (https://github.com/gtk-rs/gir @ 95ecf2cb6f7a)
from gir-files (https://github.com/gtk-rs/gir-files @ b985117c8977)
4 changes: 2 additions & 2 deletions gdk4-x11/src/auto/versions.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Generated by gir (https://github.com/gtk-rs/gir @ 425f84d5af7f)
from gir-files (https://github.com/gtk-rs/gir-files @ 070b815b271d)
Generated by gir (https://github.com/gtk-rs/gir @ 95ecf2cb6f7a)
from gir-files (https://github.com/gtk-rs/gir-files @ b985117c8977)
4 changes: 2 additions & 2 deletions gdk4-x11/sys/versions.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Generated by gir (https://github.com/gtk-rs/gir @ 425f84d5af7f)
from gir-files (https://github.com/gtk-rs/gir-files @ 070b815b271d)
Generated by gir (https://github.com/gtk-rs/gir @ 95ecf2cb6f7a)
from gir-files (https://github.com/gtk-rs/gir-files @ b985117c8977)
4 changes: 2 additions & 2 deletions gdk4/src/auto/display.rs
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ pub trait DisplayExt: 'static {
fn is_rgba(&self) -> bool;

#[doc(alias = "gdk_display_list_seats")]
fn list_seats(&self) -> Vec<Seat>;
fn list_seats(&self) -> glib::List<Seat>;

#[cfg_attr(feature = "v4_10", deprecated = "Since 4.10")]
#[allow(deprecated)]
Expand Down Expand Up @@ -285,7 +285,7 @@ impl<O: IsA<Display>> DisplayExt for O {
unsafe { from_glib(ffi::gdk_display_is_rgba(self.as_ref().to_glib_none().0)) }
}

fn list_seats(&self) -> Vec<Seat> {
fn list_seats(&self) -> glib::List<Seat> {
unsafe {
FromGlibPtrContainer::from_glib_container(ffi::gdk_display_list_seats(
self.as_ref().to_glib_none().0,
Expand Down
2 changes: 1 addition & 1 deletion gdk4/src/auto/display_manager.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ impl DisplayManager {
}

#[doc(alias = "gdk_display_manager_list_displays")]
pub fn list_displays(&self) -> Vec<Display> {
pub fn list_displays(&self) -> glib::SList<Display> {
unsafe {
FromGlibPtrContainer::from_glib_container(ffi::gdk_display_manager_list_displays(
self.to_glib_none().0,
Expand Down
2 changes: 1 addition & 1 deletion gdk4/src/auto/event.rs
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ impl Event {

#[doc(alias = "gdk_event_get_history")]
#[doc(alias = "get_history")]
pub fn history(&self) -> Vec<TimeCoord> {
pub fn history(&self) -> glib::Slice<TimeCoord> {
unsafe {
let mut out_n_coords = mem::MaybeUninit::uninit();
let ret = FromGlibContainer::from_glib_container_num(
Expand Down
2 changes: 1 addition & 1 deletion gdk4/src/auto/file_list.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ impl FileList {

#[doc(alias = "gdk_file_list_get_files")]
#[doc(alias = "get_files")]
pub fn files(&self) -> Vec<gio::File> {
pub fn files(&self) -> glib::SList<gio::File> {
unsafe {
FromGlibPtrContainer::from_glib_container(ffi::gdk_file_list_get_files(mut_override(
self.to_glib_none().0,
Expand Down
8 changes: 4 additions & 4 deletions gdk4/src/auto/seat.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ pub trait SeatExt: 'static {

#[doc(alias = "gdk_seat_get_devices")]
#[doc(alias = "get_devices")]
fn devices(&self, capabilities: SeatCapabilities) -> Vec<Device>;
fn devices(&self, capabilities: SeatCapabilities) -> glib::List<Device>;

#[doc(alias = "gdk_seat_get_display")]
#[doc(alias = "get_display")]
Expand All @@ -46,7 +46,7 @@ pub trait SeatExt: 'static {

#[doc(alias = "gdk_seat_get_tools")]
#[doc(alias = "get_tools")]
fn tools(&self) -> Vec<DeviceTool>;
fn tools(&self) -> glib::List<DeviceTool>;

#[doc(alias = "device-added")]
fn connect_device_added<F: Fn(&Self, &Device) + 'static>(&self, f: F) -> SignalHandlerId;
Expand All @@ -70,7 +70,7 @@ impl<O: IsA<Seat>> SeatExt for O {
}
}

fn devices(&self, capabilities: SeatCapabilities) -> Vec<Device> {
fn devices(&self, capabilities: SeatCapabilities) -> glib::List<Device> {
unsafe {
FromGlibPtrContainer::from_glib_container(ffi::gdk_seat_get_devices(
self.as_ref().to_glib_none().0,
Expand All @@ -91,7 +91,7 @@ impl<O: IsA<Seat>> SeatExt for O {
unsafe { from_glib_none(ffi::gdk_seat_get_pointer(self.as_ref().to_glib_none().0)) }
}

fn tools(&self) -> Vec<DeviceTool> {
fn tools(&self) -> glib::List<DeviceTool> {
unsafe {
FromGlibPtrContainer::from_glib_container(ffi::gdk_seat_get_tools(
self.as_ref().to_glib_none().0,
Expand Down
4 changes: 2 additions & 2 deletions gdk4/src/auto/versions.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Generated by gir (https://github.com/gtk-rs/gir @ 425f84d5af7f)
from gir-files (https://github.com/gtk-rs/gir-files @ 070b815b271d)
Generated by gir (https://github.com/gtk-rs/gir @ 95ecf2cb6f7a)
from gir-files (https://github.com/gtk-rs/gir-files @ b985117c8977)
4 changes: 2 additions & 2 deletions gdk4/sys/versions.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Generated by gir (https://github.com/gtk-rs/gir @ 425f84d5af7f)
from gir-files (https://github.com/gtk-rs/gir-files @ 070b815b271d)
Generated by gir (https://github.com/gtk-rs/gir @ 95ecf2cb6f7a)
from gir-files (https://github.com/gtk-rs/gir-files @ b985117c8977)
2 changes: 1 addition & 1 deletion gir-files
2 changes: 1 addition & 1 deletion gsk4/src/auto/conic_gradient_node.rs
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ impl ConicGradientNode {

#[doc(alias = "gsk_conic_gradient_node_get_color_stops")]
#[doc(alias = "get_color_stops")]
pub fn color_stops(&self) -> Vec<ColorStop> {
pub fn color_stops(&self) -> glib::Slice<ColorStop> {
unsafe {
let mut n_stops = mem::MaybeUninit::uninit();
let ret = FromGlibContainer::from_glib_none_num(
Expand Down
2 changes: 1 addition & 1 deletion gsk4/src/auto/linear_gradient_node.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ impl LinearGradientNode {

#[doc(alias = "gsk_linear_gradient_node_get_color_stops")]
#[doc(alias = "get_color_stops")]
pub fn color_stops(&self) -> Vec<ColorStop> {
pub fn color_stops(&self) -> glib::Slice<ColorStop> {
unsafe {
let mut n_stops = mem::MaybeUninit::uninit();
let ret = FromGlibContainer::from_glib_none_num(
Expand Down
2 changes: 1 addition & 1 deletion gsk4/src/auto/radial_gradient_node.rs
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ impl RadialGradientNode {

#[doc(alias = "gsk_radial_gradient_node_get_color_stops")]
#[doc(alias = "get_color_stops")]
pub fn color_stops(&self) -> Vec<ColorStop> {
pub fn color_stops(&self) -> glib::Slice<ColorStop> {
unsafe {
let mut n_stops = mem::MaybeUninit::uninit();
let ret = FromGlibContainer::from_glib_none_num(
Expand Down
2 changes: 1 addition & 1 deletion gsk4/src/auto/text_node.rs
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ impl TextNode {

#[doc(alias = "gsk_text_node_get_glyphs")]
#[doc(alias = "get_glyphs")]
pub fn glyphs(&self) -> Vec<pango::GlyphInfo> {
pub fn glyphs(&self) -> glib::Slice<pango::GlyphInfo> {
unsafe {
let mut n_glyphs = mem::MaybeUninit::uninit();
let ret = FromGlibContainer::from_glib_none_num(
Expand Down
4 changes: 2 additions & 2 deletions gsk4/src/auto/versions.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Generated by gir (https://github.com/gtk-rs/gir @ 425f84d5af7f)
from gir-files (https://github.com/gtk-rs/gir-files @ 070b815b271d)
Generated by gir (https://github.com/gtk-rs/gir @ 95ecf2cb6f7a)
from gir-files (https://github.com/gtk-rs/gir-files @ b985117c8977)
4 changes: 2 additions & 2 deletions gsk4/sys/versions.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Generated by gir (https://github.com/gtk-rs/gir @ 425f84d5af7f)
from gir-files (https://github.com/gtk-rs/gir-files @ 070b815b271d)
Generated by gir (https://github.com/gtk-rs/gir @ 95ecf2cb6f7a)
from gir-files (https://github.com/gtk-rs/gir-files @ b985117c8977)
16 changes: 8 additions & 8 deletions gtk4/src/auto/application.rs
Original file line number Diff line number Diff line change
Expand Up @@ -115,11 +115,11 @@ pub trait GtkApplicationExt: 'static {

#[doc(alias = "gtk_application_get_accels_for_action")]
#[doc(alias = "get_accels_for_action")]
fn accels_for_action(&self, detailed_action_name: &str) -> Vec<glib::GString>;
fn accels_for_action(&self, detailed_action_name: &str) -> glib::StrV;

#[doc(alias = "gtk_application_get_actions_for_accel")]
#[doc(alias = "get_actions_for_accel")]
fn actions_for_accel(&self, accel: &str) -> Vec<glib::GString>;
fn actions_for_accel(&self, accel: &str) -> glib::StrV;

#[doc(alias = "gtk_application_get_active_window")]
#[doc(alias = "get_active_window")]
Expand All @@ -139,7 +139,7 @@ pub trait GtkApplicationExt: 'static {

#[doc(alias = "gtk_application_get_windows")]
#[doc(alias = "get_windows")]
fn windows(&self) -> Vec<Window>;
fn windows(&self) -> glib::List<Window>;

#[doc(alias = "gtk_application_inhibit")]
fn inhibit(
Expand All @@ -150,7 +150,7 @@ pub trait GtkApplicationExt: 'static {
) -> u32;

#[doc(alias = "gtk_application_list_action_descriptions")]
fn list_action_descriptions(&self) -> Vec<glib::GString>;
fn list_action_descriptions(&self) -> glib::StrV;

#[doc(alias = "gtk_application_remove_window")]
fn remove_window(&self, window: &impl IsA<Window>);
Expand Down Expand Up @@ -205,7 +205,7 @@ impl<O: IsA<Application>> GtkApplicationExt for O {
}
}

fn accels_for_action(&self, detailed_action_name: &str) -> Vec<glib::GString> {
fn accels_for_action(&self, detailed_action_name: &str) -> glib::StrV {
unsafe {
FromGlibPtrContainer::from_glib_full(ffi::gtk_application_get_accels_for_action(
self.as_ref().to_glib_none().0,
Expand All @@ -214,7 +214,7 @@ impl<O: IsA<Application>> GtkApplicationExt for O {
}
}

fn actions_for_accel(&self, accel: &str) -> Vec<glib::GString> {
fn actions_for_accel(&self, accel: &str) -> glib::StrV {
unsafe {
FromGlibPtrContainer::from_glib_full(ffi::gtk_application_get_actions_for_accel(
self.as_ref().to_glib_none().0,
Expand Down Expand Up @@ -257,7 +257,7 @@ impl<O: IsA<Application>> GtkApplicationExt for O {
}
}

fn windows(&self) -> Vec<Window> {
fn windows(&self) -> glib::List<Window> {
unsafe {
FromGlibPtrContainer::from_glib_none(ffi::gtk_application_get_windows(
self.as_ref().to_glib_none().0,
Expand All @@ -281,7 +281,7 @@ impl<O: IsA<Application>> GtkApplicationExt for O {
}
}

fn list_action_descriptions(&self) -> Vec<glib::GString> {
fn list_action_descriptions(&self) -> glib::StrV {
unsafe {
FromGlibPtrContainer::from_glib_full(ffi::gtk_application_list_action_descriptions(
self.as_ref().to_glib_none().0,
Expand Down
2 changes: 1 addition & 1 deletion gtk4/src/auto/builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ impl Builder {

#[doc(alias = "gtk_builder_get_objects")]
#[doc(alias = "get_objects")]
pub fn objects(&self) -> Vec<glib::Object> {
pub fn objects(&self) -> glib::SList<glib::Object> {
unsafe {
FromGlibPtrContainer::from_glib_container(ffi::gtk_builder_get_objects(
self.to_glib_none().0,
Expand Down
4 changes: 2 additions & 2 deletions gtk4/src/auto/cell_area.rs
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ pub trait CellAreaExt: 'static {
#[allow(deprecated)]
#[doc(alias = "gtk_cell_area_get_focus_siblings")]
#[doc(alias = "get_focus_siblings")]
fn focus_siblings(&self, renderer: &impl IsA<CellRenderer>) -> Vec<CellRenderer>;
fn focus_siblings(&self, renderer: &impl IsA<CellRenderer>) -> glib::List<CellRenderer>;

#[cfg_attr(feature = "v4_10", deprecated = "Since 4.10")]
#[allow(deprecated)]
Expand Down Expand Up @@ -675,7 +675,7 @@ impl<O: IsA<CellArea>> CellAreaExt for O {
}

#[allow(deprecated)]
fn focus_siblings(&self, renderer: &impl IsA<CellRenderer>) -> Vec<CellRenderer> {
fn focus_siblings(&self, renderer: &impl IsA<CellRenderer>) -> glib::List<CellRenderer> {
unsafe {
FromGlibPtrContainer::from_glib_none(ffi::gtk_cell_area_get_focus_siblings(
self.as_ref().to_glib_none().0,
Expand Down
4 changes: 2 additions & 2 deletions gtk4/src/auto/cell_layout.rs
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ pub trait CellLayoutExt: 'static {
#[allow(deprecated)]
#[doc(alias = "gtk_cell_layout_get_cells")]
#[doc(alias = "get_cells")]
fn cells(&self) -> Vec<CellRenderer>;
fn cells(&self) -> glib::List<CellRenderer>;

#[cfg_attr(feature = "v4_10", deprecated = "Since 4.10")]
#[allow(deprecated)]
Expand Down Expand Up @@ -113,7 +113,7 @@ impl<O: IsA<CellLayout>> CellLayoutExt for O {
}

#[allow(deprecated)]
fn cells(&self) -> Vec<CellRenderer> {
fn cells(&self) -> glib::List<CellRenderer> {
unsafe {
FromGlibPtrContainer::from_glib_container(ffi::gtk_cell_layout_get_cells(
self.as_ref().to_glib_none().0,
Expand Down
2 changes: 1 addition & 1 deletion gtk4/src/auto/flow_box.rs
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ impl FlowBox {

#[doc(alias = "gtk_flow_box_get_selected_children")]
#[doc(alias = "get_selected_children")]
pub fn selected_children(&self) -> Vec<FlowBoxChild> {
pub fn selected_children(&self) -> glib::List<FlowBoxChild> {
unsafe {
FromGlibPtrContainer::from_glib_container(ffi::gtk_flow_box_get_selected_children(
self.to_glib_none().0,
Expand Down
8 changes: 4 additions & 4 deletions gtk4/src/auto/gesture.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ pub trait GestureExt: 'static {

#[doc(alias = "gtk_gesture_get_group")]
#[doc(alias = "get_group")]
fn group(&self) -> Vec<Gesture>;
fn group(&self) -> glib::List<Gesture>;

#[doc(alias = "gtk_gesture_get_last_event")]
#[doc(alias = "get_last_event")]
Expand All @@ -59,7 +59,7 @@ pub trait GestureExt: 'static {

#[doc(alias = "gtk_gesture_get_sequences")]
#[doc(alias = "get_sequences")]
fn sequences(&self) -> Vec<gdk::EventSequence>;
fn sequences(&self) -> glib::List<gdk::EventSequence>;

#[doc(alias = "gtk_gesture_group")]
#[doc(alias = "group")]
Expand Down Expand Up @@ -161,7 +161,7 @@ impl<O: IsA<Gesture>> GestureExt for O {
unsafe { from_glib_none(ffi::gtk_gesture_get_device(self.as_ref().to_glib_none().0)) }
}

fn group(&self) -> Vec<Gesture> {
fn group(&self) -> glib::List<Gesture> {
unsafe {
FromGlibPtrContainer::from_glib_container(ffi::gtk_gesture_get_group(
self.as_ref().to_glib_none().0,
Expand Down Expand Up @@ -213,7 +213,7 @@ impl<O: IsA<Gesture>> GestureExt for O {
}
}

fn sequences(&self) -> Vec<gdk::EventSequence> {
fn sequences(&self) -> glib::List<gdk::EventSequence> {
unsafe {
FromGlibPtrContainer::from_glib_container(ffi::gtk_gesture_get_sequences(
self.as_ref().to_glib_none().0,
Expand Down
2 changes: 1 addition & 1 deletion gtk4/src/auto/gesture_stylus.rs
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ impl GestureStylus {

#[doc(alias = "gtk_gesture_stylus_get_backlog")]
#[doc(alias = "get_backlog")]
pub fn backlog(&self) -> Option<Vec<gdk::TimeCoord>> {
pub fn backlog(&self) -> Option<glib::Slice<gdk::TimeCoord>> {
unsafe {
let mut backlog = ptr::null_mut();
let mut n_elems = mem::MaybeUninit::uninit();
Expand Down
4 changes: 2 additions & 2 deletions gtk4/src/auto/icon_theme.rs
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ impl IconTheme {

#[doc(alias = "gtk_icon_theme_get_icon_names")]
#[doc(alias = "get_icon_names")]
pub fn icon_names(&self) -> Vec<glib::GString> {
pub fn icon_names(&self) -> glib::StrV {
unsafe {
FromGlibPtrContainer::from_glib_full(ffi::gtk_icon_theme_get_icon_names(
self.to_glib_none().0,
Expand All @@ -69,7 +69,7 @@ impl IconTheme {

#[doc(alias = "gtk_icon_theme_get_resource_path")]
#[doc(alias = "get_resource_path")]
pub fn resource_path(&self) -> Vec<glib::GString> {
pub fn resource_path(&self) -> glib::StrV {
unsafe {
FromGlibPtrContainer::from_glib_full(ffi::gtk_icon_theme_get_resource_path(
self.to_glib_none().0,
Expand Down
2 changes: 1 addition & 1 deletion gtk4/src/auto/icon_view.rs
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@ impl IconView {
#[allow(deprecated)]
#[doc(alias = "gtk_icon_view_get_selected_items")]
#[doc(alias = "get_selected_items")]
pub fn selected_items(&self) -> Vec<TreePath> {
pub fn selected_items(&self) -> glib::List<TreePath> {
unsafe {
FromGlibPtrContainer::from_glib_full(ffi::gtk_icon_view_get_selected_items(
self.to_glib_none().0,
Expand Down
2 changes: 1 addition & 1 deletion gtk4/src/auto/list_box.rs
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ impl ListBox {

#[doc(alias = "gtk_list_box_get_selected_rows")]
#[doc(alias = "get_selected_rows")]
pub fn selected_rows(&self) -> Vec<ListBoxRow> {
pub fn selected_rows(&self) -> glib::List<ListBoxRow> {
unsafe {
FromGlibPtrContainer::from_glib_container(ffi::gtk_list_box_get_selected_rows(
self.to_glib_none().0,
Expand Down
2 changes: 1 addition & 1 deletion gtk4/src/auto/paper_size.rs
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ impl PaperSize {

#[doc(alias = "gtk_paper_size_get_paper_sizes")]
#[doc(alias = "get_paper_sizes")]
pub fn paper_sizes(include_custom: bool) -> Vec<PaperSize> {
pub fn paper_sizes(include_custom: bool) -> glib::List<PaperSize> {
assert_initialized_main_thread!();
unsafe {
FromGlibPtrContainer::from_glib_full(ffi::gtk_paper_size_get_paper_sizes(
Expand Down
2 changes: 1 addition & 1 deletion gtk4/src/auto/print_job.rs
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ impl PrintJob {

#[doc(alias = "gtk_print_job_get_page_ranges")]
#[doc(alias = "get_page_ranges")]
pub fn page_ranges(&self) -> Vec<PageRange> {
pub fn page_ranges(&self) -> glib::Slice<PageRange> {
unsafe {
let mut n_ranges = mem::MaybeUninit::uninit();
let ret = FromGlibContainer::from_glib_none_num(
Expand Down
Loading