diff --git a/gdk4-wayland/src/auto/versions.txt b/gdk4-wayland/src/auto/versions.txt index 5b6725ffd362..9cb1c033d627 100644 --- a/gdk4-wayland/src/auto/versions.txt +++ b/gdk4-wayland/src/auto/versions.txt @@ -1,2 +1,2 @@ -Generated by gir (https://github.com/gtk-rs/gir @ eeb346bf25ed) +Generated by gir (https://github.com/gtk-rs/gir @ e5ad53c3ad05) from gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383) diff --git a/gdk4-wayland/sys/versions.txt b/gdk4-wayland/sys/versions.txt index 5b6725ffd362..9cb1c033d627 100644 --- a/gdk4-wayland/sys/versions.txt +++ b/gdk4-wayland/sys/versions.txt @@ -1,2 +1,2 @@ -Generated by gir (https://github.com/gtk-rs/gir @ eeb346bf25ed) +Generated by gir (https://github.com/gtk-rs/gir @ e5ad53c3ad05) from gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383) diff --git a/gdk4-win32/src/auto/versions.txt b/gdk4-win32/src/auto/versions.txt index 5b6725ffd362..9cb1c033d627 100644 --- a/gdk4-win32/src/auto/versions.txt +++ b/gdk4-win32/src/auto/versions.txt @@ -1,2 +1,2 @@ -Generated by gir (https://github.com/gtk-rs/gir @ eeb346bf25ed) +Generated by gir (https://github.com/gtk-rs/gir @ e5ad53c3ad05) from gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383) diff --git a/gdk4-win32/sys/versions.txt b/gdk4-win32/sys/versions.txt index 5b6725ffd362..9cb1c033d627 100644 --- a/gdk4-win32/sys/versions.txt +++ b/gdk4-win32/sys/versions.txt @@ -1,2 +1,2 @@ -Generated by gir (https://github.com/gtk-rs/gir @ eeb346bf25ed) +Generated by gir (https://github.com/gtk-rs/gir @ e5ad53c3ad05) from gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383) diff --git a/gdk4-x11/src/auto/versions.txt b/gdk4-x11/src/auto/versions.txt index 5b6725ffd362..9cb1c033d627 100644 --- a/gdk4-x11/src/auto/versions.txt +++ b/gdk4-x11/src/auto/versions.txt @@ -1,2 +1,2 @@ -Generated by gir (https://github.com/gtk-rs/gir @ eeb346bf25ed) +Generated by gir (https://github.com/gtk-rs/gir @ e5ad53c3ad05) from gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383) diff --git a/gdk4-x11/sys/versions.txt b/gdk4-x11/sys/versions.txt index 5b6725ffd362..9cb1c033d627 100644 --- a/gdk4-x11/sys/versions.txt +++ b/gdk4-x11/sys/versions.txt @@ -1,2 +1,2 @@ -Generated by gir (https://github.com/gtk-rs/gir @ eeb346bf25ed) +Generated by gir (https://github.com/gtk-rs/gir @ e5ad53c3ad05) from gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383) diff --git a/gdk4/src/auto/versions.txt b/gdk4/src/auto/versions.txt index 5b6725ffd362..9cb1c033d627 100644 --- a/gdk4/src/auto/versions.txt +++ b/gdk4/src/auto/versions.txt @@ -1,2 +1,2 @@ -Generated by gir (https://github.com/gtk-rs/gir @ eeb346bf25ed) +Generated by gir (https://github.com/gtk-rs/gir @ e5ad53c3ad05) from gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383) diff --git a/gdk4/sys/versions.txt b/gdk4/sys/versions.txt index 5b6725ffd362..9cb1c033d627 100644 --- a/gdk4/sys/versions.txt +++ b/gdk4/sys/versions.txt @@ -1,2 +1,2 @@ -Generated by gir (https://github.com/gtk-rs/gir @ eeb346bf25ed) +Generated by gir (https://github.com/gtk-rs/gir @ e5ad53c3ad05) from gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383) diff --git a/gir b/gir index eeb346bf25ed..e5ad53c3ad05 160000 --- a/gir +++ b/gir @@ -1 +1 @@ -Subproject commit eeb346bf25ed72c30c46e02afb321a05c604b4c5 +Subproject commit e5ad53c3ad05f06c499704f2d39d2a04c4111eb4 diff --git a/gsk4/src/auto/versions.txt b/gsk4/src/auto/versions.txt index 5b6725ffd362..9cb1c033d627 100644 --- a/gsk4/src/auto/versions.txt +++ b/gsk4/src/auto/versions.txt @@ -1,2 +1,2 @@ -Generated by gir (https://github.com/gtk-rs/gir @ eeb346bf25ed) +Generated by gir (https://github.com/gtk-rs/gir @ e5ad53c3ad05) from gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383) diff --git a/gsk4/src/path.rs b/gsk4/src/path.rs index afd3967fb5e7..3ef77228797b 100644 --- a/gsk4/src/path.rs +++ b/gsk4/src/path.rs @@ -11,7 +11,7 @@ impl Path { flags: PathForeachFlags, func: P, ) -> glib::ControlFlow { - let func_data: P = func; + let mut func_data: P = func; unsafe extern "C" fn func_func< P: FnMut(&PathOperation, &graphene::Point, usize, f32) -> glib::ControlFlow, >( @@ -23,17 +23,17 @@ impl Path { ) -> glib::ffi::gboolean { let op = from_glib(op); let pts = from_glib_borrow(pts); - let callback: *mut P = user_data as *const _ as usize as *mut P; + let callback = user_data as *mut P; (*callback)(&op, &pts, n_pts, weight).into_glib() } let func = Some(func_func::
as _);
- let super_callback0: &P = &func_data;
+ let super_callback0: &mut P = &mut func_data;
unsafe {
from_glib(ffi::gsk_path_foreach(
self.to_glib_none().0,
flags.into_glib(),
func,
- super_callback0 as *const _ as usize as *mut _,
+ super_callback0 as *mut _ as *mut _,
))
}
}
diff --git a/gsk4/src/render_node.rs b/gsk4/src/render_node.rs
index f1dc870f64b9..4cca4816d9f9 100644
--- a/gsk4/src/render_node.rs
+++ b/gsk4/src/render_node.rs
@@ -36,7 +36,7 @@ impl RenderNode {
error_func: P,
) -> Option as _);
- let super_callback0: &P = &error_func_data;
+ let super_callback0: &mut P = &mut error_func_data;
unsafe {
from_glib_full(ffi::gsk_render_node_deserialize(
bytes.to_glib_none().0,
error_func,
- super_callback0 as *const _ as usize as *mut _,
+ super_callback0 as *mut _ as *mut _,
))
}
}
diff --git a/gsk4/sys/versions.txt b/gsk4/sys/versions.txt
index 5b6725ffd362..9cb1c033d627 100644
--- a/gsk4/sys/versions.txt
+++ b/gsk4/sys/versions.txt
@@ -1,2 +1,2 @@
-Generated by gir (https://github.com/gtk-rs/gir @ eeb346bf25ed)
+Generated by gir (https://github.com/gtk-rs/gir @ e5ad53c3ad05)
from gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383)
diff --git a/gtk4/src/auto/cell_area.rs b/gtk4/src/auto/cell_area.rs
index bae1dbb7fe77..a1a9b6836822 100644
--- a/gtk4/src/auto/cell_area.rs
+++ b/gtk4/src/auto/cell_area.rs
@@ -226,7 +226,7 @@ pub trait CellAreaExt: IsA as _);
- let super_callback0: &P = &callback_data;
+ let super_callback0: &mut P = &mut callback_data;
unsafe {
ffi::gtk_cell_area_foreach(
self.as_ref().to_glib_none().0,
callback,
- super_callback0 as *const _ as *mut _,
+ super_callback0 as *mut _ as *mut _,
);
}
}
@@ -255,7 +255,7 @@ pub trait CellAreaExt: IsA as _);
- let super_callback0: &P = &callback_data;
+ let super_callback0: &mut P = &mut callback_data;
unsafe {
ffi::gtk_cell_area_foreach_alloc(
self.as_ref().to_glib_none().0,
@@ -280,7 +280,7 @@ pub trait CellAreaExt: IsA as _);
- let super_callback0: &P = &func_data;
+ let super_callback0: &mut P = &mut func_data;
unsafe {
ffi::gtk_flow_box_selected_foreach(
self.to_glib_none().0,
func,
- super_callback0 as *const _ as *mut _,
+ super_callback0 as *mut _ as *mut _,
);
}
}
diff --git a/gtk4/src/auto/icon_view.rs b/gtk4/src/auto/icon_view.rs
index 336237e56b36..aac3480fb53f 100644
--- a/gtk4/src/auto/icon_view.rs
+++ b/gtk4/src/auto/icon_view.rs
@@ -543,7 +543,7 @@ impl IconView {
#[allow(deprecated)]
#[doc(alias = "gtk_icon_view_selected_foreach")]
pub fn selected_foreach as _);
- let super_callback0: &P = &func_data;
+ let super_callback0: &mut P = &mut func_data;
unsafe {
ffi::gtk_icon_view_selected_foreach(
self.to_glib_none().0,
func,
- super_callback0 as *const _ as *mut _,
+ super_callback0 as *mut _ as *mut _,
);
}
}
diff --git a/gtk4/src/auto/list_box.rs b/gtk4/src/auto/list_box.rs
index cf3c41abb01c..2e85ab75ad6a 100644
--- a/gtk4/src/auto/list_box.rs
+++ b/gtk4/src/auto/list_box.rs
@@ -245,7 +245,7 @@ impl ListBox {
#[doc(alias = "gtk_list_box_selected_foreach")]
pub fn selected_foreach as _);
- let super_callback0: &P = &func_data;
+ let super_callback0: &mut P = &mut func_data;
unsafe {
ffi::gtk_list_box_selected_foreach(
self.to_glib_none().0,
func,
- super_callback0 as *const _ as *mut _,
+ super_callback0 as *mut _ as *mut _,
);
}
}
diff --git a/gtk4/src/auto/print_settings.rs b/gtk4/src/auto/print_settings.rs
index ae88aa3204f1..cd78166a19d8 100644
--- a/gtk4/src/auto/print_settings.rs
+++ b/gtk4/src/auto/print_settings.rs
@@ -83,7 +83,7 @@ impl PrintSettings {
#[doc(alias = "gtk_print_settings_foreach")]
pub fn foreach as _);
- let super_callback0: &P = &func_data;
+ let super_callback0: &mut P = &mut func_data;
unsafe {
ffi::gtk_print_settings_foreach(
self.to_glib_none().0,
func,
- super_callback0 as *const _ as *mut _,
+ super_callback0 as *mut _ as *mut _,
);
}
}
diff --git a/gtk4/src/auto/text_iter.rs b/gtk4/src/auto/text_iter.rs
index 0785bb68abd6..56c7a1c1b5f3 100644
--- a/gtk4/src/auto/text_iter.rs
+++ b/gtk4/src/auto/text_iter.rs
@@ -64,7 +64,7 @@ impl TextIter {
pred: P,
limit: Option<&TextIter>,
) -> bool {
- let pred_data: P = pred;
+ let mut pred_data: P = pred;
unsafe extern "C" fn pred_func as _);
- let super_callback0: &P = &pred_data;
+ let super_callback0: &mut P = &mut pred_data;
unsafe {
from_glib(ffi::gtk_text_iter_backward_find_char(
self.to_glib_none_mut().0,
pred,
- super_callback0 as *const _ as *mut _,
+ super_callback0 as *mut _ as *mut _,
limit.to_glib_none().0,
))
}
@@ -332,7 +332,7 @@ impl TextIter {
pred: P,
limit: Option<&TextIter>,
) -> bool {
- let pred_data: P = pred;
+ let mut pred_data: P = pred;
unsafe extern "C" fn pred_func as _);
- let super_callback0: &P = &pred_data;
+ let super_callback0: &mut P = &mut pred_data;
unsafe {
from_glib(ffi::gtk_text_iter_forward_find_char(
self.to_glib_none_mut().0,
pred,
- super_callback0 as *const _ as *mut _,
+ super_callback0 as *mut _ as *mut _,
limit.to_glib_none().0,
))
}
diff --git a/gtk4/src/auto/text_tag_table.rs b/gtk4/src/auto/text_tag_table.rs
index 64eb1ad50da2..ca714730f1b7 100644
--- a/gtk4/src/auto/text_tag_table.rs
+++ b/gtk4/src/auto/text_tag_table.rs
@@ -38,7 +38,7 @@ impl TextTagTable {
#[doc(alias = "gtk_text_tag_table_foreach")]
pub fn foreach as _);
- let super_callback0: &P = &func_data;
+ let super_callback0: &mut P = &mut func_data;
unsafe {
ffi::gtk_text_tag_table_foreach(
self.to_glib_none().0,
func,
- super_callback0 as *const _ as *mut _,
+ super_callback0 as *mut _ as *mut _,
);
}
}
diff --git a/gtk4/src/auto/tree_model.rs b/gtk4/src/auto/tree_model.rs
index 071d375f9a4f..8deae398d223 100644
--- a/gtk4/src/auto/tree_model.rs
+++ b/gtk4/src/auto/tree_model.rs
@@ -29,7 +29,7 @@ pub trait TreeModelExt: IsA as _);
- let super_callback0: &P = &func_data;
+ let super_callback0: &mut P = &mut func_data;
unsafe {
ffi::gtk_tree_model_foreach(
self.as_ref().to_glib_none().0,
func,
- super_callback0 as *const _ as *mut _,
+ super_callback0 as *mut _ as *mut _,
);
}
}
diff --git a/gtk4/src/auto/tree_selection.rs b/gtk4/src/auto/tree_selection.rs
index ba694e2dd4b6..0cfe357f6ed5 100644
--- a/gtk4/src/auto/tree_selection.rs
+++ b/gtk4/src/auto/tree_selection.rs
@@ -153,7 +153,7 @@ impl TreeSelection {
#[allow(deprecated)]
#[doc(alias = "gtk_tree_selection_selected_foreach")]
pub fn selected_foreach as _);
- let super_callback0: &P = &func_data;
+ let super_callback0: &mut P = &mut func_data;
unsafe {
ffi::gtk_tree_selection_selected_foreach(
self.to_glib_none().0,
func,
- super_callback0 as *const _ as *mut _,
+ super_callback0 as *mut _ as *mut _,
);
}
}
diff --git a/gtk4/src/auto/tree_view.rs b/gtk4/src/auto/tree_view.rs
index 9ac065f28eac..be42decf1035 100644
--- a/gtk4/src/auto/tree_view.rs
+++ b/gtk4/src/auto/tree_view.rs
@@ -1228,7 +1228,7 @@ pub trait TreeViewExt: IsA as _);
- let super_callback0: &P = &func_data;
+ let super_callback0: &mut P = &mut func_data;
unsafe {
ffi::gtk_tree_view_map_expanded_rows(
self.as_ref().to_glib_none().0,
func,
- super_callback0 as *const _ as *mut _,
+ super_callback0 as *mut _ as *mut _,
);
}
}
diff --git a/gtk4/src/auto/versions.txt b/gtk4/src/auto/versions.txt
index 5b6725ffd362..9cb1c033d627 100644
--- a/gtk4/src/auto/versions.txt
+++ b/gtk4/src/auto/versions.txt
@@ -1,2 +1,2 @@
-Generated by gir (https://github.com/gtk-rs/gir @ eeb346bf25ed)
+Generated by gir (https://github.com/gtk-rs/gir @ e5ad53c3ad05)
from gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383)
diff --git a/gtk4/sys/versions.txt b/gtk4/sys/versions.txt
index 5b6725ffd362..9cb1c033d627 100644
--- a/gtk4/sys/versions.txt
+++ b/gtk4/sys/versions.txt
@@ -1,2 +1,2 @@
-Generated by gir (https://github.com/gtk-rs/gir @ eeb346bf25ed)
+Generated by gir (https://github.com/gtk-rs/gir @ e5ad53c3ad05)
from gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383)