From 54270a41353c9836500681af80885f1fc154b165 Mon Sep 17 00:00:00 2001 From: Bilal Elmoussaoui Date: Thu, 30 Dec 2021 17:28:49 +0100 Subject: [PATCH] regenerate with dropped manual StaticType impl --- gdk4-wayland/src/auto/versions.txt | 2 +- gdk4-wayland/sys/versions.txt | 2 +- gdk4-x11/src/auto/versions.txt | 2 +- gdk4-x11/sys/versions.txt | 2 +- gdk4/src/auto/button_event.rs | 7 +------ gdk4/src/auto/crossing_event.rs | 7 +------ gdk4/src/auto/delete_event.rs | 7 +------ gdk4/src/auto/dnd_event.rs | 7 +------ gdk4/src/auto/event.rs | 7 +------ gdk4/src/auto/focus_event.rs | 7 +------ gdk4/src/auto/grab_broken_event.rs | 7 +------ gdk4/src/auto/key_event.rs | 7 +------ gdk4/src/auto/motion_event.rs | 7 +------ gdk4/src/auto/pad_event.rs | 7 +------ gdk4/src/auto/proximity_event.rs | 7 +------ gdk4/src/auto/scroll_event.rs | 7 +------ gdk4/src/auto/touch_event.rs | 7 +------ gdk4/src/auto/touchpad_event.rs | 7 +------ gdk4/src/auto/versions.txt | 2 +- gdk4/sys/versions.txt | 2 +- gir | 2 +- gsk4/src/auto/blend_node.rs | 7 +------ gsk4/src/auto/blur_node.rs | 7 +------ gsk4/src/auto/border_node.rs | 7 +------ gsk4/src/auto/cairo_node.rs | 7 +------ gsk4/src/auto/clip_node.rs | 7 +------ gsk4/src/auto/color_matrix_node.rs | 7 +------ gsk4/src/auto/color_node.rs | 7 +------ gsk4/src/auto/conic_gradient_node.rs | 7 +------ gsk4/src/auto/container_node.rs | 7 +------ gsk4/src/auto/cross_fade_node.rs | 7 +------ gsk4/src/auto/debug_node.rs | 7 +------ gsk4/src/auto/gl_shader_node.rs | 7 +------ gsk4/src/auto/inset_shadow_node.rs | 7 +------ gsk4/src/auto/linear_gradient_node.rs | 7 +------ gsk4/src/auto/opacity_node.rs | 7 +------ gsk4/src/auto/outset_shadow_node.rs | 7 +------ gsk4/src/auto/radial_gradient_node.rs | 7 +------ gsk4/src/auto/render_node.rs | 7 +------ gsk4/src/auto/repeat_node.rs | 7 +------ gsk4/src/auto/repeating_linear_gradient_node.rs | 7 +------ gsk4/src/auto/repeating_radial_gradient_node.rs | 7 +------ gsk4/src/auto/rounded_clip_node.rs | 7 +------ gsk4/src/auto/shadow_node.rs | 7 +------ gsk4/src/auto/text_node.rs | 7 +------ gsk4/src/auto/texture_node.rs | 7 +------ gsk4/src/auto/transform_node.rs | 7 +------ gsk4/src/auto/versions.txt | 2 +- gsk4/sys/versions.txt | 2 +- gtk4/src/auto/closure_expression.rs | 7 +------ gtk4/src/auto/constant_expression.rs | 7 +------ gtk4/src/auto/expression.rs | 7 +------ gtk4/src/auto/object_expression.rs | 7 +------ gtk4/src/auto/property_expression.rs | 7 +------ gtk4/src/auto/versions.txt | 2 +- gtk4/sys/versions.txt | 2 +- 56 files changed, 56 insertions(+), 281 deletions(-) diff --git a/gdk4-wayland/src/auto/versions.txt b/gdk4-wayland/src/auto/versions.txt index b4980364c711..db17d4d06134 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 @ 090cd5db90ac) +Generated by gir (https://github.com/gtk-rs/gir @ 12b1f3471236) from gir-files (https://github.com/gtk-rs/gir-files.git @ 898f6c1fb177) diff --git a/gdk4-wayland/sys/versions.txt b/gdk4-wayland/sys/versions.txt index b4980364c711..db17d4d06134 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 @ 090cd5db90ac) +Generated by gir (https://github.com/gtk-rs/gir @ 12b1f3471236) from gir-files (https://github.com/gtk-rs/gir-files.git @ 898f6c1fb177) diff --git a/gdk4-x11/src/auto/versions.txt b/gdk4-x11/src/auto/versions.txt index b4980364c711..db17d4d06134 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 @ 090cd5db90ac) +Generated by gir (https://github.com/gtk-rs/gir @ 12b1f3471236) from gir-files (https://github.com/gtk-rs/gir-files.git @ 898f6c1fb177) diff --git a/gdk4-x11/sys/versions.txt b/gdk4-x11/sys/versions.txt index b4980364c711..db17d4d06134 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 @ 090cd5db90ac) +Generated by gir (https://github.com/gtk-rs/gir @ 12b1f3471236) from gir-files (https://github.com/gtk-rs/gir-files.git @ 898f6c1fb177) diff --git a/gdk4/src/auto/button_event.rs b/gdk4/src/auto/button_event.rs index 471a64df836f..d11e3ebb8941 100644 --- a/gdk4/src/auto/button_event.rs +++ b/gdk4/src/auto/button_event.rs @@ -4,7 +4,6 @@ use crate::Event; use glib::translate::*; -use glib::StaticType; glib::wrapper! { #[doc(alias = "GdkButtonEvent")] @@ -13,11 +12,7 @@ glib::wrapper! { match fn { ref => |ptr| ffi::gdk_event_ref(ptr as *mut ffi::GdkEvent), unref => |ptr| ffi::gdk_event_unref(ptr as *mut ffi::GdkEvent), - } -} -impl glib::StaticType for ButtonEvent { - fn static_type() -> glib::Type { - unsafe { from_glib(ffi::gdk_button_event_get_type()) } + type_ => || ffi::gdk_button_event_get_type(), } } diff --git a/gdk4/src/auto/crossing_event.rs b/gdk4/src/auto/crossing_event.rs index 888e0f5cad65..895c7705bd48 100644 --- a/gdk4/src/auto/crossing_event.rs +++ b/gdk4/src/auto/crossing_event.rs @@ -6,7 +6,6 @@ use crate::CrossingMode; use crate::Event; use crate::NotifyType; use glib::translate::*; -use glib::StaticType; glib::wrapper! { #[doc(alias = "GdkCrossingEvent")] @@ -15,11 +14,7 @@ glib::wrapper! { match fn { ref => |ptr| ffi::gdk_event_ref(ptr as *mut ffi::GdkEvent), unref => |ptr| ffi::gdk_event_unref(ptr as *mut ffi::GdkEvent), - } -} -impl glib::StaticType for CrossingEvent { - fn static_type() -> glib::Type { - unsafe { from_glib(ffi::gdk_crossing_event_get_type()) } + type_ => || ffi::gdk_crossing_event_get_type(), } } diff --git a/gdk4/src/auto/delete_event.rs b/gdk4/src/auto/delete_event.rs index d0e01ecd9268..f8a030e10a99 100644 --- a/gdk4/src/auto/delete_event.rs +++ b/gdk4/src/auto/delete_event.rs @@ -4,7 +4,6 @@ use crate::Event; use glib::translate::*; -use glib::StaticType; use std::fmt; glib::wrapper! { @@ -14,11 +13,7 @@ glib::wrapper! { match fn { ref => |ptr| ffi::gdk_event_ref(ptr as *mut ffi::GdkEvent), unref => |ptr| ffi::gdk_event_unref(ptr as *mut ffi::GdkEvent), - } -} -impl glib::StaticType for DeleteEvent { - fn static_type() -> glib::Type { - unsafe { from_glib(ffi::gdk_delete_event_get_type()) } + type_ => || ffi::gdk_delete_event_get_type(), } } diff --git a/gdk4/src/auto/dnd_event.rs b/gdk4/src/auto/dnd_event.rs index 24cd90bbf203..60795f35fb5b 100644 --- a/gdk4/src/auto/dnd_event.rs +++ b/gdk4/src/auto/dnd_event.rs @@ -5,7 +5,6 @@ use crate::Drop; use crate::Event; use glib::translate::*; -use glib::StaticType; glib::wrapper! { #[doc(alias = "GdkDNDEvent")] @@ -14,11 +13,7 @@ glib::wrapper! { match fn { ref => |ptr| ffi::gdk_event_ref(ptr as *mut ffi::GdkEvent), unref => |ptr| ffi::gdk_event_unref(ptr as *mut ffi::GdkEvent), - } -} -impl glib::StaticType for DNDEvent { - fn static_type() -> glib::Type { - unsafe { from_glib(ffi::gdk_dnd_event_get_type()) } + type_ => || ffi::gdk_dnd_event_get_type(), } } diff --git a/gdk4/src/auto/event.rs b/gdk4/src/auto/event.rs index 694582a4c3e7..6a8619622ead 100644 --- a/gdk4/src/auto/event.rs +++ b/gdk4/src/auto/event.rs @@ -13,7 +13,6 @@ use crate::Seat; use crate::Surface; use crate::TimeCoord; use glib::translate::*; -use glib::StaticType; use std::mem; use std::ptr; @@ -24,11 +23,7 @@ glib::wrapper! { match fn { ref => |ptr| ffi::gdk_event_ref(ptr), unref => |ptr| ffi::gdk_event_unref(ptr), - } -} -impl glib::StaticType for Event { - fn static_type() -> glib::Type { - unsafe { from_glib(ffi::gdk_event_get_type()) } + type_ => || ffi::gdk_event_get_type(), } } diff --git a/gdk4/src/auto/focus_event.rs b/gdk4/src/auto/focus_event.rs index 75e90d92b340..d2cecc2bb16f 100644 --- a/gdk4/src/auto/focus_event.rs +++ b/gdk4/src/auto/focus_event.rs @@ -4,7 +4,6 @@ use crate::Event; use glib::translate::*; -use glib::StaticType; glib::wrapper! { #[doc(alias = "GdkFocusEvent")] @@ -13,11 +12,7 @@ glib::wrapper! { match fn { ref => |ptr| ffi::gdk_event_ref(ptr as *mut ffi::GdkEvent), unref => |ptr| ffi::gdk_event_unref(ptr as *mut ffi::GdkEvent), - } -} -impl glib::StaticType for FocusEvent { - fn static_type() -> glib::Type { - unsafe { from_glib(ffi::gdk_focus_event_get_type()) } + type_ => || ffi::gdk_focus_event_get_type(), } } diff --git a/gdk4/src/auto/grab_broken_event.rs b/gdk4/src/auto/grab_broken_event.rs index d70c7ca8c1fa..a8e755d625a6 100644 --- a/gdk4/src/auto/grab_broken_event.rs +++ b/gdk4/src/auto/grab_broken_event.rs @@ -5,7 +5,6 @@ use crate::Event; use crate::Surface; use glib::translate::*; -use glib::StaticType; glib::wrapper! { #[doc(alias = "GdkGrabBrokenEvent")] @@ -14,11 +13,7 @@ glib::wrapper! { match fn { ref => |ptr| ffi::gdk_event_ref(ptr as *mut ffi::GdkEvent), unref => |ptr| ffi::gdk_event_unref(ptr as *mut ffi::GdkEvent), - } -} -impl glib::StaticType for GrabBrokenEvent { - fn static_type() -> glib::Type { - unsafe { from_glib(ffi::gdk_grab_broken_event_get_type()) } + type_ => || ffi::gdk_grab_broken_event_get_type(), } } diff --git a/gdk4/src/auto/key_event.rs b/gdk4/src/auto/key_event.rs index 3c67a2d71280..274ca7888a86 100644 --- a/gdk4/src/auto/key_event.rs +++ b/gdk4/src/auto/key_event.rs @@ -5,7 +5,6 @@ use crate::Event; use crate::ModifierType; use glib::translate::*; -use glib::StaticType; glib::wrapper! { #[doc(alias = "GdkKeyEvent")] @@ -14,11 +13,7 @@ glib::wrapper! { match fn { ref => |ptr| ffi::gdk_event_ref(ptr as *mut ffi::GdkEvent), unref => |ptr| ffi::gdk_event_unref(ptr as *mut ffi::GdkEvent), - } -} -impl glib::StaticType for KeyEvent { - fn static_type() -> glib::Type { - unsafe { from_glib(ffi::gdk_key_event_get_type()) } + type_ => || ffi::gdk_key_event_get_type(), } } diff --git a/gdk4/src/auto/motion_event.rs b/gdk4/src/auto/motion_event.rs index 0c636e41f767..a29450f82bba 100644 --- a/gdk4/src/auto/motion_event.rs +++ b/gdk4/src/auto/motion_event.rs @@ -4,7 +4,6 @@ use crate::Event; use glib::translate::*; -use glib::StaticType; use std::fmt; glib::wrapper! { @@ -14,11 +13,7 @@ glib::wrapper! { match fn { ref => |ptr| ffi::gdk_event_ref(ptr as *mut ffi::GdkEvent), unref => |ptr| ffi::gdk_event_unref(ptr as *mut ffi::GdkEvent), - } -} -impl glib::StaticType for MotionEvent { - fn static_type() -> glib::Type { - unsafe { from_glib(ffi::gdk_motion_event_get_type()) } + type_ => || ffi::gdk_motion_event_get_type(), } } diff --git a/gdk4/src/auto/pad_event.rs b/gdk4/src/auto/pad_event.rs index d36efc7ecba7..e41f7ea0dd1a 100644 --- a/gdk4/src/auto/pad_event.rs +++ b/gdk4/src/auto/pad_event.rs @@ -4,7 +4,6 @@ use crate::Event; use glib::translate::*; -use glib::StaticType; use std::mem; glib::wrapper! { @@ -14,11 +13,7 @@ glib::wrapper! { match fn { ref => |ptr| ffi::gdk_event_ref(ptr as *mut ffi::GdkEvent), unref => |ptr| ffi::gdk_event_unref(ptr as *mut ffi::GdkEvent), - } -} -impl glib::StaticType for PadEvent { - fn static_type() -> glib::Type { - unsafe { from_glib(ffi::gdk_pad_event_get_type()) } + type_ => || ffi::gdk_pad_event_get_type(), } } diff --git a/gdk4/src/auto/proximity_event.rs b/gdk4/src/auto/proximity_event.rs index 2f91667ac9ae..d58debc3fd27 100644 --- a/gdk4/src/auto/proximity_event.rs +++ b/gdk4/src/auto/proximity_event.rs @@ -4,7 +4,6 @@ use crate::Event; use glib::translate::*; -use glib::StaticType; use std::fmt; glib::wrapper! { @@ -14,11 +13,7 @@ glib::wrapper! { match fn { ref => |ptr| ffi::gdk_event_ref(ptr as *mut ffi::GdkEvent), unref => |ptr| ffi::gdk_event_unref(ptr as *mut ffi::GdkEvent), - } -} -impl glib::StaticType for ProximityEvent { - fn static_type() -> glib::Type { - unsafe { from_glib(ffi::gdk_proximity_event_get_type()) } + type_ => || ffi::gdk_proximity_event_get_type(), } } diff --git a/gdk4/src/auto/scroll_event.rs b/gdk4/src/auto/scroll_event.rs index 38817f6b65a0..056aa7cf9853 100644 --- a/gdk4/src/auto/scroll_event.rs +++ b/gdk4/src/auto/scroll_event.rs @@ -5,7 +5,6 @@ use crate::Event; use crate::ScrollDirection; use glib::translate::*; -use glib::StaticType; use std::mem; glib::wrapper! { @@ -15,11 +14,7 @@ glib::wrapper! { match fn { ref => |ptr| ffi::gdk_event_ref(ptr as *mut ffi::GdkEvent), unref => |ptr| ffi::gdk_event_unref(ptr as *mut ffi::GdkEvent), - } -} -impl glib::StaticType for ScrollEvent { - fn static_type() -> glib::Type { - unsafe { from_glib(ffi::gdk_scroll_event_get_type()) } + type_ => || ffi::gdk_scroll_event_get_type(), } } diff --git a/gdk4/src/auto/touch_event.rs b/gdk4/src/auto/touch_event.rs index 6c1bc46bf716..3a083f17a57d 100644 --- a/gdk4/src/auto/touch_event.rs +++ b/gdk4/src/auto/touch_event.rs @@ -4,7 +4,6 @@ use crate::Event; use glib::translate::*; -use glib::StaticType; glib::wrapper! { #[doc(alias = "GdkTouchEvent")] @@ -13,11 +12,7 @@ glib::wrapper! { match fn { ref => |ptr| ffi::gdk_event_ref(ptr as *mut ffi::GdkEvent), unref => |ptr| ffi::gdk_event_unref(ptr as *mut ffi::GdkEvent), - } -} -impl glib::StaticType for TouchEvent { - fn static_type() -> glib::Type { - unsafe { from_glib(ffi::gdk_touch_event_get_type()) } + type_ => || ffi::gdk_touch_event_get_type(), } } diff --git a/gdk4/src/auto/touchpad_event.rs b/gdk4/src/auto/touchpad_event.rs index 8d9c447dadd3..1653a26ad441 100644 --- a/gdk4/src/auto/touchpad_event.rs +++ b/gdk4/src/auto/touchpad_event.rs @@ -5,7 +5,6 @@ use crate::Event; use crate::TouchpadGesturePhase; use glib::translate::*; -use glib::StaticType; use std::mem; glib::wrapper! { @@ -15,11 +14,7 @@ glib::wrapper! { match fn { ref => |ptr| ffi::gdk_event_ref(ptr as *mut ffi::GdkEvent), unref => |ptr| ffi::gdk_event_unref(ptr as *mut ffi::GdkEvent), - } -} -impl glib::StaticType for TouchpadEvent { - fn static_type() -> glib::Type { - unsafe { from_glib(ffi::gdk_touchpad_event_get_type()) } + type_ => || ffi::gdk_touchpad_event_get_type(), } } diff --git a/gdk4/src/auto/versions.txt b/gdk4/src/auto/versions.txt index b4980364c711..db17d4d06134 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 @ 090cd5db90ac) +Generated by gir (https://github.com/gtk-rs/gir @ 12b1f3471236) from gir-files (https://github.com/gtk-rs/gir-files.git @ 898f6c1fb177) diff --git a/gdk4/sys/versions.txt b/gdk4/sys/versions.txt index b4980364c711..db17d4d06134 100644 --- a/gdk4/sys/versions.txt +++ b/gdk4/sys/versions.txt @@ -1,2 +1,2 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 090cd5db90ac) +Generated by gir (https://github.com/gtk-rs/gir @ 12b1f3471236) from gir-files (https://github.com/gtk-rs/gir-files.git @ 898f6c1fb177) diff --git a/gir b/gir index 090cd5db90ac..12b1f3471236 160000 --- a/gir +++ b/gir @@ -1 +1 @@ -Subproject commit 090cd5db90ac6f9fd5d2a3925eb77c82ff67b2a0 +Subproject commit 12b1f34712367d11d6feabb8b1efd77c403036d1 diff --git a/gsk4/src/auto/blend_node.rs b/gsk4/src/auto/blend_node.rs index 29c9fa89f853..3b4085d61cf3 100644 --- a/gsk4/src/auto/blend_node.rs +++ b/gsk4/src/auto/blend_node.rs @@ -5,7 +5,6 @@ use crate::BlendMode; use crate::RenderNode; use glib::translate::*; -use glib::StaticType; use std::fmt; glib::wrapper! { @@ -15,11 +14,7 @@ glib::wrapper! { match fn { ref => |ptr| ffi::gsk_render_node_ref(ptr as *mut ffi::GskRenderNode), unref => |ptr| ffi::gsk_render_node_unref(ptr as *mut ffi::GskRenderNode), - } -} -impl glib::StaticType for BlendNode { - fn static_type() -> glib::Type { - unsafe { from_glib(ffi::gsk_blend_node_get_type()) } + type_ => || ffi::gsk_blend_node_get_type(), } } diff --git a/gsk4/src/auto/blur_node.rs b/gsk4/src/auto/blur_node.rs index 921d6274726b..a9fa711c25c3 100644 --- a/gsk4/src/auto/blur_node.rs +++ b/gsk4/src/auto/blur_node.rs @@ -4,7 +4,6 @@ use crate::RenderNode; use glib::translate::*; -use glib::StaticType; use std::fmt; glib::wrapper! { @@ -14,11 +13,7 @@ glib::wrapper! { match fn { ref => |ptr| ffi::gsk_render_node_ref(ptr as *mut ffi::GskRenderNode), unref => |ptr| ffi::gsk_render_node_unref(ptr as *mut ffi::GskRenderNode), - } -} -impl glib::StaticType for BlurNode { - fn static_type() -> glib::Type { - unsafe { from_glib(ffi::gsk_blur_node_get_type()) } + type_ => || ffi::gsk_blur_node_get_type(), } } diff --git a/gsk4/src/auto/border_node.rs b/gsk4/src/auto/border_node.rs index c502fdd09bed..727afa93e2b9 100644 --- a/gsk4/src/auto/border_node.rs +++ b/gsk4/src/auto/border_node.rs @@ -5,7 +5,6 @@ use crate::RenderNode; use crate::RoundedRect; use glib::translate::*; -use glib::StaticType; use std::fmt; glib::wrapper! { @@ -15,11 +14,7 @@ glib::wrapper! { match fn { ref => |ptr| ffi::gsk_render_node_ref(ptr as *mut ffi::GskRenderNode), unref => |ptr| ffi::gsk_render_node_unref(ptr as *mut ffi::GskRenderNode), - } -} -impl glib::StaticType for BorderNode { - fn static_type() -> glib::Type { - unsafe { from_glib(ffi::gsk_border_node_get_type()) } + type_ => || ffi::gsk_border_node_get_type(), } } diff --git a/gsk4/src/auto/cairo_node.rs b/gsk4/src/auto/cairo_node.rs index 7b7e34398f9a..7a7afbb9ed6d 100644 --- a/gsk4/src/auto/cairo_node.rs +++ b/gsk4/src/auto/cairo_node.rs @@ -4,7 +4,6 @@ use crate::RenderNode; use glib::translate::*; -use glib::StaticType; use std::fmt; glib::wrapper! { @@ -14,11 +13,7 @@ glib::wrapper! { match fn { ref => |ptr| ffi::gsk_render_node_ref(ptr as *mut ffi::GskRenderNode), unref => |ptr| ffi::gsk_render_node_unref(ptr as *mut ffi::GskRenderNode), - } -} -impl glib::StaticType for CairoNode { - fn static_type() -> glib::Type { - unsafe { from_glib(ffi::gsk_cairo_node_get_type()) } + type_ => || ffi::gsk_cairo_node_get_type(), } } diff --git a/gsk4/src/auto/clip_node.rs b/gsk4/src/auto/clip_node.rs index 12d7d0dd756e..b7b950fceea0 100644 --- a/gsk4/src/auto/clip_node.rs +++ b/gsk4/src/auto/clip_node.rs @@ -4,7 +4,6 @@ use crate::RenderNode; use glib::translate::*; -use glib::StaticType; use std::fmt; glib::wrapper! { @@ -14,11 +13,7 @@ glib::wrapper! { match fn { ref => |ptr| ffi::gsk_render_node_ref(ptr as *mut ffi::GskRenderNode), unref => |ptr| ffi::gsk_render_node_unref(ptr as *mut ffi::GskRenderNode), - } -} -impl glib::StaticType for ClipNode { - fn static_type() -> glib::Type { - unsafe { from_glib(ffi::gsk_clip_node_get_type()) } + type_ => || ffi::gsk_clip_node_get_type(), } } diff --git a/gsk4/src/auto/color_matrix_node.rs b/gsk4/src/auto/color_matrix_node.rs index 31ad647a2ffa..4143ab45a488 100644 --- a/gsk4/src/auto/color_matrix_node.rs +++ b/gsk4/src/auto/color_matrix_node.rs @@ -4,7 +4,6 @@ use crate::RenderNode; use glib::translate::*; -use glib::StaticType; use std::fmt; glib::wrapper! { @@ -14,11 +13,7 @@ glib::wrapper! { match fn { ref => |ptr| ffi::gsk_render_node_ref(ptr as *mut ffi::GskRenderNode), unref => |ptr| ffi::gsk_render_node_unref(ptr as *mut ffi::GskRenderNode), - } -} -impl glib::StaticType for ColorMatrixNode { - fn static_type() -> glib::Type { - unsafe { from_glib(ffi::gsk_color_matrix_node_get_type()) } + type_ => || ffi::gsk_color_matrix_node_get_type(), } } diff --git a/gsk4/src/auto/color_node.rs b/gsk4/src/auto/color_node.rs index 616755c3e562..7057b5554efe 100644 --- a/gsk4/src/auto/color_node.rs +++ b/gsk4/src/auto/color_node.rs @@ -4,7 +4,6 @@ use crate::RenderNode; use glib::translate::*; -use glib::StaticType; use std::fmt; glib::wrapper! { @@ -14,11 +13,7 @@ glib::wrapper! { match fn { ref => |ptr| ffi::gsk_render_node_ref(ptr as *mut ffi::GskRenderNode), unref => |ptr| ffi::gsk_render_node_unref(ptr as *mut ffi::GskRenderNode), - } -} -impl glib::StaticType for ColorNode { - fn static_type() -> glib::Type { - unsafe { from_glib(ffi::gsk_color_node_get_type()) } + type_ => || ffi::gsk_color_node_get_type(), } } diff --git a/gsk4/src/auto/conic_gradient_node.rs b/gsk4/src/auto/conic_gradient_node.rs index 4d2fd1d16dc9..678bd69ae3db 100644 --- a/gsk4/src/auto/conic_gradient_node.rs +++ b/gsk4/src/auto/conic_gradient_node.rs @@ -5,7 +5,6 @@ use crate::ColorStop; use crate::RenderNode; use glib::translate::*; -use glib::StaticType; use std::fmt; use std::mem; @@ -16,11 +15,7 @@ glib::wrapper! { match fn { ref => |ptr| ffi::gsk_render_node_ref(ptr as *mut ffi::GskRenderNode), unref => |ptr| ffi::gsk_render_node_unref(ptr as *mut ffi::GskRenderNode), - } -} -impl glib::StaticType for ConicGradientNode { - fn static_type() -> glib::Type { - unsafe { from_glib(ffi::gsk_conic_gradient_node_get_type()) } + type_ => || ffi::gsk_conic_gradient_node_get_type(), } } diff --git a/gsk4/src/auto/container_node.rs b/gsk4/src/auto/container_node.rs index dfde6595af93..0744765dcf04 100644 --- a/gsk4/src/auto/container_node.rs +++ b/gsk4/src/auto/container_node.rs @@ -4,7 +4,6 @@ use crate::RenderNode; use glib::translate::*; -use glib::StaticType; use std::fmt; glib::wrapper! { @@ -14,11 +13,7 @@ glib::wrapper! { match fn { ref => |ptr| ffi::gsk_render_node_ref(ptr as *mut ffi::GskRenderNode), unref => |ptr| ffi::gsk_render_node_unref(ptr as *mut ffi::GskRenderNode), - } -} -impl glib::StaticType for ContainerNode { - fn static_type() -> glib::Type { - unsafe { from_glib(ffi::gsk_container_node_get_type()) } + type_ => || ffi::gsk_container_node_get_type(), } } diff --git a/gsk4/src/auto/cross_fade_node.rs b/gsk4/src/auto/cross_fade_node.rs index 02e147ef85cf..a58742b7d7ec 100644 --- a/gsk4/src/auto/cross_fade_node.rs +++ b/gsk4/src/auto/cross_fade_node.rs @@ -4,7 +4,6 @@ use crate::RenderNode; use glib::translate::*; -use glib::StaticType; use std::fmt; glib::wrapper! { @@ -14,11 +13,7 @@ glib::wrapper! { match fn { ref => |ptr| ffi::gsk_render_node_ref(ptr as *mut ffi::GskRenderNode), unref => |ptr| ffi::gsk_render_node_unref(ptr as *mut ffi::GskRenderNode), - } -} -impl glib::StaticType for CrossFadeNode { - fn static_type() -> glib::Type { - unsafe { from_glib(ffi::gsk_cross_fade_node_get_type()) } + type_ => || ffi::gsk_cross_fade_node_get_type(), } } diff --git a/gsk4/src/auto/debug_node.rs b/gsk4/src/auto/debug_node.rs index ee801a2e5a61..2fa9ebea674e 100644 --- a/gsk4/src/auto/debug_node.rs +++ b/gsk4/src/auto/debug_node.rs @@ -4,7 +4,6 @@ use crate::RenderNode; use glib::translate::*; -use glib::StaticType; use std::fmt; glib::wrapper! { @@ -14,11 +13,7 @@ glib::wrapper! { match fn { ref => |ptr| ffi::gsk_render_node_ref(ptr as *mut ffi::GskRenderNode), unref => |ptr| ffi::gsk_render_node_unref(ptr as *mut ffi::GskRenderNode), - } -} -impl glib::StaticType for DebugNode { - fn static_type() -> glib::Type { - unsafe { from_glib(ffi::gsk_debug_node_get_type()) } + type_ => || ffi::gsk_debug_node_get_type(), } } diff --git a/gsk4/src/auto/gl_shader_node.rs b/gsk4/src/auto/gl_shader_node.rs index c01071766ccc..abce6dc40c33 100644 --- a/gsk4/src/auto/gl_shader_node.rs +++ b/gsk4/src/auto/gl_shader_node.rs @@ -5,7 +5,6 @@ use crate::GLShader; use crate::RenderNode; use glib::translate::*; -use glib::StaticType; use std::fmt; glib::wrapper! { @@ -15,11 +14,7 @@ glib::wrapper! { match fn { ref => |ptr| ffi::gsk_render_node_ref(ptr as *mut ffi::GskRenderNode), unref => |ptr| ffi::gsk_render_node_unref(ptr as *mut ffi::GskRenderNode), - } -} -impl glib::StaticType for GLShaderNode { - fn static_type() -> glib::Type { - unsafe { from_glib(ffi::gsk_gl_shader_node_get_type()) } + type_ => || ffi::gsk_gl_shader_node_get_type(), } } diff --git a/gsk4/src/auto/inset_shadow_node.rs b/gsk4/src/auto/inset_shadow_node.rs index f162de66c196..33505ac00109 100644 --- a/gsk4/src/auto/inset_shadow_node.rs +++ b/gsk4/src/auto/inset_shadow_node.rs @@ -5,7 +5,6 @@ use crate::RenderNode; use crate::RoundedRect; use glib::translate::*; -use glib::StaticType; use std::fmt; glib::wrapper! { @@ -15,11 +14,7 @@ glib::wrapper! { match fn { ref => |ptr| ffi::gsk_render_node_ref(ptr as *mut ffi::GskRenderNode), unref => |ptr| ffi::gsk_render_node_unref(ptr as *mut ffi::GskRenderNode), - } -} -impl glib::StaticType for InsetShadowNode { - fn static_type() -> glib::Type { - unsafe { from_glib(ffi::gsk_inset_shadow_node_get_type()) } + type_ => || ffi::gsk_inset_shadow_node_get_type(), } } diff --git a/gsk4/src/auto/linear_gradient_node.rs b/gsk4/src/auto/linear_gradient_node.rs index 5b7a0c41fc92..f41cd68d0e9e 100644 --- a/gsk4/src/auto/linear_gradient_node.rs +++ b/gsk4/src/auto/linear_gradient_node.rs @@ -5,7 +5,6 @@ use crate::ColorStop; use crate::RenderNode; use glib::translate::*; -use glib::StaticType; use std::fmt; use std::mem; @@ -16,11 +15,7 @@ glib::wrapper! { match fn { ref => |ptr| ffi::gsk_render_node_ref(ptr as *mut ffi::GskRenderNode), unref => |ptr| ffi::gsk_render_node_unref(ptr as *mut ffi::GskRenderNode), - } -} -impl glib::StaticType for LinearGradientNode { - fn static_type() -> glib::Type { - unsafe { from_glib(ffi::gsk_linear_gradient_node_get_type()) } + type_ => || ffi::gsk_linear_gradient_node_get_type(), } } diff --git a/gsk4/src/auto/opacity_node.rs b/gsk4/src/auto/opacity_node.rs index 86b6f1b834c4..6a25eb69bf0a 100644 --- a/gsk4/src/auto/opacity_node.rs +++ b/gsk4/src/auto/opacity_node.rs @@ -4,7 +4,6 @@ use crate::RenderNode; use glib::translate::*; -use glib::StaticType; use std::fmt; glib::wrapper! { @@ -14,11 +13,7 @@ glib::wrapper! { match fn { ref => |ptr| ffi::gsk_render_node_ref(ptr as *mut ffi::GskRenderNode), unref => |ptr| ffi::gsk_render_node_unref(ptr as *mut ffi::GskRenderNode), - } -} -impl glib::StaticType for OpacityNode { - fn static_type() -> glib::Type { - unsafe { from_glib(ffi::gsk_opacity_node_get_type()) } + type_ => || ffi::gsk_opacity_node_get_type(), } } diff --git a/gsk4/src/auto/outset_shadow_node.rs b/gsk4/src/auto/outset_shadow_node.rs index 620b569a7ef6..11f0eb48a1cc 100644 --- a/gsk4/src/auto/outset_shadow_node.rs +++ b/gsk4/src/auto/outset_shadow_node.rs @@ -5,7 +5,6 @@ use crate::RenderNode; use crate::RoundedRect; use glib::translate::*; -use glib::StaticType; use std::fmt; glib::wrapper! { @@ -15,11 +14,7 @@ glib::wrapper! { match fn { ref => |ptr| ffi::gsk_render_node_ref(ptr as *mut ffi::GskRenderNode), unref => |ptr| ffi::gsk_render_node_unref(ptr as *mut ffi::GskRenderNode), - } -} -impl glib::StaticType for OutsetShadowNode { - fn static_type() -> glib::Type { - unsafe { from_glib(ffi::gsk_outset_shadow_node_get_type()) } + type_ => || ffi::gsk_outset_shadow_node_get_type(), } } diff --git a/gsk4/src/auto/radial_gradient_node.rs b/gsk4/src/auto/radial_gradient_node.rs index f8be066185a0..f0199b1b10f6 100644 --- a/gsk4/src/auto/radial_gradient_node.rs +++ b/gsk4/src/auto/radial_gradient_node.rs @@ -5,7 +5,6 @@ use crate::ColorStop; use crate::RenderNode; use glib::translate::*; -use glib::StaticType; use std::fmt; use std::mem; @@ -16,11 +15,7 @@ glib::wrapper! { match fn { ref => |ptr| ffi::gsk_render_node_ref(ptr as *mut ffi::GskRenderNode), unref => |ptr| ffi::gsk_render_node_unref(ptr as *mut ffi::GskRenderNode), - } -} -impl glib::StaticType for RadialGradientNode { - fn static_type() -> glib::Type { - unsafe { from_glib(ffi::gsk_radial_gradient_node_get_type()) } + type_ => || ffi::gsk_radial_gradient_node_get_type(), } } diff --git a/gsk4/src/auto/render_node.rs b/gsk4/src/auto/render_node.rs index fe00bb7a3823..05061dfd7f1c 100644 --- a/gsk4/src/auto/render_node.rs +++ b/gsk4/src/auto/render_node.rs @@ -4,7 +4,6 @@ use crate::RenderNodeType; use glib::translate::*; -use glib::StaticType; use std::fmt; use std::ptr; @@ -15,11 +14,7 @@ glib::wrapper! { match fn { ref => |ptr| ffi::gsk_render_node_ref(ptr), unref => |ptr| ffi::gsk_render_node_unref(ptr), - } -} -impl glib::StaticType for RenderNode { - fn static_type() -> glib::Type { - unsafe { from_glib(ffi::gsk_render_node_get_type()) } + type_ => || ffi::gsk_render_node_get_type(), } } diff --git a/gsk4/src/auto/repeat_node.rs b/gsk4/src/auto/repeat_node.rs index fb94088fac70..421e4ec68816 100644 --- a/gsk4/src/auto/repeat_node.rs +++ b/gsk4/src/auto/repeat_node.rs @@ -4,7 +4,6 @@ use crate::RenderNode; use glib::translate::*; -use glib::StaticType; use std::fmt; glib::wrapper! { @@ -14,11 +13,7 @@ glib::wrapper! { match fn { ref => |ptr| ffi::gsk_render_node_ref(ptr as *mut ffi::GskRenderNode), unref => |ptr| ffi::gsk_render_node_unref(ptr as *mut ffi::GskRenderNode), - } -} -impl glib::StaticType for RepeatNode { - fn static_type() -> glib::Type { - unsafe { from_glib(ffi::gsk_repeat_node_get_type()) } + type_ => || ffi::gsk_repeat_node_get_type(), } } diff --git a/gsk4/src/auto/repeating_linear_gradient_node.rs b/gsk4/src/auto/repeating_linear_gradient_node.rs index 32c2c617af81..9687dcd08216 100644 --- a/gsk4/src/auto/repeating_linear_gradient_node.rs +++ b/gsk4/src/auto/repeating_linear_gradient_node.rs @@ -4,7 +4,6 @@ use crate::RenderNode; use glib::translate::*; -use glib::StaticType; use std::fmt; glib::wrapper! { @@ -14,11 +13,7 @@ glib::wrapper! { match fn { ref => |ptr| ffi::gsk_render_node_ref(ptr as *mut ffi::GskRenderNode), unref => |ptr| ffi::gsk_render_node_unref(ptr as *mut ffi::GskRenderNode), - } -} -impl glib::StaticType for RepeatingLinearGradientNode { - fn static_type() -> glib::Type { - unsafe { from_glib(ffi::gsk_repeating_linear_gradient_node_get_type()) } + type_ => || ffi::gsk_repeating_linear_gradient_node_get_type(), } } diff --git a/gsk4/src/auto/repeating_radial_gradient_node.rs b/gsk4/src/auto/repeating_radial_gradient_node.rs index 88ca6da7657f..152aa3c3cf86 100644 --- a/gsk4/src/auto/repeating_radial_gradient_node.rs +++ b/gsk4/src/auto/repeating_radial_gradient_node.rs @@ -4,7 +4,6 @@ use crate::RenderNode; use glib::translate::*; -use glib::StaticType; use std::fmt; glib::wrapper! { @@ -14,11 +13,7 @@ glib::wrapper! { match fn { ref => |ptr| ffi::gsk_render_node_ref(ptr as *mut ffi::GskRenderNode), unref => |ptr| ffi::gsk_render_node_unref(ptr as *mut ffi::GskRenderNode), - } -} -impl glib::StaticType for RepeatingRadialGradientNode { - fn static_type() -> glib::Type { - unsafe { from_glib(ffi::gsk_repeating_radial_gradient_node_get_type()) } + type_ => || ffi::gsk_repeating_radial_gradient_node_get_type(), } } diff --git a/gsk4/src/auto/rounded_clip_node.rs b/gsk4/src/auto/rounded_clip_node.rs index 4e0ee907b995..ccdbb7b93348 100644 --- a/gsk4/src/auto/rounded_clip_node.rs +++ b/gsk4/src/auto/rounded_clip_node.rs @@ -5,7 +5,6 @@ use crate::RenderNode; use crate::RoundedRect; use glib::translate::*; -use glib::StaticType; use std::fmt; glib::wrapper! { @@ -15,11 +14,7 @@ glib::wrapper! { match fn { ref => |ptr| ffi::gsk_render_node_ref(ptr as *mut ffi::GskRenderNode), unref => |ptr| ffi::gsk_render_node_unref(ptr as *mut ffi::GskRenderNode), - } -} -impl glib::StaticType for RoundedClipNode { - fn static_type() -> glib::Type { - unsafe { from_glib(ffi::gsk_rounded_clip_node_get_type()) } + type_ => || ffi::gsk_rounded_clip_node_get_type(), } } diff --git a/gsk4/src/auto/shadow_node.rs b/gsk4/src/auto/shadow_node.rs index ff3d0c73611c..1f6dd1648be6 100644 --- a/gsk4/src/auto/shadow_node.rs +++ b/gsk4/src/auto/shadow_node.rs @@ -4,7 +4,6 @@ use crate::RenderNode; use glib::translate::*; -use glib::StaticType; use std::fmt; glib::wrapper! { @@ -14,11 +13,7 @@ glib::wrapper! { match fn { ref => |ptr| ffi::gsk_render_node_ref(ptr as *mut ffi::GskRenderNode), unref => |ptr| ffi::gsk_render_node_unref(ptr as *mut ffi::GskRenderNode), - } -} -impl glib::StaticType for ShadowNode { - fn static_type() -> glib::Type { - unsafe { from_glib(ffi::gsk_shadow_node_get_type()) } + type_ => || ffi::gsk_shadow_node_get_type(), } } diff --git a/gsk4/src/auto/text_node.rs b/gsk4/src/auto/text_node.rs index 1fdaed75b387..42ff8dcb4359 100644 --- a/gsk4/src/auto/text_node.rs +++ b/gsk4/src/auto/text_node.rs @@ -5,7 +5,6 @@ use crate::RenderNode; use glib::object::IsA; use glib::translate::*; -use glib::StaticType; use std::fmt; use std::mem; @@ -16,11 +15,7 @@ glib::wrapper! { match fn { ref => |ptr| ffi::gsk_render_node_ref(ptr as *mut ffi::GskRenderNode), unref => |ptr| ffi::gsk_render_node_unref(ptr as *mut ffi::GskRenderNode), - } -} -impl glib::StaticType for TextNode { - fn static_type() -> glib::Type { - unsafe { from_glib(ffi::gsk_text_node_get_type()) } + type_ => || ffi::gsk_text_node_get_type(), } } diff --git a/gsk4/src/auto/texture_node.rs b/gsk4/src/auto/texture_node.rs index 273c6879376f..fb39911391a7 100644 --- a/gsk4/src/auto/texture_node.rs +++ b/gsk4/src/auto/texture_node.rs @@ -5,7 +5,6 @@ use crate::RenderNode; use glib::object::IsA; use glib::translate::*; -use glib::StaticType; use std::fmt; glib::wrapper! { @@ -15,11 +14,7 @@ glib::wrapper! { match fn { ref => |ptr| ffi::gsk_render_node_ref(ptr as *mut ffi::GskRenderNode), unref => |ptr| ffi::gsk_render_node_unref(ptr as *mut ffi::GskRenderNode), - } -} -impl glib::StaticType for TextureNode { - fn static_type() -> glib::Type { - unsafe { from_glib(ffi::gsk_texture_node_get_type()) } + type_ => || ffi::gsk_texture_node_get_type(), } } diff --git a/gsk4/src/auto/transform_node.rs b/gsk4/src/auto/transform_node.rs index 1a205fc2a077..f002630c9da8 100644 --- a/gsk4/src/auto/transform_node.rs +++ b/gsk4/src/auto/transform_node.rs @@ -5,7 +5,6 @@ use crate::RenderNode; use crate::Transform; use glib::translate::*; -use glib::StaticType; use std::fmt; glib::wrapper! { @@ -15,11 +14,7 @@ glib::wrapper! { match fn { ref => |ptr| ffi::gsk_render_node_ref(ptr as *mut ffi::GskRenderNode), unref => |ptr| ffi::gsk_render_node_unref(ptr as *mut ffi::GskRenderNode), - } -} -impl glib::StaticType for TransformNode { - fn static_type() -> glib::Type { - unsafe { from_glib(ffi::gsk_transform_node_get_type()) } + type_ => || ffi::gsk_transform_node_get_type(), } } diff --git a/gsk4/src/auto/versions.txt b/gsk4/src/auto/versions.txt index b4980364c711..db17d4d06134 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 @ 090cd5db90ac) +Generated by gir (https://github.com/gtk-rs/gir @ 12b1f3471236) from gir-files (https://github.com/gtk-rs/gir-files.git @ 898f6c1fb177) diff --git a/gsk4/sys/versions.txt b/gsk4/sys/versions.txt index b4980364c711..db17d4d06134 100644 --- a/gsk4/sys/versions.txt +++ b/gsk4/sys/versions.txt @@ -1,2 +1,2 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 090cd5db90ac) +Generated by gir (https://github.com/gtk-rs/gir @ 12b1f3471236) from gir-files (https://github.com/gtk-rs/gir-files.git @ 898f6c1fb177) diff --git a/gtk4/src/auto/closure_expression.rs b/gtk4/src/auto/closure_expression.rs index ec7e09486cac..58d0811bbc97 100644 --- a/gtk4/src/auto/closure_expression.rs +++ b/gtk4/src/auto/closure_expression.rs @@ -4,7 +4,6 @@ use crate::Expression; use glib::translate::*; -use glib::StaticType; use std::fmt; glib::wrapper! { @@ -14,11 +13,7 @@ glib::wrapper! { match fn { ref => |ptr| ffi::gtk_expression_ref(ptr as *mut ffi::GtkExpression), unref => |ptr| ffi::gtk_expression_unref(ptr as *mut ffi::GtkExpression), - } -} -impl glib::StaticType for ClosureExpression { - fn static_type() -> glib::Type { - unsafe { from_glib(ffi::gtk_closure_expression_get_type()) } + type_ => || ffi::gtk_closure_expression_get_type(), } } diff --git a/gtk4/src/auto/constant_expression.rs b/gtk4/src/auto/constant_expression.rs index 5451b0345090..1b1b4a309802 100644 --- a/gtk4/src/auto/constant_expression.rs +++ b/gtk4/src/auto/constant_expression.rs @@ -4,7 +4,6 @@ use crate::Expression; use glib::translate::*; -use glib::StaticType; use std::fmt; glib::wrapper! { @@ -14,11 +13,7 @@ glib::wrapper! { match fn { ref => |ptr| ffi::gtk_expression_ref(ptr as *mut ffi::GtkExpression), unref => |ptr| ffi::gtk_expression_unref(ptr as *mut ffi::GtkExpression), - } -} -impl glib::StaticType for ConstantExpression { - fn static_type() -> glib::Type { - unsafe { from_glib(ffi::gtk_constant_expression_get_type()) } + type_ => || ffi::gtk_constant_expression_get_type(), } } diff --git a/gtk4/src/auto/expression.rs b/gtk4/src/auto/expression.rs index 650b67db39a8..3d662a38388a 100644 --- a/gtk4/src/auto/expression.rs +++ b/gtk4/src/auto/expression.rs @@ -5,7 +5,6 @@ use crate::ExpressionWatch; use glib::object::IsA; use glib::translate::*; -use glib::StaticType; use std::boxed::Box as Box_; use std::fmt; @@ -16,11 +15,7 @@ glib::wrapper! { match fn { ref => |ptr| ffi::gtk_expression_ref(ptr), unref => |ptr| ffi::gtk_expression_unref(ptr), - } -} -impl glib::StaticType for Expression { - fn static_type() -> glib::Type { - unsafe { from_glib(ffi::gtk_expression_get_type()) } + type_ => || ffi::gtk_expression_get_type(), } } diff --git a/gtk4/src/auto/object_expression.rs b/gtk4/src/auto/object_expression.rs index c684bdfbdc50..be441340ff5d 100644 --- a/gtk4/src/auto/object_expression.rs +++ b/gtk4/src/auto/object_expression.rs @@ -5,7 +5,6 @@ use crate::Expression; use glib::object::IsA; use glib::translate::*; -use glib::StaticType; use std::fmt; glib::wrapper! { @@ -15,11 +14,7 @@ glib::wrapper! { match fn { ref => |ptr| ffi::gtk_expression_ref(ptr as *mut ffi::GtkExpression), unref => |ptr| ffi::gtk_expression_unref(ptr as *mut ffi::GtkExpression), - } -} -impl glib::StaticType for ObjectExpression { - fn static_type() -> glib::Type { - unsafe { from_glib(ffi::gtk_object_expression_get_type()) } + type_ => || ffi::gtk_object_expression_get_type(), } } diff --git a/gtk4/src/auto/property_expression.rs b/gtk4/src/auto/property_expression.rs index 66d9e45e8aef..a44ddd11f8b2 100644 --- a/gtk4/src/auto/property_expression.rs +++ b/gtk4/src/auto/property_expression.rs @@ -4,7 +4,6 @@ use crate::Expression; use glib::translate::*; -use glib::StaticType; use std::fmt; glib::wrapper! { @@ -14,11 +13,7 @@ glib::wrapper! { match fn { ref => |ptr| ffi::gtk_expression_ref(ptr as *mut ffi::GtkExpression), unref => |ptr| ffi::gtk_expression_unref(ptr as *mut ffi::GtkExpression), - } -} -impl glib::StaticType for PropertyExpression { - fn static_type() -> glib::Type { - unsafe { from_glib(ffi::gtk_property_expression_get_type()) } + type_ => || ffi::gtk_property_expression_get_type(), } } diff --git a/gtk4/src/auto/versions.txt b/gtk4/src/auto/versions.txt index e81ceda06c3a..db17d4d06134 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 @ 36779e563f80) +Generated by gir (https://github.com/gtk-rs/gir @ 12b1f3471236) from gir-files (https://github.com/gtk-rs/gir-files.git @ 898f6c1fb177) diff --git a/gtk4/sys/versions.txt b/gtk4/sys/versions.txt index e81ceda06c3a..db17d4d06134 100644 --- a/gtk4/sys/versions.txt +++ b/gtk4/sys/versions.txt @@ -1,2 +1,2 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 36779e563f80) +Generated by gir (https://github.com/gtk-rs/gir @ 12b1f3471236) from gir-files (https://github.com/gtk-rs/gir-files.git @ 898f6c1fb177)