diff --git a/gtk4/Gir.toml b/gtk4/Gir.toml index 2b2b368e5d8a..95071a9e4581 100644 --- a/gtk4/Gir.toml +++ b/gtk4/Gir.toml @@ -130,7 +130,6 @@ generate = [ "Gtk.GestureRotate", "Gtk.GestureSwipe", "Gtk.GestureZoom", - "Gtk.GraphicsOffload", "Gtk.GraphicsOffloadEnabled", "Gtk.Grid", "Gtk.GridLayout", @@ -1371,6 +1370,14 @@ status = "generate" [object.signal.return] nullable = true +[[object]] +name = "Gtk.GraphicsOffload" +status = "generate" + [[object.property]] + name = "black-background" + generate = ["notify"] # already has a getter/setter + + [[object]] name = "Gtk.GridLayoutChild" status = "generate" diff --git a/gtk4/src/auto/graphics_offload.rs b/gtk4/src/auto/graphics_offload.rs index 04acd1e60365..80808592982f 100644 --- a/gtk4/src/auto/graphics_offload.rs +++ b/gtk4/src/auto/graphics_offload.rs @@ -95,16 +95,6 @@ impl GraphicsOffload { } } - #[doc(alias = "black-background")] - pub fn get_property_black_background(&self) -> bool { - ObjectExt::property(self, "black-background") - } - - #[doc(alias = "black-background")] - pub fn set_property_black_background(&self, black_background: bool) { - ObjectExt::set_property(self, "black-background", black_background) - } - #[doc(alias = "black-background")] pub fn connect_black_background_notify(&self, f: F) -> SignalHandlerId { unsafe extern "C" fn notify_black_background_trampoline<