From fdb027fc119d486006cca3798626088bc5e810ea Mon Sep 17 00:00:00 2001 From: frmdstryr Date: Sun, 7 Jan 2024 14:03:19 -0500 Subject: [PATCH] Include paramSpec arg in connectProperty --- gen.py | 3 ++- src/gdk/app_launch_context.zig | 2 +- src/gdk/cairo_context.zig | 2 +- src/gdk/clipboard.zig | 2 +- src/gdk/content_provider.zig | 2 +- src/gdk/cursor.zig | 2 +- src/gdk/device.zig | 2 +- src/gdk/device_tool.zig | 2 +- src/gdk/display.zig | 2 +- src/gdk/display_manager.zig | 2 +- src/gdk/drag.zig | 2 +- src/gdk/draw_context.zig | 2 +- src/gdk/drop.zig | 2 +- src/gdk/gl_context.zig | 2 +- src/gdk/gl_texture.zig | 2 +- src/gdk/memory_texture.zig | 2 +- src/gdk/monitor.zig | 2 +- src/gdk/popup.zig | 2 +- src/gdk/seat.zig | 2 +- src/gdk/surface.zig | 2 +- src/gdk/texture.zig | 2 +- src/gdk/toplevel.zig | 2 +- src/gdk/vulkan_context.zig | 2 +- src/gdkpixbuf/pixbuf.zig | 2 +- src/gdkpixbuf/pixbuf_simple_anim.zig | 2 +- src/gio/action.zig | 2 +- src/gio/application.zig | 2 +- src/gio/application_command_line.zig | 2 +- src/gio/buffered_input_stream.zig | 2 +- src/gio/buffered_output_stream.zig | 2 +- src/gio/bytes_icon.zig | 2 +- src/gio/charset_converter.zig | 2 +- src/gio/converter_input_stream.zig | 2 +- src/gio/converter_output_stream.zig | 2 +- src/gio/d_bus_connection.zig | 2 +- src/gio/d_bus_interface_skeleton.zig | 2 +- src/gio/d_bus_message.zig | 2 +- src/gio/d_bus_object_manager_client.zig | 2 +- src/gio/d_bus_object_manager_server.zig | 2 +- src/gio/d_bus_object_proxy.zig | 2 +- src/gio/d_bus_object_skeleton.zig | 2 +- src/gio/d_bus_proxy.zig | 2 +- src/gio/d_bus_server.zig | 2 +- src/gio/data_input_stream.zig | 2 +- src/gio/data_output_stream.zig | 2 +- src/gio/debug_controller.zig | 2 +- src/gio/debug_controller_d_bus.zig | 2 +- src/gio/desktop_app_info.zig | 2 +- src/gio/dtls_client_connection.zig | 2 +- src/gio/dtls_connection.zig | 2 +- src/gio/dtls_server_connection.zig | 2 +- src/gio/emblem.zig | 2 +- src/gio/emblemed_icon.zig | 2 +- src/gio/file_enumerator.zig | 2 +- src/gio/file_icon.zig | 2 +- src/gio/file_io_stream.zig | 2 +- src/gio/file_monitor.zig | 2 +- src/gio/filter_input_stream.zig | 2 +- src/gio/filter_output_stream.zig | 2 +- src/gio/inet_address.zig | 2 +- src/gio/inet_address_mask.zig | 2 +- src/gio/inet_socket_address.zig | 2 +- src/gio/io_stream.zig | 2 +- src/gio/list_store.zig | 2 +- src/gio/memory_output_stream.zig | 2 +- src/gio/mount_operation.zig | 2 +- src/gio/native_socket_address.zig | 2 +- src/gio/network_address.zig | 2 +- src/gio/network_monitor.zig | 2 +- src/gio/network_service.zig | 2 +- src/gio/permission.zig | 2 +- src/gio/power_profile_monitor.zig | 2 +- src/gio/property_action.zig | 2 +- src/gio/proxy_address.zig | 2 +- src/gio/proxy_address_enumerator.zig | 2 +- src/gio/settings.zig | 2 +- src/gio/simple_action.zig | 2 +- src/gio/simple_io_stream.zig | 2 +- src/gio/simple_permission.zig | 2 +- src/gio/simple_proxy_resolver.zig | 2 +- src/gio/socket.zig | 2 +- src/gio/socket_address.zig | 2 +- src/gio/socket_client.zig | 2 +- src/gio/socket_connection.zig | 2 +- src/gio/socket_listener.zig | 2 +- src/gio/socket_service.zig | 2 +- src/gio/subprocess.zig | 2 +- src/gio/subprocess_launcher.zig | 2 +- src/gio/task.zig | 2 +- src/gio/tcp_connection.zig | 2 +- src/gio/tcp_wrapper_connection.zig | 2 +- src/gio/test_d_bus.zig | 2 +- src/gio/themed_icon.zig | 2 +- src/gio/threaded_socket_service.zig | 2 +- src/gio/tls_certificate.zig | 2 +- src/gio/tls_client_connection.zig | 2 +- src/gio/tls_connection.zig | 2 +- src/gio/tls_file_database.zig | 2 +- src/gio/tls_password.zig | 2 +- src/gio/tls_server_connection.zig | 2 +- src/gio/unix_connection.zig | 2 +- src/gio/unix_credentials_message.zig | 2 +- src/gio/unix_fd_message.zig | 2 +- src/gio/unix_input_stream.zig | 2 +- src/gio/unix_output_stream.zig | 2 +- src/gio/unix_socket_address.zig | 2 +- src/gio/zlib_compressor.zig | 2 +- src/gio/zlib_decompressor.zig | 2 +- src/gobject/binding.zig | 2 +- src/gobject/binding_group.zig | 2 +- src/gobject/signal_group.zig | 2 +- src/gsk/cairo_renderer.zig | 2 +- src/gsk/gl_renderer.zig | 2 +- src/gsk/gl_shader.zig | 2 +- src/gsk/ngl_renderer.zig | 2 +- src/gsk/renderer.zig | 2 +- src/gtk/about_dialog.zig | 2 +- src/gtk/accessible.zig | 2 +- src/gtk/action_bar.zig | 2 +- src/gtk/actionable.zig | 2 +- src/gtk/adjustment.zig | 2 +- src/gtk/alternative_trigger.zig | 2 +- src/gtk/app_chooser.zig | 2 +- src/gtk/app_chooser_button.zig | 2 +- src/gtk/app_chooser_dialog.zig | 2 +- src/gtk/app_chooser_widget.zig | 2 +- src/gtk/application.zig | 2 +- src/gtk/application_window.zig | 2 +- src/gtk/aspect_frame.zig | 2 +- src/gtk/assistant.zig | 2 +- src/gtk/assistant_page.zig | 2 +- src/gtk/at_context.zig | 2 +- src/gtk/bookmark_list.zig | 2 +- src/gtk/bool_filter.zig | 2 +- src/gtk/box.zig | 2 +- src/gtk/box_layout.zig | 2 +- src/gtk/builder.zig | 2 +- src/gtk/builder_list_item_factory.zig | 2 +- src/gtk/button.zig | 2 +- src/gtk/calendar.zig | 2 +- src/gtk/cell_area.zig | 2 +- src/gtk/cell_area_box.zig | 2 +- src/gtk/cell_area_context.zig | 2 +- src/gtk/cell_editable.zig | 2 +- src/gtk/cell_renderer.zig | 2 +- src/gtk/cell_renderer_accel.zig | 2 +- src/gtk/cell_renderer_combo.zig | 2 +- src/gtk/cell_renderer_pixbuf.zig | 2 +- src/gtk/cell_renderer_progress.zig | 2 +- src/gtk/cell_renderer_spin.zig | 2 +- src/gtk/cell_renderer_spinner.zig | 2 +- src/gtk/cell_renderer_text.zig | 2 +- src/gtk/cell_renderer_toggle.zig | 2 +- src/gtk/cell_view.zig | 2 +- src/gtk/center_box.zig | 2 +- src/gtk/check_button.zig | 2 +- src/gtk/color_button.zig | 2 +- src/gtk/color_chooser.zig | 2 +- src/gtk/color_chooser_dialog.zig | 2 +- src/gtk/color_chooser_widget.zig | 2 +- src/gtk/column_view.zig | 2 +- src/gtk/column_view_column.zig | 2 +- src/gtk/combo_box.zig | 2 +- src/gtk/combo_box_text.zig | 2 +- src/gtk/constraint.zig | 2 +- src/gtk/constraint_guide.zig | 2 +- src/gtk/constraint_layout_child.zig | 2 +- src/gtk/dialog.zig | 2 +- src/gtk/directory_list.zig | 2 +- src/gtk/drag_icon.zig | 2 +- src/gtk/drag_source.zig | 2 +- src/gtk/drawing_area.zig | 2 +- src/gtk/drop_controller_motion.zig | 2 +- src/gtk/drop_down.zig | 2 +- src/gtk/drop_target.zig | 2 +- src/gtk/drop_target_async.zig | 2 +- src/gtk/editable.zig | 2 +- src/gtk/editable_label.zig | 2 +- src/gtk/emoji_chooser.zig | 2 +- src/gtk/entry.zig | 2 +- src/gtk/entry_buffer.zig | 2 +- src/gtk/entry_completion.zig | 2 +- src/gtk/event_controller.zig | 2 +- src/gtk/event_controller_focus.zig | 2 +- src/gtk/event_controller_key.zig | 2 +- src/gtk/event_controller_legacy.zig | 2 +- src/gtk/event_controller_motion.zig | 2 +- src/gtk/event_controller_scroll.zig | 2 +- src/gtk/expander.zig | 2 +- src/gtk/file_chooser.zig | 2 +- src/gtk/file_chooser_dialog.zig | 2 +- src/gtk/file_chooser_native.zig | 2 +- src/gtk/file_chooser_widget.zig | 2 +- src/gtk/file_filter.zig | 2 +- src/gtk/filter_list_model.zig | 2 +- src/gtk/fixed.zig | 2 +- src/gtk/fixed_layout_child.zig | 2 +- src/gtk/flatten_list_model.zig | 2 +- src/gtk/flow_box.zig | 2 +- src/gtk/flow_box_child.zig | 2 +- src/gtk/font_button.zig | 2 +- src/gtk/font_chooser.zig | 2 +- src/gtk/font_chooser_dialog.zig | 2 +- src/gtk/font_chooser_widget.zig | 2 +- src/gtk/frame.zig | 2 +- src/gtk/gesture.zig | 2 +- src/gtk/gesture_click.zig | 2 +- src/gtk/gesture_drag.zig | 2 +- src/gtk/gesture_long_press.zig | 2 +- src/gtk/gesture_pan.zig | 2 +- src/gtk/gesture_rotate.zig | 2 +- src/gtk/gesture_single.zig | 2 +- src/gtk/gesture_stylus.zig | 2 +- src/gtk/gesture_swipe.zig | 2 +- src/gtk/gesture_zoom.zig | 2 +- src/gtk/gl_area.zig | 2 +- src/gtk/grid.zig | 2 +- src/gtk/grid_layout.zig | 2 +- src/gtk/grid_layout_child.zig | 2 +- src/gtk/grid_view.zig | 2 +- src/gtk/header_bar.zig | 2 +- src/gtk/icon_paintable.zig | 2 +- src/gtk/icon_theme.zig | 2 +- src/gtk/icon_view.zig | 2 +- src/gtk/im_context.zig | 2 +- src/gtk/im_context_simple.zig | 2 +- src/gtk/im_multicontext.zig | 2 +- src/gtk/image.zig | 2 +- src/gtk/info_bar.zig | 2 +- src/gtk/keyval_trigger.zig | 2 +- src/gtk/label.zig | 2 +- src/gtk/layout_child.zig | 2 +- src/gtk/level_bar.zig | 2 +- src/gtk/link_button.zig | 2 +- src/gtk/list_base.zig | 2 +- src/gtk/list_box.zig | 2 +- src/gtk/list_box_row.zig | 2 +- src/gtk/list_item.zig | 2 +- src/gtk/list_view.zig | 2 +- src/gtk/lock_button.zig | 2 +- src/gtk/map_list_model.zig | 2 +- src/gtk/media_controls.zig | 2 +- src/gtk/media_file.zig | 2 +- src/gtk/media_stream.zig | 2 +- src/gtk/menu_button.zig | 2 +- src/gtk/message_dialog.zig | 2 +- src/gtk/mnemonic_trigger.zig | 2 +- src/gtk/mount_operation.zig | 2 +- src/gtk/multi_selection.zig | 2 +- src/gtk/named_action.zig | 2 +- src/gtk/native_dialog.zig | 2 +- src/gtk/no_selection.zig | 2 +- src/gtk/notebook.zig | 2 +- src/gtk/notebook_page.zig | 2 +- src/gtk/numeric_sorter.zig | 2 +- src/gtk/orientable.zig | 2 +- src/gtk/overlay.zig | 2 +- src/gtk/overlay_layout_child.zig | 2 +- src/gtk/pad_controller.zig | 2 +- src/gtk/page_setup_unix_dialog.zig | 2 +- src/gtk/paned.zig | 2 +- src/gtk/password_entry.zig | 2 +- src/gtk/password_entry_buffer.zig | 2 +- src/gtk/picture.zig | 2 +- src/gtk/popover.zig | 2 +- src/gtk/popover_menu.zig | 2 +- src/gtk/popover_menu_bar.zig | 2 +- src/gtk/print_job.zig | 2 +- src/gtk/print_operation.zig | 2 +- src/gtk/print_unix_dialog.zig | 2 +- src/gtk/printer.zig | 2 +- src/gtk/progress_bar.zig | 2 +- src/gtk/range.zig | 2 +- src/gtk/recent_manager.zig | 2 +- src/gtk/revealer.zig | 2 +- src/gtk/scale.zig | 2 +- src/gtk/scale_button.zig | 2 +- src/gtk/scrollable.zig | 2 +- src/gtk/scrollbar.zig | 2 +- src/gtk/scrolled_window.zig | 2 +- src/gtk/search_bar.zig | 2 +- src/gtk/search_entry.zig | 2 +- src/gtk/selection_filter_model.zig | 2 +- src/gtk/separator.zig | 2 +- src/gtk/settings.zig | 2 +- src/gtk/shortcut.zig | 2 +- src/gtk/shortcut_controller.zig | 2 +- src/gtk/shortcut_label.zig | 2 +- src/gtk/shortcuts_group.zig | 2 +- src/gtk/shortcuts_section.zig | 2 +- src/gtk/shortcuts_shortcut.zig | 2 +- src/gtk/shortcuts_window.zig | 2 +- src/gtk/signal_action.zig | 2 +- src/gtk/single_selection.zig | 2 +- src/gtk/size_group.zig | 2 +- src/gtk/slice_list_model.zig | 2 +- src/gtk/sort_list_model.zig | 2 +- src/gtk/spin_button.zig | 2 +- src/gtk/spinner.zig | 2 +- src/gtk/stack.zig | 2 +- src/gtk/stack_page.zig | 2 +- src/gtk/stack_sidebar.zig | 2 +- src/gtk/stack_switcher.zig | 2 +- src/gtk/statusbar.zig | 2 +- src/gtk/string_filter.zig | 2 +- src/gtk/string_object.zig | 2 +- src/gtk/string_sorter.zig | 2 +- src/gtk/style_context.zig | 2 +- src/gtk/switch.zig | 2 +- src/gtk/text.zig | 2 +- src/gtk/text_buffer.zig | 2 +- src/gtk/text_mark.zig | 2 +- src/gtk/text_tag.zig | 2 +- src/gtk/text_view.zig | 2 +- src/gtk/toggle_button.zig | 2 +- src/gtk/tree_expander.zig | 2 +- src/gtk/tree_list_model.zig | 2 +- src/gtk/tree_list_row.zig | 2 +- src/gtk/tree_list_row_sorter.zig | 2 +- src/gtk/tree_model_filter.zig | 2 +- src/gtk/tree_model_sort.zig | 2 +- src/gtk/tree_selection.zig | 2 +- src/gtk/tree_view.zig | 2 +- src/gtk/tree_view_column.zig | 2 +- src/gtk/video.zig | 2 +- src/gtk/viewport.zig | 2 +- src/gtk/volume_button.zig | 2 +- src/gtk/widget.zig | 2 +- src/gtk/widget_paintable.zig | 2 +- src/gtk/window.zig | 2 +- src/gtk/window_controls.zig | 2 +- src/gtk/window_handle.zig | 2 +- 332 files changed, 333 insertions(+), 332 deletions(-) diff --git a/gen.py b/gen.py index 235f323a..fb725578 100644 --- a/gen.py +++ b/gen.py @@ -183,7 +183,7 @@ self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); @@ -826,6 +826,7 @@ def generate_class(ns: str, Cls: type): out.append(f" \"notify::{name}\",") out.append(" };") if properties: + imports.add("gobject") out.append(PROPERTY_METHODS) this_cls = f"{ns.lower()}.{Cls.__name__}" diff --git a/src/gdk/app_launch_context.zig b/src/gdk/app_launch_context.zig index 3a9df7e6..91096e04 100644 --- a/src/gdk/app_launch_context.zig +++ b/src/gdk/app_launch_context.zig @@ -218,7 +218,7 @@ pub const AppLaunchContext = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gdk/cairo_context.zig b/src/gdk/cairo_context.zig index 6f9a5912..52c1cbfc 100644 --- a/src/gdk/cairo_context.zig +++ b/src/gdk/cairo_context.zig @@ -200,7 +200,7 @@ pub const CairoContext = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gdk/clipboard.zig b/src/gdk/clipboard.zig index 62e52a55..cb58733d 100644 --- a/src/gdk/clipboard.zig +++ b/src/gdk/clipboard.zig @@ -233,7 +233,7 @@ pub const Clipboard = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gdk/content_provider.zig b/src/gdk/content_provider.zig index 1aff8521..affa8cda 100644 --- a/src/gdk/content_provider.zig +++ b/src/gdk/content_provider.zig @@ -209,7 +209,7 @@ pub const ContentProvider = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gdk/cursor.zig b/src/gdk/cursor.zig index 1daf2ff7..fef74781 100644 --- a/src/gdk/cursor.zig +++ b/src/gdk/cursor.zig @@ -205,7 +205,7 @@ pub const Cursor = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gdk/device.zig b/src/gdk/device.zig index 696ad04c..aa1d35a4 100644 --- a/src/gdk/device.zig +++ b/src/gdk/device.zig @@ -262,7 +262,7 @@ pub const Device = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gdk/device_tool.zig b/src/gdk/device_tool.zig index 0b8273d2..4053f258 100644 --- a/src/gdk/device_tool.zig +++ b/src/gdk/device_tool.zig @@ -194,7 +194,7 @@ pub const DeviceTool = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gdk/display.zig b/src/gdk/display.zig index c9ecfe38..4c53879c 100644 --- a/src/gdk/display.zig +++ b/src/gdk/display.zig @@ -275,7 +275,7 @@ pub const Display = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gdk/display_manager.zig b/src/gdk/display_manager.zig index bdb6d796..ed507167 100644 --- a/src/gdk/display_manager.zig +++ b/src/gdk/display_manager.zig @@ -194,7 +194,7 @@ pub const DisplayManager = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gdk/drag.zig b/src/gdk/drag.zig index d712bc1f..c6c5182e 100644 --- a/src/gdk/drag.zig +++ b/src/gdk/drag.zig @@ -227,7 +227,7 @@ pub const Drag = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gdk/draw_context.zig b/src/gdk/draw_context.zig index 78bb6996..efa92d4c 100644 --- a/src/gdk/draw_context.zig +++ b/src/gdk/draw_context.zig @@ -197,7 +197,7 @@ pub const DrawContext = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gdk/drop.zig b/src/gdk/drop.zig index 56fcb800..539a147d 100644 --- a/src/gdk/drop.zig +++ b/src/gdk/drop.zig @@ -223,7 +223,7 @@ pub const Drop = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gdk/gl_context.zig b/src/gdk/gl_context.zig index bd68373a..e0854084 100644 --- a/src/gdk/gl_context.zig +++ b/src/gdk/gl_context.zig @@ -260,7 +260,7 @@ pub const GLContext = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gdk/gl_texture.zig b/src/gdk/gl_texture.zig index a779cfab..4fe03234 100644 --- a/src/gdk/gl_texture.zig +++ b/src/gdk/gl_texture.zig @@ -222,7 +222,7 @@ pub const GLTexture = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gdk/memory_texture.zig b/src/gdk/memory_texture.zig index c4b7fc1b..0d1ba6a0 100644 --- a/src/gdk/memory_texture.zig +++ b/src/gdk/memory_texture.zig @@ -219,7 +219,7 @@ pub const MemoryTexture = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gdk/monitor.zig b/src/gdk/monitor.zig index 371d7c41..242badbe 100644 --- a/src/gdk/monitor.zig +++ b/src/gdk/monitor.zig @@ -231,7 +231,7 @@ pub const Monitor = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gdk/popup.zig b/src/gdk/popup.zig index 097fd411..f154b40e 100644 --- a/src/gdk/popup.zig +++ b/src/gdk/popup.zig @@ -51,7 +51,7 @@ pub const Popup = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gdk/seat.zig b/src/gdk/seat.zig index bf462b9a..fed28030 100644 --- a/src/gdk/seat.zig +++ b/src/gdk/seat.zig @@ -203,7 +203,7 @@ pub const Seat = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gdk/surface.zig b/src/gdk/surface.zig index 80af1a51..1fac5723 100644 --- a/src/gdk/surface.zig +++ b/src/gdk/surface.zig @@ -277,7 +277,7 @@ pub const Surface = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gdk/texture.zig b/src/gdk/texture.zig index bba3a9aa..387c6062 100644 --- a/src/gdk/texture.zig +++ b/src/gdk/texture.zig @@ -216,7 +216,7 @@ pub const Texture = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gdk/toplevel.zig b/src/gdk/toplevel.zig index d6fbcd43..3086a1ff 100644 --- a/src/gdk/toplevel.zig +++ b/src/gdk/toplevel.zig @@ -170,7 +170,7 @@ pub const Toplevel = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gdk/vulkan_context.zig b/src/gdk/vulkan_context.zig index 999668ba..6ff78a86 100644 --- a/src/gdk/vulkan_context.zig +++ b/src/gdk/vulkan_context.zig @@ -200,7 +200,7 @@ pub const VulkanContext = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gdkpixbuf/pixbuf.zig b/src/gdkpixbuf/pixbuf.zig index 49d5c7ed..9623aa83 100644 --- a/src/gdkpixbuf/pixbuf.zig +++ b/src/gdkpixbuf/pixbuf.zig @@ -368,7 +368,7 @@ pub const Pixbuf = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gdkpixbuf/pixbuf_simple_anim.zig b/src/gdkpixbuf/pixbuf_simple_anim.zig index 729adfd5..a0f2022e 100644 --- a/src/gdkpixbuf/pixbuf_simple_anim.zig +++ b/src/gdkpixbuf/pixbuf_simple_anim.zig @@ -220,7 +220,7 @@ pub const PixbufSimpleAnim = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gio/action.zig b/src/gio/action.zig index 56482daf..9bf23845 100644 --- a/src/gio/action.zig +++ b/src/gio/action.zig @@ -70,7 +70,7 @@ pub const Action = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gio/application.zig b/src/gio/application.zig index ec8455f4..06babef0 100644 --- a/src/gio/application.zig +++ b/src/gio/application.zig @@ -317,7 +317,7 @@ pub const Application = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gio/application_command_line.zig b/src/gio/application_command_line.zig index 7bf5ea29..0a3917bc 100644 --- a/src/gio/application_command_line.zig +++ b/src/gio/application_command_line.zig @@ -217,7 +217,7 @@ pub const ApplicationCommandLine = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gio/buffered_input_stream.zig b/src/gio/buffered_input_stream.zig index c05826bb..7e739061 100644 --- a/src/gio/buffered_input_stream.zig +++ b/src/gio/buffered_input_stream.zig @@ -282,7 +282,7 @@ pub const BufferedInputStream = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gio/buffered_output_stream.zig b/src/gio/buffered_output_stream.zig index 9b1274ed..e5be09ae 100644 --- a/src/gio/buffered_output_stream.zig +++ b/src/gio/buffered_output_stream.zig @@ -299,7 +299,7 @@ pub const BufferedOutputStream = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gio/bytes_icon.zig b/src/gio/bytes_icon.zig index 2abf08de..7f520c0d 100644 --- a/src/gio/bytes_icon.zig +++ b/src/gio/bytes_icon.zig @@ -182,7 +182,7 @@ pub const BytesIcon = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gio/charset_converter.zig b/src/gio/charset_converter.zig index 771be94f..ef3832ac 100644 --- a/src/gio/charset_converter.zig +++ b/src/gio/charset_converter.zig @@ -192,7 +192,7 @@ pub const CharsetConverter = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gio/converter_input_stream.zig b/src/gio/converter_input_stream.zig index 9870ba06..c7d4244e 100644 --- a/src/gio/converter_input_stream.zig +++ b/src/gio/converter_input_stream.zig @@ -255,7 +255,7 @@ pub const ConverterInputStream = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gio/converter_output_stream.zig b/src/gio/converter_output_stream.zig index cd8fd097..ee2b08ee 100644 --- a/src/gio/converter_output_stream.zig +++ b/src/gio/converter_output_stream.zig @@ -285,7 +285,7 @@ pub const ConverterOutputStream = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gio/d_bus_connection.zig b/src/gio/d_bus_connection.zig index 53187174..359aaa07 100644 --- a/src/gio/d_bus_connection.zig +++ b/src/gio/d_bus_connection.zig @@ -332,7 +332,7 @@ pub const DBusConnection = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gio/d_bus_interface_skeleton.zig b/src/gio/d_bus_interface_skeleton.zig index a7d070cb..8e1b95f4 100644 --- a/src/gio/d_bus_interface_skeleton.zig +++ b/src/gio/d_bus_interface_skeleton.zig @@ -216,7 +216,7 @@ pub const DBusInterfaceSkeleton = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gio/d_bus_message.zig b/src/gio/d_bus_message.zig index 655539d3..9fcd15d7 100644 --- a/src/gio/d_bus_message.zig +++ b/src/gio/d_bus_message.zig @@ -317,7 +317,7 @@ pub const DBusMessage = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gio/d_bus_object_manager_client.zig b/src/gio/d_bus_object_manager_client.zig index d415f4a7..218ff244 100644 --- a/src/gio/d_bus_object_manager_client.zig +++ b/src/gio/d_bus_object_manager_client.zig @@ -228,7 +228,7 @@ pub const DBusObjectManagerClient = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gio/d_bus_object_manager_server.zig b/src/gio/d_bus_object_manager_server.zig index 33ac32ff..852509f5 100644 --- a/src/gio/d_bus_object_manager_server.zig +++ b/src/gio/d_bus_object_manager_server.zig @@ -201,7 +201,7 @@ pub const DBusObjectManagerServer = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gio/d_bus_object_proxy.zig b/src/gio/d_bus_object_proxy.zig index e97ba30c..1c177575 100644 --- a/src/gio/d_bus_object_proxy.zig +++ b/src/gio/d_bus_object_proxy.zig @@ -186,7 +186,7 @@ pub const DBusObjectProxy = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gio/d_bus_object_skeleton.zig b/src/gio/d_bus_object_skeleton.zig index f07bb968..1789b050 100644 --- a/src/gio/d_bus_object_skeleton.zig +++ b/src/gio/d_bus_object_skeleton.zig @@ -198,7 +198,7 @@ pub const DBusObjectSkeleton = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gio/d_bus_proxy.zig b/src/gio/d_bus_proxy.zig index 94f714b8..dbd63abf 100644 --- a/src/gio/d_bus_proxy.zig +++ b/src/gio/d_bus_proxy.zig @@ -273,7 +273,7 @@ pub const DBusProxy = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gio/d_bus_server.zig b/src/gio/d_bus_server.zig index 464df04a..e265a5aa 100644 --- a/src/gio/d_bus_server.zig +++ b/src/gio/d_bus_server.zig @@ -209,7 +209,7 @@ pub const DBusServer = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gio/data_input_stream.zig b/src/gio/data_input_stream.zig index f9e24fde..6048fe53 100644 --- a/src/gio/data_input_stream.zig +++ b/src/gio/data_input_stream.zig @@ -349,7 +349,7 @@ pub const DataInputStream = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gio/data_output_stream.zig b/src/gio/data_output_stream.zig index 432cb95c..18d78b56 100644 --- a/src/gio/data_output_stream.zig +++ b/src/gio/data_output_stream.zig @@ -312,7 +312,7 @@ pub const DataOutputStream = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gio/debug_controller.zig b/src/gio/debug_controller.zig index 53ff969f..eeed8fe6 100644 --- a/src/gio/debug_controller.zig +++ b/src/gio/debug_controller.zig @@ -34,7 +34,7 @@ pub const DebugController = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gio/debug_controller_d_bus.zig b/src/gio/debug_controller_d_bus.zig index 2030662a..9e9a8927 100644 --- a/src/gio/debug_controller_d_bus.zig +++ b/src/gio/debug_controller_d_bus.zig @@ -185,7 +185,7 @@ pub const DebugControllerDBus = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gio/desktop_app_info.zig b/src/gio/desktop_app_info.zig index e0d83774..04d9d57b 100644 --- a/src/gio/desktop_app_info.zig +++ b/src/gio/desktop_app_info.zig @@ -249,7 +249,7 @@ pub const DesktopAppInfo = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gio/dtls_client_connection.zig b/src/gio/dtls_client_connection.zig index ca53ef88..0d3b3673 100644 --- a/src/gio/dtls_client_connection.zig +++ b/src/gio/dtls_client_connection.zig @@ -51,7 +51,7 @@ pub const DtlsClientConnection = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gio/dtls_connection.zig b/src/gio/dtls_connection.zig index e65cf8fd..de575630 100644 --- a/src/gio/dtls_connection.zig +++ b/src/gio/dtls_connection.zig @@ -197,7 +197,7 @@ pub const DtlsConnection = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gio/dtls_server_connection.zig b/src/gio/dtls_server_connection.zig index bee84700..6f9fbb4f 100644 --- a/src/gio/dtls_server_connection.zig +++ b/src/gio/dtls_server_connection.zig @@ -31,7 +31,7 @@ pub const DtlsServerConnection = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gio/emblem.zig b/src/gio/emblem.zig index 9ecf0206..b28dc861 100644 --- a/src/gio/emblem.zig +++ b/src/gio/emblem.zig @@ -190,7 +190,7 @@ pub const Emblem = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gio/emblemed_icon.zig b/src/gio/emblemed_icon.zig index b72a53e7..d1692c50 100644 --- a/src/gio/emblemed_icon.zig +++ b/src/gio/emblemed_icon.zig @@ -193,7 +193,7 @@ pub const EmblemedIcon = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gio/file_enumerator.zig b/src/gio/file_enumerator.zig index 141b0edb..e129e0f0 100644 --- a/src/gio/file_enumerator.zig +++ b/src/gio/file_enumerator.zig @@ -214,7 +214,7 @@ pub const FileEnumerator = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gio/file_icon.zig b/src/gio/file_icon.zig index 1ad74819..1895013b 100644 --- a/src/gio/file_icon.zig +++ b/src/gio/file_icon.zig @@ -182,7 +182,7 @@ pub const FileIcon = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gio/file_io_stream.zig b/src/gio/file_io_stream.zig index 47e58f8e..8d5886af 100644 --- a/src/gio/file_io_stream.zig +++ b/src/gio/file_io_stream.zig @@ -227,7 +227,7 @@ pub const FileIOStream = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gio/file_monitor.zig b/src/gio/file_monitor.zig index 3d10f926..c0fabc75 100644 --- a/src/gio/file_monitor.zig +++ b/src/gio/file_monitor.zig @@ -194,7 +194,7 @@ pub const FileMonitor = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gio/filter_input_stream.zig b/src/gio/filter_input_stream.zig index fc12c3bf..dae269ca 100644 --- a/src/gio/filter_input_stream.zig +++ b/src/gio/filter_input_stream.zig @@ -247,7 +247,7 @@ pub const FilterInputStream = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gio/filter_output_stream.zig b/src/gio/filter_output_stream.zig index cac82462..c8d2451a 100644 --- a/src/gio/filter_output_stream.zig +++ b/src/gio/filter_output_stream.zig @@ -277,7 +277,7 @@ pub const FilterOutputStream = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gio/inet_address.zig b/src/gio/inet_address.zig index 97fa2cf0..1fc60c96 100644 --- a/src/gio/inet_address.zig +++ b/src/gio/inet_address.zig @@ -254,7 +254,7 @@ pub const InetAddress = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gio/inet_address_mask.zig b/src/gio/inet_address_mask.zig index 30f09128..b8a7d1e8 100644 --- a/src/gio/inet_address_mask.zig +++ b/src/gio/inet_address_mask.zig @@ -206,7 +206,7 @@ pub const InetAddressMask = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gio/inet_socket_address.zig b/src/gio/inet_socket_address.zig index 217680d8..691b2861 100644 --- a/src/gio/inet_socket_address.zig +++ b/src/gio/inet_socket_address.zig @@ -216,7 +216,7 @@ pub const InetSocketAddress = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gio/io_stream.zig b/src/gio/io_stream.zig index a3ae7575..ae77a7d2 100644 --- a/src/gio/io_stream.zig +++ b/src/gio/io_stream.zig @@ -215,7 +215,7 @@ pub const IOStream = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gio/list_store.zig b/src/gio/list_store.zig index 908a75f3..3d15ba86 100644 --- a/src/gio/list_store.zig +++ b/src/gio/list_store.zig @@ -206,7 +206,7 @@ pub const ListStore = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gio/memory_output_stream.zig b/src/gio/memory_output_stream.zig index e1c47f0f..f6819ed1 100644 --- a/src/gio/memory_output_stream.zig +++ b/src/gio/memory_output_stream.zig @@ -281,7 +281,7 @@ pub const MemoryOutputStream = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gio/mount_operation.zig b/src/gio/mount_operation.zig index 6d6c2da8..b7b3865f 100644 --- a/src/gio/mount_operation.zig +++ b/src/gio/mount_operation.zig @@ -266,7 +266,7 @@ pub const MountOperation = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gio/native_socket_address.zig b/src/gio/native_socket_address.zig index 86a26c51..8c2cee84 100644 --- a/src/gio/native_socket_address.zig +++ b/src/gio/native_socket_address.zig @@ -193,7 +193,7 @@ pub const NativeSocketAddress = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gio/network_address.zig b/src/gio/network_address.zig index 265766e8..23d21902 100644 --- a/src/gio/network_address.zig +++ b/src/gio/network_address.zig @@ -203,7 +203,7 @@ pub const NetworkAddress = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gio/network_monitor.zig b/src/gio/network_monitor.zig index efafe9b1..2f0d37cd 100644 --- a/src/gio/network_monitor.zig +++ b/src/gio/network_monitor.zig @@ -119,7 +119,7 @@ pub const NetworkMonitor = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gio/network_service.zig b/src/gio/network_service.zig index d7d807a4..e7c75bc9 100644 --- a/src/gio/network_service.zig +++ b/src/gio/network_service.zig @@ -202,7 +202,7 @@ pub const NetworkService = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gio/permission.zig b/src/gio/permission.zig index 53ccc3f4..f3d49201 100644 --- a/src/gio/permission.zig +++ b/src/gio/permission.zig @@ -212,7 +212,7 @@ pub const Permission = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gio/power_profile_monitor.zig b/src/gio/power_profile_monitor.zig index 3a7c8e81..37144426 100644 --- a/src/gio/power_profile_monitor.zig +++ b/src/gio/power_profile_monitor.zig @@ -34,7 +34,7 @@ pub const PowerProfileMonitor = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gio/property_action.zig b/src/gio/property_action.zig index 920f8b1a..de53c17d 100644 --- a/src/gio/property_action.zig +++ b/src/gio/property_action.zig @@ -193,7 +193,7 @@ pub const PropertyAction = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gio/proxy_address.zig b/src/gio/proxy_address.zig index 52389333..e6d3667e 100644 --- a/src/gio/proxy_address.zig +++ b/src/gio/proxy_address.zig @@ -251,7 +251,7 @@ pub const ProxyAddress = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gio/proxy_address_enumerator.zig b/src/gio/proxy_address_enumerator.zig index cbab81b0..0867a708 100644 --- a/src/gio/proxy_address_enumerator.zig +++ b/src/gio/proxy_address_enumerator.zig @@ -193,7 +193,7 @@ pub const ProxyAddressEnumerator = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gio/settings.zig b/src/gio/settings.zig index a5bcfe36..de7c5634 100644 --- a/src/gio/settings.zig +++ b/src/gio/settings.zig @@ -342,7 +342,7 @@ pub const Settings = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gio/simple_action.zig b/src/gio/simple_action.zig index 6d0dd714..426029c7 100644 --- a/src/gio/simple_action.zig +++ b/src/gio/simple_action.zig @@ -203,7 +203,7 @@ pub const SimpleAction = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gio/simple_io_stream.zig b/src/gio/simple_io_stream.zig index a89d8135..5f938a74 100644 --- a/src/gio/simple_io_stream.zig +++ b/src/gio/simple_io_stream.zig @@ -222,7 +222,7 @@ pub const SimpleIOStream = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gio/simple_permission.zig b/src/gio/simple_permission.zig index b53d65a3..ba698fe1 100644 --- a/src/gio/simple_permission.zig +++ b/src/gio/simple_permission.zig @@ -215,7 +215,7 @@ pub const SimplePermission = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gio/simple_proxy_resolver.zig b/src/gio/simple_proxy_resolver.zig index 969a44df..d7aae24e 100644 --- a/src/gio/simple_proxy_resolver.zig +++ b/src/gio/simple_proxy_resolver.zig @@ -192,7 +192,7 @@ pub const SimpleProxyResolver = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gio/socket.zig b/src/gio/socket.zig index 901855b7..2e69e2c8 100644 --- a/src/gio/socket.zig +++ b/src/gio/socket.zig @@ -375,7 +375,7 @@ pub const Socket = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gio/socket_address.zig b/src/gio/socket_address.zig index b0e4882f..843aadae 100644 --- a/src/gio/socket_address.zig +++ b/src/gio/socket_address.zig @@ -189,7 +189,7 @@ pub const SocketAddress = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gio/socket_client.zig b/src/gio/socket_client.zig index b72af460..f527cb8c 100644 --- a/src/gio/socket_client.zig +++ b/src/gio/socket_client.zig @@ -292,7 +292,7 @@ pub const SocketClient = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gio/socket_connection.zig b/src/gio/socket_connection.zig index a2573d2f..eb2ed55e 100644 --- a/src/gio/socket_connection.zig +++ b/src/gio/socket_connection.zig @@ -244,7 +244,7 @@ pub const SocketConnection = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gio/socket_listener.zig b/src/gio/socket_listener.zig index bc41beef..c8e65786 100644 --- a/src/gio/socket_listener.zig +++ b/src/gio/socket_listener.zig @@ -219,7 +219,7 @@ pub const SocketListener = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gio/socket_service.zig b/src/gio/socket_service.zig index 19ea2332..bd5dc53b 100644 --- a/src/gio/socket_service.zig +++ b/src/gio/socket_service.zig @@ -232,7 +232,7 @@ pub const SocketService = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gio/subprocess.zig b/src/gio/subprocess.zig index 7ee99218..205e8936 100644 --- a/src/gio/subprocess.zig +++ b/src/gio/subprocess.zig @@ -253,7 +253,7 @@ pub const Subprocess = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gio/subprocess_launcher.zig b/src/gio/subprocess_launcher.zig index 167d0949..1e5787a4 100644 --- a/src/gio/subprocess_launcher.zig +++ b/src/gio/subprocess_launcher.zig @@ -224,7 +224,7 @@ pub const SubprocessLauncher = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gio/task.zig b/src/gio/task.zig index 7e636472..a91df610 100644 --- a/src/gio/task.zig +++ b/src/gio/task.zig @@ -272,7 +272,7 @@ pub const Task = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gio/tcp_connection.zig b/src/gio/tcp_connection.zig index 28bd4935..fae3945f 100644 --- a/src/gio/tcp_connection.zig +++ b/src/gio/tcp_connection.zig @@ -252,7 +252,7 @@ pub const TcpConnection = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gio/tcp_wrapper_connection.zig b/src/gio/tcp_wrapper_connection.zig index b9827f0a..cfce991d 100644 --- a/src/gio/tcp_wrapper_connection.zig +++ b/src/gio/tcp_wrapper_connection.zig @@ -260,7 +260,7 @@ pub const TcpWrapperConnection = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gio/test_d_bus.zig b/src/gio/test_d_bus.zig index d3c18235..a72f1db8 100644 --- a/src/gio/test_d_bus.zig +++ b/src/gio/test_d_bus.zig @@ -200,7 +200,7 @@ pub const TestDBus = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gio/themed_icon.zig b/src/gio/themed_icon.zig index d16f8046..9a39c516 100644 --- a/src/gio/themed_icon.zig +++ b/src/gio/themed_icon.zig @@ -198,7 +198,7 @@ pub const ThemedIcon = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gio/threaded_socket_service.zig b/src/gio/threaded_socket_service.zig index 9a674cd5..1bcee33d 100644 --- a/src/gio/threaded_socket_service.zig +++ b/src/gio/threaded_socket_service.zig @@ -236,7 +236,7 @@ pub const ThreadedSocketService = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gio/tls_certificate.zig b/src/gio/tls_certificate.zig index b2052e60..8b9ebd94 100644 --- a/src/gio/tls_certificate.zig +++ b/src/gio/tls_certificate.zig @@ -254,7 +254,7 @@ pub const TlsCertificate = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gio/tls_client_connection.zig b/src/gio/tls_client_connection.zig index 2beee7a8..bf0a04c8 100644 --- a/src/gio/tls_client_connection.zig +++ b/src/gio/tls_client_connection.zig @@ -62,7 +62,7 @@ pub const TlsClientConnection = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gio/tls_connection.zig b/src/gio/tls_connection.zig index 6800ed62..eba028b4 100644 --- a/src/gio/tls_connection.zig +++ b/src/gio/tls_connection.zig @@ -312,7 +312,7 @@ pub const TlsConnection = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gio/tls_file_database.zig b/src/gio/tls_file_database.zig index 695fabaf..546ca32d 100644 --- a/src/gio/tls_file_database.zig +++ b/src/gio/tls_file_database.zig @@ -31,7 +31,7 @@ pub const TlsFileDatabase = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gio/tls_password.zig b/src/gio/tls_password.zig index 1dcf1010..bbd5f571 100644 --- a/src/gio/tls_password.zig +++ b/src/gio/tls_password.zig @@ -212,7 +212,7 @@ pub const TlsPassword = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gio/tls_server_connection.zig b/src/gio/tls_server_connection.zig index 0da9ddac..8a5227c7 100644 --- a/src/gio/tls_server_connection.zig +++ b/src/gio/tls_server_connection.zig @@ -31,7 +31,7 @@ pub const TlsServerConnection = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gio/unix_connection.zig b/src/gio/unix_connection.zig index 1cb5186e..ffb6b06f 100644 --- a/src/gio/unix_connection.zig +++ b/src/gio/unix_connection.zig @@ -268,7 +268,7 @@ pub const UnixConnection = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gio/unix_credentials_message.zig b/src/gio/unix_credentials_message.zig index 59232092..01c5b516 100644 --- a/src/gio/unix_credentials_message.zig +++ b/src/gio/unix_credentials_message.zig @@ -205,7 +205,7 @@ pub const UnixCredentialsMessage = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gio/unix_fd_message.zig b/src/gio/unix_fd_message.zig index 7a891869..c58ac8fe 100644 --- a/src/gio/unix_fd_message.zig +++ b/src/gio/unix_fd_message.zig @@ -208,7 +208,7 @@ pub const UnixFDMessage = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gio/unix_input_stream.zig b/src/gio/unix_input_stream.zig index 0ed9a323..27246326 100644 --- a/src/gio/unix_input_stream.zig +++ b/src/gio/unix_input_stream.zig @@ -249,7 +249,7 @@ pub const UnixInputStream = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gio/unix_output_stream.zig b/src/gio/unix_output_stream.zig index dc7aa8f4..43bd9512 100644 --- a/src/gio/unix_output_stream.zig +++ b/src/gio/unix_output_stream.zig @@ -279,7 +279,7 @@ pub const UnixOutputStream = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gio/unix_socket_address.zig b/src/gio/unix_socket_address.zig index f90ec264..f075117c 100644 --- a/src/gio/unix_socket_address.zig +++ b/src/gio/unix_socket_address.zig @@ -222,7 +222,7 @@ pub const UnixSocketAddress = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gio/zlib_compressor.zig b/src/gio/zlib_compressor.zig index b42d4950..abc6c917 100644 --- a/src/gio/zlib_compressor.zig +++ b/src/gio/zlib_compressor.zig @@ -189,7 +189,7 @@ pub const ZlibCompressor = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gio/zlib_decompressor.zig b/src/gio/zlib_decompressor.zig index 4ffad78f..2a532175 100644 --- a/src/gio/zlib_decompressor.zig +++ b/src/gio/zlib_decompressor.zig @@ -184,7 +184,7 @@ pub const ZlibDecompressor = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gobject/binding.zig b/src/gobject/binding.zig index 02eb5143..b0ee0c48 100644 --- a/src/gobject/binding.zig +++ b/src/gobject/binding.zig @@ -207,7 +207,7 @@ pub const Binding = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gobject/binding_group.zig b/src/gobject/binding_group.zig index f8cb5ca7..aed6c330 100644 --- a/src/gobject/binding_group.zig +++ b/src/gobject/binding_group.zig @@ -190,7 +190,7 @@ pub const BindingGroup = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gobject/signal_group.zig b/src/gobject/signal_group.zig index 3b5848d3..ff7bfa51 100644 --- a/src/gobject/signal_group.zig +++ b/src/gobject/signal_group.zig @@ -202,7 +202,7 @@ pub const SignalGroup = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gsk/cairo_renderer.zig b/src/gsk/cairo_renderer.zig index 808b73e8..6b095925 100644 --- a/src/gsk/cairo_renderer.zig +++ b/src/gsk/cairo_renderer.zig @@ -205,7 +205,7 @@ pub const CairoRenderer = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gsk/gl_renderer.zig b/src/gsk/gl_renderer.zig index 5a2e5b9e..c380381e 100644 --- a/src/gsk/gl_renderer.zig +++ b/src/gsk/gl_renderer.zig @@ -205,7 +205,7 @@ pub const GLRenderer = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gsk/gl_shader.zig b/src/gsk/gl_shader.zig index 375e325c..be2592c6 100644 --- a/src/gsk/gl_shader.zig +++ b/src/gsk/gl_shader.zig @@ -236,7 +236,7 @@ pub const GLShader = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gsk/ngl_renderer.zig b/src/gsk/ngl_renderer.zig index 1a7bb33c..d7d72aa1 100644 --- a/src/gsk/ngl_renderer.zig +++ b/src/gsk/ngl_renderer.zig @@ -205,7 +205,7 @@ pub const NglRenderer = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gsk/renderer.zig b/src/gsk/renderer.zig index dea30611..69444670 100644 --- a/src/gsk/renderer.zig +++ b/src/gsk/renderer.zig @@ -202,7 +202,7 @@ pub const Renderer = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/about_dialog.zig b/src/gtk/about_dialog.zig index 29dfa02e..7503f2e9 100644 --- a/src/gtk/about_dialog.zig +++ b/src/gtk/about_dialog.zig @@ -1138,7 +1138,7 @@ pub const AboutDialog = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/accessible.zig b/src/gtk/accessible.zig index 29307a0b..732acdc6 100644 --- a/src/gtk/accessible.zig +++ b/src/gtk/accessible.zig @@ -49,7 +49,7 @@ pub const Accessible = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/action_bar.zig b/src/gtk/action_bar.zig index c60140a1..73ed8f10 100644 --- a/src/gtk/action_bar.zig +++ b/src/gtk/action_bar.zig @@ -790,7 +790,7 @@ pub const ActionBar = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/actionable.zig b/src/gtk/actionable.zig index cfc80556..1aaf9b44 100644 --- a/src/gtk/actionable.zig +++ b/src/gtk/actionable.zig @@ -46,7 +46,7 @@ pub const Actionable = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/adjustment.zig b/src/gtk/adjustment.zig index d1299a3a..e0579d84 100644 --- a/src/gtk/adjustment.zig +++ b/src/gtk/adjustment.zig @@ -239,7 +239,7 @@ pub const Adjustment = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/alternative_trigger.zig b/src/gtk/alternative_trigger.zig index 87aada3c..be073d0e 100644 --- a/src/gtk/alternative_trigger.zig +++ b/src/gtk/alternative_trigger.zig @@ -215,7 +215,7 @@ pub const AlternativeTrigger = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/app_chooser.zig b/src/gtk/app_chooser.zig index 2cf766e6..71831d91 100644 --- a/src/gtk/app_chooser.zig +++ b/src/gtk/app_chooser.zig @@ -38,7 +38,7 @@ pub const AppChooser = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/app_chooser_button.zig b/src/gtk/app_chooser_button.zig index b6fb4357..a8f7a938 100644 --- a/src/gtk/app_chooser_button.zig +++ b/src/gtk/app_chooser_button.zig @@ -814,7 +814,7 @@ pub const AppChooserButton = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/app_chooser_dialog.zig b/src/gtk/app_chooser_dialog.zig index 4bfeb47c..25c33b2d 100644 --- a/src/gtk/app_chooser_dialog.zig +++ b/src/gtk/app_chooser_dialog.zig @@ -1054,7 +1054,7 @@ pub const AppChooserDialog = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/app_chooser_widget.zig b/src/gtk/app_chooser_widget.zig index c8a71cc8..18d8c56d 100644 --- a/src/gtk/app_chooser_widget.zig +++ b/src/gtk/app_chooser_widget.zig @@ -819,7 +819,7 @@ pub const AppChooserWidget = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/application.zig b/src/gtk/application.zig index 6f06194c..102e9c98 100644 --- a/src/gtk/application.zig +++ b/src/gtk/application.zig @@ -374,7 +374,7 @@ pub const Application = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/application_window.zig b/src/gtk/application_window.zig index 09f6206b..4758fe02 100644 --- a/src/gtk/application_window.zig +++ b/src/gtk/application_window.zig @@ -1022,7 +1022,7 @@ pub const ApplicationWindow = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/aspect_frame.zig b/src/gtk/aspect_frame.zig index f2dd81e7..3ea6403d 100644 --- a/src/gtk/aspect_frame.zig +++ b/src/gtk/aspect_frame.zig @@ -807,7 +807,7 @@ pub const AspectFrame = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/assistant.zig b/src/gtk/assistant.zig index 6806d856..b4d571bd 100644 --- a/src/gtk/assistant.zig +++ b/src/gtk/assistant.zig @@ -1088,7 +1088,7 @@ pub const Assistant = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/assistant_page.zig b/src/gtk/assistant_page.zig index be91cfc4..1b04fdaa 100644 --- a/src/gtk/assistant_page.zig +++ b/src/gtk/assistant_page.zig @@ -185,7 +185,7 @@ pub const AssistantPage = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/at_context.zig b/src/gtk/at_context.zig index 5ff4dfb1..187f4544 100644 --- a/src/gtk/at_context.zig +++ b/src/gtk/at_context.zig @@ -192,7 +192,7 @@ pub const ATContext = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/bookmark_list.zig b/src/gtk/bookmark_list.zig index 9440d664..25a62d15 100644 --- a/src/gtk/bookmark_list.zig +++ b/src/gtk/bookmark_list.zig @@ -204,7 +204,7 @@ pub const BookmarkList = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/bool_filter.zig b/src/gtk/bool_filter.zig index 4a3fa3a0..69e36063 100644 --- a/src/gtk/bool_filter.zig +++ b/src/gtk/bool_filter.zig @@ -205,7 +205,7 @@ pub const BoolFilter = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/box.zig b/src/gtk/box.zig index da59a40c..b93a4450 100644 --- a/src/gtk/box.zig +++ b/src/gtk/box.zig @@ -806,7 +806,7 @@ pub const Box = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/box_layout.zig b/src/gtk/box_layout.zig index b872ad11..fe457392 100644 --- a/src/gtk/box_layout.zig +++ b/src/gtk/box_layout.zig @@ -220,7 +220,7 @@ pub const BoxLayout = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/builder.zig b/src/gtk/builder.zig index a5288e58..b568a99a 100644 --- a/src/gtk/builder.zig +++ b/src/gtk/builder.zig @@ -253,7 +253,7 @@ pub const Builder = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/builder_list_item_factory.zig b/src/gtk/builder_list_item_factory.zig index 9075856c..c2af8e57 100644 --- a/src/gtk/builder_list_item_factory.zig +++ b/src/gtk/builder_list_item_factory.zig @@ -195,7 +195,7 @@ pub const BuilderListItemFactory = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/button.zig b/src/gtk/button.zig index b5f4f5fa..93c90105 100644 --- a/src/gtk/button.zig +++ b/src/gtk/button.zig @@ -820,7 +820,7 @@ pub const Button = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/calendar.zig b/src/gtk/calendar.zig index 317cc3f5..c1db1d7c 100644 --- a/src/gtk/calendar.zig +++ b/src/gtk/calendar.zig @@ -825,7 +825,7 @@ pub const Calendar = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/cell_area.zig b/src/gtk/cell_area.zig index 780d0fd3..77f1372d 100644 --- a/src/gtk/cell_area.zig +++ b/src/gtk/cell_area.zig @@ -307,7 +307,7 @@ pub const CellArea = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/cell_area_box.zig b/src/gtk/cell_area_box.zig index 63129f5f..48ad8082 100644 --- a/src/gtk/cell_area_box.zig +++ b/src/gtk/cell_area_box.zig @@ -324,7 +324,7 @@ pub const CellAreaBox = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/cell_area_context.zig b/src/gtk/cell_area_context.zig index 26abcfdd..66aff5d8 100644 --- a/src/gtk/cell_area_context.zig +++ b/src/gtk/cell_area_context.zig @@ -215,7 +215,7 @@ pub const CellAreaContext = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/cell_editable.zig b/src/gtk/cell_editable.zig index 3a9f6bf6..711fd7de 100644 --- a/src/gtk/cell_editable.zig +++ b/src/gtk/cell_editable.zig @@ -106,7 +106,7 @@ pub const CellEditable = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/cell_renderer.zig b/src/gtk/cell_renderer.zig index bba2ff93..5caa1b86 100644 --- a/src/gtk/cell_renderer.zig +++ b/src/gtk/cell_renderer.zig @@ -292,7 +292,7 @@ pub const CellRenderer = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/cell_renderer_accel.zig b/src/gtk/cell_renderer_accel.zig index 037a5ccc..ab699036 100644 --- a/src/gtk/cell_renderer_accel.zig +++ b/src/gtk/cell_renderer_accel.zig @@ -405,7 +405,7 @@ pub const CellRendererAccel = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/cell_renderer_combo.zig b/src/gtk/cell_renderer_combo.zig index 03a690ae..ca823cbf 100644 --- a/src/gtk/cell_renderer_combo.zig +++ b/src/gtk/cell_renderer_combo.zig @@ -401,7 +401,7 @@ pub const CellRendererCombo = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/cell_renderer_pixbuf.zig b/src/gtk/cell_renderer_pixbuf.zig index c27984e6..ea36a9d2 100644 --- a/src/gtk/cell_renderer_pixbuf.zig +++ b/src/gtk/cell_renderer_pixbuf.zig @@ -309,7 +309,7 @@ pub const CellRendererPixbuf = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/cell_renderer_progress.zig b/src/gtk/cell_renderer_progress.zig index 1ca1d687..3700bc1f 100644 --- a/src/gtk/cell_renderer_progress.zig +++ b/src/gtk/cell_renderer_progress.zig @@ -307,7 +307,7 @@ pub const CellRendererProgress = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/cell_renderer_spin.zig b/src/gtk/cell_renderer_spin.zig index c1621883..6c35a01e 100644 --- a/src/gtk/cell_renderer_spin.zig +++ b/src/gtk/cell_renderer_spin.zig @@ -399,7 +399,7 @@ pub const CellRendererSpin = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/cell_renderer_spinner.zig b/src/gtk/cell_renderer_spinner.zig index 3eb29a57..6402b170 100644 --- a/src/gtk/cell_renderer_spinner.zig +++ b/src/gtk/cell_renderer_spinner.zig @@ -301,7 +301,7 @@ pub const CellRendererSpinner = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/cell_renderer_text.zig b/src/gtk/cell_renderer_text.zig index a55112a6..3037cf23 100644 --- a/src/gtk/cell_renderer_text.zig +++ b/src/gtk/cell_renderer_text.zig @@ -393,7 +393,7 @@ pub const CellRendererText = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/cell_renderer_toggle.zig b/src/gtk/cell_renderer_toggle.zig index e12f096c..494225b5 100644 --- a/src/gtk/cell_renderer_toggle.zig +++ b/src/gtk/cell_renderer_toggle.zig @@ -323,7 +323,7 @@ pub const CellRendererToggle = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/cell_view.zig b/src/gtk/cell_view.zig index dee37a67..346601d7 100644 --- a/src/gtk/cell_view.zig +++ b/src/gtk/cell_view.zig @@ -813,7 +813,7 @@ pub const CellView = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/center_box.zig b/src/gtk/center_box.zig index 4a1ab948..8b2b2fc5 100644 --- a/src/gtk/center_box.zig +++ b/src/gtk/center_box.zig @@ -793,7 +793,7 @@ pub const CenterBox = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/check_button.zig b/src/gtk/check_button.zig index ecfe11c8..937f67b0 100644 --- a/src/gtk/check_button.zig +++ b/src/gtk/check_button.zig @@ -814,7 +814,7 @@ pub const CheckButton = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/color_button.zig b/src/gtk/color_button.zig index 4546a874..5be59698 100644 --- a/src/gtk/color_button.zig +++ b/src/gtk/color_button.zig @@ -792,7 +792,7 @@ pub const ColorButton = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/color_chooser.zig b/src/gtk/color_chooser.zig index 43ce5242..6fd76611 100644 --- a/src/gtk/color_chooser.zig +++ b/src/gtk/color_chooser.zig @@ -112,7 +112,7 @@ pub const ColorChooser = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/color_chooser_dialog.zig b/src/gtk/color_chooser_dialog.zig index 34273518..1d47f266 100644 --- a/src/gtk/color_chooser_dialog.zig +++ b/src/gtk/color_chooser_dialog.zig @@ -1040,7 +1040,7 @@ pub const ColorChooserDialog = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/color_chooser_widget.zig b/src/gtk/color_chooser_widget.zig index 7dd23a1a..0e74ca0e 100644 --- a/src/gtk/color_chooser_widget.zig +++ b/src/gtk/color_chooser_widget.zig @@ -769,7 +769,7 @@ pub const ColorChooserWidget = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/column_view.zig b/src/gtk/column_view.zig index 70b9a8d2..bdfe7c58 100644 --- a/src/gtk/column_view.zig +++ b/src/gtk/column_view.zig @@ -839,7 +839,7 @@ pub const ColumnView = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/column_view_column.zig b/src/gtk/column_view_column.zig index bd491370..6589200f 100644 --- a/src/gtk/column_view_column.zig +++ b/src/gtk/column_view_column.zig @@ -247,7 +247,7 @@ pub const ColumnViewColumn = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/combo_box.zig b/src/gtk/combo_box.zig index a655bf4d..52a58494 100644 --- a/src/gtk/combo_box.zig +++ b/src/gtk/combo_box.zig @@ -879,7 +879,7 @@ pub const ComboBox = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/combo_box_text.zig b/src/gtk/combo_box_text.zig index 0aa78205..fe7c2bb3 100644 --- a/src/gtk/combo_box_text.zig +++ b/src/gtk/combo_box_text.zig @@ -906,7 +906,7 @@ pub const ComboBoxText = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/constraint.zig b/src/gtk/constraint.zig index 751eaf45..18b7349d 100644 --- a/src/gtk/constraint.zig +++ b/src/gtk/constraint.zig @@ -229,7 +229,7 @@ pub const Constraint = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/constraint_guide.zig b/src/gtk/constraint_guide.zig index 075b50c8..176af80e 100644 --- a/src/gtk/constraint_guide.zig +++ b/src/gtk/constraint_guide.zig @@ -223,7 +223,7 @@ pub const ConstraintGuide = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/constraint_layout_child.zig b/src/gtk/constraint_layout_child.zig index 325cdac5..b1a53e3f 100644 --- a/src/gtk/constraint_layout_child.zig +++ b/src/gtk/constraint_layout_child.zig @@ -185,7 +185,7 @@ pub const ConstraintLayoutChild = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/dialog.zig b/src/gtk/dialog.zig index 9e39ef43..92193b5a 100644 --- a/src/gtk/dialog.zig +++ b/src/gtk/dialog.zig @@ -1038,7 +1038,7 @@ pub const Dialog = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/directory_list.zig b/src/gtk/directory_list.zig index 992f5e53..4b2cf58a 100644 --- a/src/gtk/directory_list.zig +++ b/src/gtk/directory_list.zig @@ -220,7 +220,7 @@ pub const DirectoryList = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/drag_icon.zig b/src/gtk/drag_icon.zig index 5f756523..e037639d 100644 --- a/src/gtk/drag_icon.zig +++ b/src/gtk/drag_icon.zig @@ -781,7 +781,7 @@ pub const DragIcon = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/drag_source.zig b/src/gtk/drag_source.zig index 61134380..920980a5 100644 --- a/src/gtk/drag_source.zig +++ b/src/gtk/drag_source.zig @@ -348,7 +348,7 @@ pub const DragSource = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/drawing_area.zig b/src/gtk/drawing_area.zig index 159cfb14..03ee0742 100644 --- a/src/gtk/drawing_area.zig +++ b/src/gtk/drawing_area.zig @@ -789,7 +789,7 @@ pub const DrawingArea = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/drop_controller_motion.zig b/src/gtk/drop_controller_motion.zig index a742a036..c667c085 100644 --- a/src/gtk/drop_controller_motion.zig +++ b/src/gtk/drop_controller_motion.zig @@ -243,7 +243,7 @@ pub const DropControllerMotion = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/drop_down.zig b/src/gtk/drop_down.zig index 6c65226a..40c0663e 100644 --- a/src/gtk/drop_down.zig +++ b/src/gtk/drop_down.zig @@ -833,7 +833,7 @@ pub const DropDown = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/drop_target.zig b/src/gtk/drop_target.zig index 5cd24d54..70dc8ab3 100644 --- a/src/gtk/drop_target.zig +++ b/src/gtk/drop_target.zig @@ -275,7 +275,7 @@ pub const DropTarget = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/drop_target_async.zig b/src/gtk/drop_target_async.zig index be802b1f..80c830c0 100644 --- a/src/gtk/drop_target_async.zig +++ b/src/gtk/drop_target_async.zig @@ -251,7 +251,7 @@ pub const DropTargetAsync = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/editable.zig b/src/gtk/editable.zig index 52f0c806..44263bd5 100644 --- a/src/gtk/editable.zig +++ b/src/gtk/editable.zig @@ -190,7 +190,7 @@ pub const Editable = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/editable_label.zig b/src/gtk/editable_label.zig index f09be306..7e028869 100644 --- a/src/gtk/editable_label.zig +++ b/src/gtk/editable_label.zig @@ -778,7 +778,7 @@ pub const EditableLabel = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/emoji_chooser.zig b/src/gtk/emoji_chooser.zig index 58f2070d..34556273 100644 --- a/src/gtk/emoji_chooser.zig +++ b/src/gtk/emoji_chooser.zig @@ -850,7 +850,7 @@ pub const EmojiChooser = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/entry.zig b/src/gtk/entry.zig index 480a7356..ff1d4fd4 100644 --- a/src/gtk/entry.zig +++ b/src/gtk/entry.zig @@ -1028,7 +1028,7 @@ pub const Entry = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/entry_buffer.zig b/src/gtk/entry_buffer.zig index b51b9d7b..41d88a7d 100644 --- a/src/gtk/entry_buffer.zig +++ b/src/gtk/entry_buffer.zig @@ -218,7 +218,7 @@ pub const EntryBuffer = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/entry_completion.zig b/src/gtk/entry_completion.zig index 2e202fb3..e9ca45c6 100644 --- a/src/gtk/entry_completion.zig +++ b/src/gtk/entry_completion.zig @@ -272,7 +272,7 @@ pub const EntryCompletion = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/event_controller.zig b/src/gtk/event_controller.zig index bf5c90e1..60f94491 100644 --- a/src/gtk/event_controller.zig +++ b/src/gtk/event_controller.zig @@ -219,7 +219,7 @@ pub const EventController = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/event_controller_focus.zig b/src/gtk/event_controller_focus.zig index 59d0f0fe..b755fa08 100644 --- a/src/gtk/event_controller_focus.zig +++ b/src/gtk/event_controller_focus.zig @@ -236,7 +236,7 @@ pub const EventControllerFocus = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/event_controller_key.zig b/src/gtk/event_controller_key.zig index c6b4f8dd..83f4c4ef 100644 --- a/src/gtk/event_controller_key.zig +++ b/src/gtk/event_controller_key.zig @@ -242,7 +242,7 @@ pub const EventControllerKey = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/event_controller_legacy.zig b/src/gtk/event_controller_legacy.zig index 4eb1764f..164e85b5 100644 --- a/src/gtk/event_controller_legacy.zig +++ b/src/gtk/event_controller_legacy.zig @@ -224,7 +224,7 @@ pub const EventControllerLegacy = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/event_controller_motion.zig b/src/gtk/event_controller_motion.zig index c0a4208d..20747ac8 100644 --- a/src/gtk/event_controller_motion.zig +++ b/src/gtk/event_controller_motion.zig @@ -238,7 +238,7 @@ pub const EventControllerMotion = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/event_controller_scroll.zig b/src/gtk/event_controller_scroll.zig index b8bb1f68..84b64cc0 100644 --- a/src/gtk/event_controller_scroll.zig +++ b/src/gtk/event_controller_scroll.zig @@ -238,7 +238,7 @@ pub const EventControllerScroll = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/expander.zig b/src/gtk/expander.zig index db010147..b9922b35 100644 --- a/src/gtk/expander.zig +++ b/src/gtk/expander.zig @@ -828,7 +828,7 @@ pub const Expander = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/file_chooser.zig b/src/gtk/file_chooser.zig index 491d5a44..602fc5e1 100644 --- a/src/gtk/file_chooser.zig +++ b/src/gtk/file_chooser.zig @@ -114,7 +114,7 @@ pub const FileChooser = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/file_chooser_dialog.zig b/src/gtk/file_chooser_dialog.zig index f5035723..1f1cf5a0 100644 --- a/src/gtk/file_chooser_dialog.zig +++ b/src/gtk/file_chooser_dialog.zig @@ -1038,7 +1038,7 @@ pub const FileChooserDialog = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/file_chooser_native.zig b/src/gtk/file_chooser_native.zig index 60842ee2..7d0862af 100644 --- a/src/gtk/file_chooser_native.zig +++ b/src/gtk/file_chooser_native.zig @@ -234,7 +234,7 @@ pub const FileChooserNative = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/file_chooser_widget.zig b/src/gtk/file_chooser_widget.zig index ff5acf90..d4d01800 100644 --- a/src/gtk/file_chooser_widget.zig +++ b/src/gtk/file_chooser_widget.zig @@ -795,7 +795,7 @@ pub const FileChooserWidget = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/file_filter.zig b/src/gtk/file_filter.zig index da2d3de2..d1898090 100644 --- a/src/gtk/file_filter.zig +++ b/src/gtk/file_filter.zig @@ -218,7 +218,7 @@ pub const FileFilter = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/filter_list_model.zig b/src/gtk/filter_list_model.zig index d7ae9bf1..51519c98 100644 --- a/src/gtk/filter_list_model.zig +++ b/src/gtk/filter_list_model.zig @@ -207,7 +207,7 @@ pub const FilterListModel = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/fixed.zig b/src/gtk/fixed.zig index c2a372cd..97cb4d94 100644 --- a/src/gtk/fixed.zig +++ b/src/gtk/fixed.zig @@ -785,7 +785,7 @@ pub const Fixed = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/fixed_layout_child.zig b/src/gtk/fixed_layout_child.zig index 352a9f0a..2ec82ffe 100644 --- a/src/gtk/fixed_layout_child.zig +++ b/src/gtk/fixed_layout_child.zig @@ -194,7 +194,7 @@ pub const FixedLayoutChild = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/flatten_list_model.zig b/src/gtk/flatten_list_model.zig index 9fd7aab8..39efcd39 100644 --- a/src/gtk/flatten_list_model.zig +++ b/src/gtk/flatten_list_model.zig @@ -189,7 +189,7 @@ pub const FlattenListModel = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/flow_box.zig b/src/gtk/flow_box.zig index 5bb7416b..1cff36be 100644 --- a/src/gtk/flow_box.zig +++ b/src/gtk/flow_box.zig @@ -896,7 +896,7 @@ pub const FlowBox = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/flow_box_child.zig b/src/gtk/flow_box_child.zig index fdb599f5..51979e90 100644 --- a/src/gtk/flow_box_child.zig +++ b/src/gtk/flow_box_child.zig @@ -786,7 +786,7 @@ pub const FlowBoxChild = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/font_button.zig b/src/gtk/font_button.zig index 548ac38d..6b2c13d1 100644 --- a/src/gtk/font_button.zig +++ b/src/gtk/font_button.zig @@ -806,7 +806,7 @@ pub const FontButton = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/font_chooser.zig b/src/gtk/font_chooser.zig index 2ce90200..3ea0616d 100644 --- a/src/gtk/font_chooser.zig +++ b/src/gtk/font_chooser.zig @@ -164,7 +164,7 @@ pub const FontChooser = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/font_chooser_dialog.zig b/src/gtk/font_chooser_dialog.zig index e0323a2f..4a829a6d 100644 --- a/src/gtk/font_chooser_dialog.zig +++ b/src/gtk/font_chooser_dialog.zig @@ -1038,7 +1038,7 @@ pub const FontChooserDialog = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/font_chooser_widget.zig b/src/gtk/font_chooser_widget.zig index 3ac0305c..72aefac7 100644 --- a/src/gtk/font_chooser_widget.zig +++ b/src/gtk/font_chooser_widget.zig @@ -769,7 +769,7 @@ pub const FontChooserWidget = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/frame.zig b/src/gtk/frame.zig index e0e0e21b..8a0e8257 100644 --- a/src/gtk/frame.zig +++ b/src/gtk/frame.zig @@ -799,7 +799,7 @@ pub const Frame = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/gesture.zig b/src/gtk/gesture.zig index 46bd8e8e..c08687d7 100644 --- a/src/gtk/gesture.zig +++ b/src/gtk/gesture.zig @@ -282,7 +282,7 @@ pub const Gesture = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/gesture_click.zig b/src/gtk/gesture_click.zig index 0c1bb3ce..a5db2f33 100644 --- a/src/gtk/gesture_click.zig +++ b/src/gtk/gesture_click.zig @@ -323,7 +323,7 @@ pub const GestureClick = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/gesture_drag.zig b/src/gtk/gesture_drag.zig index a4db8909..27535ecd 100644 --- a/src/gtk/gesture_drag.zig +++ b/src/gtk/gesture_drag.zig @@ -327,7 +327,7 @@ pub const GestureDrag = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/gesture_long_press.zig b/src/gtk/gesture_long_press.zig index 4567f814..839a3089 100644 --- a/src/gtk/gesture_long_press.zig +++ b/src/gtk/gesture_long_press.zig @@ -327,7 +327,7 @@ pub const GestureLongPress = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/gesture_pan.zig b/src/gtk/gesture_pan.zig index f14021de..6a9ccf46 100644 --- a/src/gtk/gesture_pan.zig +++ b/src/gtk/gesture_pan.zig @@ -337,7 +337,7 @@ pub const GesturePan = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/gesture_rotate.zig b/src/gtk/gesture_rotate.zig index 2b9951eb..d262ebf9 100644 --- a/src/gtk/gesture_rotate.zig +++ b/src/gtk/gesture_rotate.zig @@ -290,7 +290,7 @@ pub const GestureRotate = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/gesture_single.zig b/src/gtk/gesture_single.zig index a031497f..a44f640e 100644 --- a/src/gtk/gesture_single.zig +++ b/src/gtk/gesture_single.zig @@ -312,7 +312,7 @@ pub const GestureSingle = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/gesture_stylus.zig b/src/gtk/gesture_stylus.zig index f06977f0..e91ada25 100644 --- a/src/gtk/gesture_stylus.zig +++ b/src/gtk/gesture_stylus.zig @@ -335,7 +335,7 @@ pub const GestureStylus = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/gesture_swipe.zig b/src/gtk/gesture_swipe.zig index c5f92573..fd03a494 100644 --- a/src/gtk/gesture_swipe.zig +++ b/src/gtk/gesture_swipe.zig @@ -320,7 +320,7 @@ pub const GestureSwipe = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/gesture_zoom.zig b/src/gtk/gesture_zoom.zig index dccb57ba..80c02505 100644 --- a/src/gtk/gesture_zoom.zig +++ b/src/gtk/gesture_zoom.zig @@ -290,7 +290,7 @@ pub const GestureZoom = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/gl_area.zig b/src/gtk/gl_area.zig index be4dd1f3..6439df8f 100644 --- a/src/gtk/gl_area.zig +++ b/src/gtk/gl_area.zig @@ -831,7 +831,7 @@ pub const GLArea = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/grid.zig b/src/gtk/grid.zig index e9a0a948..5354714b 100644 --- a/src/gtk/grid.zig +++ b/src/gtk/grid.zig @@ -843,7 +843,7 @@ pub const Grid = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/grid_layout.zig b/src/gtk/grid_layout.zig index a41b8ee0..456195f8 100644 --- a/src/gtk/grid_layout.zig +++ b/src/gtk/grid_layout.zig @@ -242,7 +242,7 @@ pub const GridLayout = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/grid_layout_child.zig b/src/gtk/grid_layout_child.zig index a178add7..35a3fa5c 100644 --- a/src/gtk/grid_layout_child.zig +++ b/src/gtk/grid_layout_child.zig @@ -217,7 +217,7 @@ pub const GridLayoutChild = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/grid_view.zig b/src/gtk/grid_view.zig index 6adbe3f0..b688fb78 100644 --- a/src/gtk/grid_view.zig +++ b/src/gtk/grid_view.zig @@ -819,7 +819,7 @@ pub const GridView = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/header_bar.zig b/src/gtk/header_bar.zig index 17991e6b..bba32d12 100644 --- a/src/gtk/header_bar.zig +++ b/src/gtk/header_bar.zig @@ -800,7 +800,7 @@ pub const HeaderBar = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/icon_paintable.zig b/src/gtk/icon_paintable.zig index d8f2de01..74f8e300 100644 --- a/src/gtk/icon_paintable.zig +++ b/src/gtk/icon_paintable.zig @@ -194,7 +194,7 @@ pub const IconPaintable = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/icon_theme.zig b/src/gtk/icon_theme.zig index ab6e7c89..77ac7750 100644 --- a/src/gtk/icon_theme.zig +++ b/src/gtk/icon_theme.zig @@ -239,7 +239,7 @@ pub const IconTheme = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/icon_view.zig b/src/gtk/icon_view.zig index 3ad342e1..099162b9 100644 --- a/src/gtk/icon_view.zig +++ b/src/gtk/icon_view.zig @@ -997,7 +997,7 @@ pub const IconView = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/im_context.zig b/src/gtk/im_context.zig index 6ffb934e..f95990b0 100644 --- a/src/gtk/im_context.zig +++ b/src/gtk/im_context.zig @@ -235,7 +235,7 @@ pub const IMContext = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/im_context_simple.zig b/src/gtk/im_context_simple.zig index 2fbc843d..c87c6237 100644 --- a/src/gtk/im_context_simple.zig +++ b/src/gtk/im_context_simple.zig @@ -243,7 +243,7 @@ pub const IMContextSimple = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/im_multicontext.zig b/src/gtk/im_multicontext.zig index 5a06ec90..d41470a0 100644 --- a/src/gtk/im_multicontext.zig +++ b/src/gtk/im_multicontext.zig @@ -246,7 +246,7 @@ pub const IMMulticontext = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/image.zig b/src/gtk/image.zig index 839fcae2..4d37c689 100644 --- a/src/gtk/image.zig +++ b/src/gtk/image.zig @@ -849,7 +849,7 @@ pub const Image = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/info_bar.zig b/src/gtk/info_bar.zig index 93de22ee..4ca6ec86 100644 --- a/src/gtk/info_bar.zig +++ b/src/gtk/info_bar.zig @@ -819,7 +819,7 @@ pub const InfoBar = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/keyval_trigger.zig b/src/gtk/keyval_trigger.zig index 7f11e510..30eaf7cd 100644 --- a/src/gtk/keyval_trigger.zig +++ b/src/gtk/keyval_trigger.zig @@ -215,7 +215,7 @@ pub const KeyvalTrigger = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/label.zig b/src/gtk/label.zig index 7dc8b34e..156de1e8 100644 --- a/src/gtk/label.zig +++ b/src/gtk/label.zig @@ -957,7 +957,7 @@ pub const Label = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/layout_child.zig b/src/gtk/layout_child.zig index 2ca300ef..c2953924 100644 --- a/src/gtk/layout_child.zig +++ b/src/gtk/layout_child.zig @@ -185,7 +185,7 @@ pub const LayoutChild = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/level_bar.zig b/src/gtk/level_bar.zig index f6caaa77..4c8846f9 100644 --- a/src/gtk/level_bar.zig +++ b/src/gtk/level_bar.zig @@ -821,7 +821,7 @@ pub const LevelBar = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/link_button.zig b/src/gtk/link_button.zig index 8d22c5fb..6f1d654b 100644 --- a/src/gtk/link_button.zig +++ b/src/gtk/link_button.zig @@ -838,7 +838,7 @@ pub const LinkButton = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/list_base.zig b/src/gtk/list_base.zig index d332d143..21db960d 100644 --- a/src/gtk/list_base.zig +++ b/src/gtk/list_base.zig @@ -766,7 +766,7 @@ pub const ListBase = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/list_box.zig b/src/gtk/list_box.zig index 22fa536a..7fa28ea4 100644 --- a/src/gtk/list_box.zig +++ b/src/gtk/list_box.zig @@ -884,7 +884,7 @@ pub const ListBox = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/list_box_row.zig b/src/gtk/list_box_row.zig index 26156343..c51ca981 100644 --- a/src/gtk/list_box_row.zig +++ b/src/gtk/list_box_row.zig @@ -808,7 +808,7 @@ pub const ListBoxRow = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/list_item.zig b/src/gtk/list_item.zig index 63973884..7f5640f6 100644 --- a/src/gtk/list_item.zig +++ b/src/gtk/list_item.zig @@ -213,7 +213,7 @@ pub const ListItem = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/list_view.zig b/src/gtk/list_view.zig index ddb863b9..7e14fa43 100644 --- a/src/gtk/list_view.zig +++ b/src/gtk/list_view.zig @@ -811,7 +811,7 @@ pub const ListView = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/lock_button.zig b/src/gtk/lock_button.zig index 356d3696..9c5f6552 100644 --- a/src/gtk/lock_button.zig +++ b/src/gtk/lock_button.zig @@ -838,7 +838,7 @@ pub const LockButton = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/map_list_model.zig b/src/gtk/map_list_model.zig index c429e5ed..04e99e24 100644 --- a/src/gtk/map_list_model.zig +++ b/src/gtk/map_list_model.zig @@ -194,7 +194,7 @@ pub const MapListModel = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/media_controls.zig b/src/gtk/media_controls.zig index 3258e144..74c4c1d1 100644 --- a/src/gtk/media_controls.zig +++ b/src/gtk/media_controls.zig @@ -775,7 +775,7 @@ pub const MediaControls = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/media_file.zig b/src/gtk/media_file.zig index 789ade9f..6352cc46 100644 --- a/src/gtk/media_file.zig +++ b/src/gtk/media_file.zig @@ -330,7 +330,7 @@ pub const MediaFile = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/media_stream.zig b/src/gtk/media_stream.zig index 286d7fbf..73d38c0a 100644 --- a/src/gtk/media_stream.zig +++ b/src/gtk/media_stream.zig @@ -289,7 +289,7 @@ pub const MediaStream = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/menu_button.zig b/src/gtk/menu_button.zig index 3d5103f1..55d27cdf 100644 --- a/src/gtk/menu_button.zig +++ b/src/gtk/menu_button.zig @@ -852,7 +852,7 @@ pub const MenuButton = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/message_dialog.zig b/src/gtk/message_dialog.zig index 22473a99..112f7228 100644 --- a/src/gtk/message_dialog.zig +++ b/src/gtk/message_dialog.zig @@ -1058,7 +1058,7 @@ pub const MessageDialog = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/mnemonic_trigger.zig b/src/gtk/mnemonic_trigger.zig index 28df099d..3f3827ed 100644 --- a/src/gtk/mnemonic_trigger.zig +++ b/src/gtk/mnemonic_trigger.zig @@ -210,7 +210,7 @@ pub const MnemonicTrigger = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/mount_operation.zig b/src/gtk/mount_operation.zig index 78e7bfc1..5a00fd7e 100644 --- a/src/gtk/mount_operation.zig +++ b/src/gtk/mount_operation.zig @@ -289,7 +289,7 @@ pub const MountOperation = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/multi_selection.zig b/src/gtk/multi_selection.zig index be21f95f..3efd731c 100644 --- a/src/gtk/multi_selection.zig +++ b/src/gtk/multi_selection.zig @@ -186,7 +186,7 @@ pub const MultiSelection = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/named_action.zig b/src/gtk/named_action.zig index 371cdb23..897d175d 100644 --- a/src/gtk/named_action.zig +++ b/src/gtk/named_action.zig @@ -194,7 +194,7 @@ pub const NamedAction = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/native_dialog.zig b/src/gtk/native_dialog.zig index 7a0d90ed..768f1cab 100644 --- a/src/gtk/native_dialog.zig +++ b/src/gtk/native_dialog.zig @@ -215,7 +215,7 @@ pub const NativeDialog = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/no_selection.zig b/src/gtk/no_selection.zig index 498e8470..fd8c05e2 100644 --- a/src/gtk/no_selection.zig +++ b/src/gtk/no_selection.zig @@ -186,7 +186,7 @@ pub const NoSelection = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/notebook.zig b/src/gtk/notebook.zig index 535953ba..ff08ade5 100644 --- a/src/gtk/notebook.zig +++ b/src/gtk/notebook.zig @@ -935,7 +935,7 @@ pub const Notebook = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/notebook_page.zig b/src/gtk/notebook_page.zig index 7e03662e..eddef7cf 100644 --- a/src/gtk/notebook_page.zig +++ b/src/gtk/notebook_page.zig @@ -197,7 +197,7 @@ pub const NotebookPage = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/numeric_sorter.zig b/src/gtk/numeric_sorter.zig index ea8419ef..89e04507 100644 --- a/src/gtk/numeric_sorter.zig +++ b/src/gtk/numeric_sorter.zig @@ -205,7 +205,7 @@ pub const NumericSorter = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/orientable.zig b/src/gtk/orientable.zig index 34a45c27..56537b97 100644 --- a/src/gtk/orientable.zig +++ b/src/gtk/orientable.zig @@ -34,7 +34,7 @@ pub const Orientable = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/overlay.zig b/src/gtk/overlay.zig index e453457b..328aeb9c 100644 --- a/src/gtk/overlay.zig +++ b/src/gtk/overlay.zig @@ -795,7 +795,7 @@ pub const Overlay = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/overlay_layout_child.zig b/src/gtk/overlay_layout_child.zig index 7e509944..8f7c848e 100644 --- a/src/gtk/overlay_layout_child.zig +++ b/src/gtk/overlay_layout_child.zig @@ -201,7 +201,7 @@ pub const OverlayLayoutChild = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/pad_controller.zig b/src/gtk/pad_controller.zig index 43484a4e..407ba61a 100644 --- a/src/gtk/pad_controller.zig +++ b/src/gtk/pad_controller.zig @@ -233,7 +233,7 @@ pub const PadController = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/page_setup_unix_dialog.zig b/src/gtk/page_setup_unix_dialog.zig index b3d73b39..b3cdfe5f 100644 --- a/src/gtk/page_setup_unix_dialog.zig +++ b/src/gtk/page_setup_unix_dialog.zig @@ -1050,7 +1050,7 @@ pub const PageSetupUnixDialog = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/paned.zig b/src/gtk/paned.zig index 0c922f0c..bacaa0b9 100644 --- a/src/gtk/paned.zig +++ b/src/gtk/paned.zig @@ -849,7 +849,7 @@ pub const Paned = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/password_entry.zig b/src/gtk/password_entry.zig index d4c732c0..68828a35 100644 --- a/src/gtk/password_entry.zig +++ b/src/gtk/password_entry.zig @@ -789,7 +789,7 @@ pub const PasswordEntry = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/password_entry_buffer.zig b/src/gtk/password_entry_buffer.zig index 3b3fb30f..64a5a93c 100644 --- a/src/gtk/password_entry_buffer.zig +++ b/src/gtk/password_entry_buffer.zig @@ -218,7 +218,7 @@ pub const PasswordEntryBuffer = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/picture.zig b/src/gtk/picture.zig index d8e4ea0f..c0dddb9f 100644 --- a/src/gtk/picture.zig +++ b/src/gtk/picture.zig @@ -832,7 +832,7 @@ pub const Picture = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/popover.zig b/src/gtk/popover.zig index b833a26d..d3af222b 100644 --- a/src/gtk/popover.zig +++ b/src/gtk/popover.zig @@ -848,7 +848,7 @@ pub const Popover = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/popover_menu.zig b/src/gtk/popover_menu.zig index 1e165776..7660cb74 100644 --- a/src/gtk/popover_menu.zig +++ b/src/gtk/popover_menu.zig @@ -870,7 +870,7 @@ pub const PopoverMenu = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/popover_menu_bar.zig b/src/gtk/popover_menu_bar.zig index 75c3b2c4..42bb17bb 100644 --- a/src/gtk/popover_menu_bar.zig +++ b/src/gtk/popover_menu_bar.zig @@ -781,7 +781,7 @@ pub const PopoverMenuBar = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/print_job.zig b/src/gtk/print_job.zig index 6aeb7155..8c1702a3 100644 --- a/src/gtk/print_job.zig +++ b/src/gtk/print_job.zig @@ -280,7 +280,7 @@ pub const PrintJob = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/print_operation.zig b/src/gtk/print_operation.zig index da6d0e4d..de8baf57 100644 --- a/src/gtk/print_operation.zig +++ b/src/gtk/print_operation.zig @@ -324,7 +324,7 @@ pub const PrintOperation = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/print_unix_dialog.zig b/src/gtk/print_unix_dialog.zig index beed5c61..72805608 100644 --- a/src/gtk/print_unix_dialog.zig +++ b/src/gtk/print_unix_dialog.zig @@ -1102,7 +1102,7 @@ pub const PrintUnixDialog = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/printer.zig b/src/gtk/printer.zig index a09c8bb6..dde6be2c 100644 --- a/src/gtk/printer.zig +++ b/src/gtk/printer.zig @@ -265,7 +265,7 @@ pub const Printer = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/progress_bar.zig b/src/gtk/progress_bar.zig index 3fb665da..c57ed5c0 100644 --- a/src/gtk/progress_bar.zig +++ b/src/gtk/progress_bar.zig @@ -818,7 +818,7 @@ pub const ProgressBar = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/range.zig b/src/gtk/range.zig index c93a0250..f01f7162 100644 --- a/src/gtk/range.zig +++ b/src/gtk/range.zig @@ -850,7 +850,7 @@ pub const Range = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/recent_manager.zig b/src/gtk/recent_manager.zig index c783ed29..be9abdce 100644 --- a/src/gtk/recent_manager.zig +++ b/src/gtk/recent_manager.zig @@ -212,7 +212,7 @@ pub const RecentManager = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/revealer.zig b/src/gtk/revealer.zig index 150b24ce..9e85afe3 100644 --- a/src/gtk/revealer.zig +++ b/src/gtk/revealer.zig @@ -804,7 +804,7 @@ pub const Revealer = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/scale.zig b/src/gtk/scale.zig index b6ad32d8..15aa43db 100644 --- a/src/gtk/scale.zig +++ b/src/gtk/scale.zig @@ -903,7 +903,7 @@ pub const Scale = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/scale_button.zig b/src/gtk/scale_button.zig index 951e3089..db4de1b2 100644 --- a/src/gtk/scale_button.zig +++ b/src/gtk/scale_button.zig @@ -803,7 +803,7 @@ pub const ScaleButton = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/scrollable.zig b/src/gtk/scrollable.zig index 2595b614..e6f7658c 100644 --- a/src/gtk/scrollable.zig +++ b/src/gtk/scrollable.zig @@ -61,7 +61,7 @@ pub const Scrollable = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/scrollbar.zig b/src/gtk/scrollbar.zig index 854379f5..42ff4866 100644 --- a/src/gtk/scrollbar.zig +++ b/src/gtk/scrollbar.zig @@ -775,7 +775,7 @@ pub const Scrollbar = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/scrolled_window.zig b/src/gtk/scrolled_window.zig index fbc68506..fcc4f5bd 100644 --- a/src/gtk/scrolled_window.zig +++ b/src/gtk/scrolled_window.zig @@ -898,7 +898,7 @@ pub const ScrolledWindow = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/search_bar.zig b/src/gtk/search_bar.zig index 40a724e4..ae3f052b 100644 --- a/src/gtk/search_bar.zig +++ b/src/gtk/search_bar.zig @@ -802,7 +802,7 @@ pub const SearchBar = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/search_entry.zig b/src/gtk/search_entry.zig index ab399e4b..8af13ca9 100644 --- a/src/gtk/search_entry.zig +++ b/src/gtk/search_entry.zig @@ -789,7 +789,7 @@ pub const SearchEntry = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/selection_filter_model.zig b/src/gtk/selection_filter_model.zig index 8faccf31..79a796ff 100644 --- a/src/gtk/selection_filter_model.zig +++ b/src/gtk/selection_filter_model.zig @@ -186,7 +186,7 @@ pub const SelectionFilterModel = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/separator.zig b/src/gtk/separator.zig index 05b2c344..a4849475 100644 --- a/src/gtk/separator.zig +++ b/src/gtk/separator.zig @@ -767,7 +767,7 @@ pub const Separator = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/settings.zig b/src/gtk/settings.zig index 206e97ff..59472ada 100644 --- a/src/gtk/settings.zig +++ b/src/gtk/settings.zig @@ -284,7 +284,7 @@ pub const Settings = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/shortcut.zig b/src/gtk/shortcut.zig index a2e3a271..9a230f40 100644 --- a/src/gtk/shortcut.zig +++ b/src/gtk/shortcut.zig @@ -201,7 +201,7 @@ pub const Shortcut = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/shortcut_controller.zig b/src/gtk/shortcut_controller.zig index 59a1a1f3..bfdd443f 100644 --- a/src/gtk/shortcut_controller.zig +++ b/src/gtk/shortcut_controller.zig @@ -250,7 +250,7 @@ pub const ShortcutController = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/shortcut_label.zig b/src/gtk/shortcut_label.zig index e0e5301c..11b9e306 100644 --- a/src/gtk/shortcut_label.zig +++ b/src/gtk/shortcut_label.zig @@ -783,7 +783,7 @@ pub const ShortcutLabel = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/shortcuts_group.zig b/src/gtk/shortcuts_group.zig index ee083fe0..61b93308 100644 --- a/src/gtk/shortcuts_group.zig +++ b/src/gtk/shortcuts_group.zig @@ -816,7 +816,7 @@ pub const ShortcutsGroup = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/shortcuts_section.zig b/src/gtk/shortcuts_section.zig index 72f1a101..2b5e5997 100644 --- a/src/gtk/shortcuts_section.zig +++ b/src/gtk/shortcuts_section.zig @@ -816,7 +816,7 @@ pub const ShortcutsSection = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/shortcuts_shortcut.zig b/src/gtk/shortcuts_shortcut.zig index 10512682..f0d97653 100644 --- a/src/gtk/shortcuts_shortcut.zig +++ b/src/gtk/shortcuts_shortcut.zig @@ -786,7 +786,7 @@ pub const ShortcutsShortcut = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/shortcuts_window.zig b/src/gtk/shortcuts_window.zig index 1dc4b721..82ba68d5 100644 --- a/src/gtk/shortcuts_window.zig +++ b/src/gtk/shortcuts_window.zig @@ -1013,7 +1013,7 @@ pub const ShortcutsWindow = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/signal_action.zig b/src/gtk/signal_action.zig index 38f158d8..1cfc20fa 100644 --- a/src/gtk/signal_action.zig +++ b/src/gtk/signal_action.zig @@ -194,7 +194,7 @@ pub const SignalAction = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/single_selection.zig b/src/gtk/single_selection.zig index b21f052c..6466e60d 100644 --- a/src/gtk/single_selection.zig +++ b/src/gtk/single_selection.zig @@ -215,7 +215,7 @@ pub const SingleSelection = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/size_group.zig b/src/gtk/size_group.zig index 7f45e8d4..2d82dfc7 100644 --- a/src/gtk/size_group.zig +++ b/src/gtk/size_group.zig @@ -196,7 +196,7 @@ pub const SizeGroup = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/slice_list_model.zig b/src/gtk/slice_list_model.zig index f5629da4..900a565d 100644 --- a/src/gtk/slice_list_model.zig +++ b/src/gtk/slice_list_model.zig @@ -202,7 +202,7 @@ pub const SliceListModel = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/sort_list_model.zig b/src/gtk/sort_list_model.zig index b534d1bc..eca8e3c1 100644 --- a/src/gtk/sort_list_model.zig +++ b/src/gtk/sort_list_model.zig @@ -207,7 +207,7 @@ pub const SortListModel = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/spin_button.zig b/src/gtk/spin_button.zig index 6ec2ab97..4f76775c 100644 --- a/src/gtk/spin_button.zig +++ b/src/gtk/spin_button.zig @@ -868,7 +868,7 @@ pub const SpinButton = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/spinner.zig b/src/gtk/spinner.zig index 4035b9ca..fc0d0a81 100644 --- a/src/gtk/spinner.zig +++ b/src/gtk/spinner.zig @@ -781,7 +781,7 @@ pub const Spinner = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/stack.zig b/src/gtk/stack.zig index 4d1376c6..4e18ab1f 100644 --- a/src/gtk/stack.zig +++ b/src/gtk/stack.zig @@ -854,7 +854,7 @@ pub const Stack = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/stack_page.zig b/src/gtk/stack_page.zig index 06b039a7..75a5d4b8 100644 --- a/src/gtk/stack_page.zig +++ b/src/gtk/stack_page.zig @@ -227,7 +227,7 @@ pub const StackPage = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/stack_sidebar.zig b/src/gtk/stack_sidebar.zig index 9b38df5e..a4ac0af0 100644 --- a/src/gtk/stack_sidebar.zig +++ b/src/gtk/stack_sidebar.zig @@ -775,7 +775,7 @@ pub const StackSidebar = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/stack_switcher.zig b/src/gtk/stack_switcher.zig index 1ddbc0e5..dd24e2e8 100644 --- a/src/gtk/stack_switcher.zig +++ b/src/gtk/stack_switcher.zig @@ -775,7 +775,7 @@ pub const StackSwitcher = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/statusbar.zig b/src/gtk/statusbar.zig index 947c3b36..b4bac261 100644 --- a/src/gtk/statusbar.zig +++ b/src/gtk/statusbar.zig @@ -786,7 +786,7 @@ pub const Statusbar = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/string_filter.zig b/src/gtk/string_filter.zig index 5078a239..e5383578 100644 --- a/src/gtk/string_filter.zig +++ b/src/gtk/string_filter.zig @@ -221,7 +221,7 @@ pub const StringFilter = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/string_object.zig b/src/gtk/string_object.zig index e6b2225e..a01368f6 100644 --- a/src/gtk/string_object.zig +++ b/src/gtk/string_object.zig @@ -182,7 +182,7 @@ pub const StringObject = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/string_sorter.zig b/src/gtk/string_sorter.zig index a92e769e..66a246c6 100644 --- a/src/gtk/string_sorter.zig +++ b/src/gtk/string_sorter.zig @@ -205,7 +205,7 @@ pub const StringSorter = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/style_context.zig b/src/gtk/style_context.zig index 456a5170..1623616b 100644 --- a/src/gtk/style_context.zig +++ b/src/gtk/style_context.zig @@ -241,7 +241,7 @@ pub const StyleContext = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/switch.zig b/src/gtk/switch.zig index 32b192a2..6172eced 100644 --- a/src/gtk/switch.zig +++ b/src/gtk/switch.zig @@ -787,7 +787,7 @@ pub const Switch = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/text.zig b/src/gtk/text.zig index 4572f24a..35eeb632 100644 --- a/src/gtk/text.zig +++ b/src/gtk/text.zig @@ -930,7 +930,7 @@ pub const Text = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/text_buffer.zig b/src/gtk/text_buffer.zig index 56861f01..8399b4e8 100644 --- a/src/gtk/text_buffer.zig +++ b/src/gtk/text_buffer.zig @@ -425,7 +425,7 @@ pub const TextBuffer = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/text_mark.zig b/src/gtk/text_mark.zig index b1a79c23..ef716add 100644 --- a/src/gtk/text_mark.zig +++ b/src/gtk/text_mark.zig @@ -201,7 +201,7 @@ pub const TextMark = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/text_tag.zig b/src/gtk/text_tag.zig index 2a5461cd..f57695bf 100644 --- a/src/gtk/text_tag.zig +++ b/src/gtk/text_tag.zig @@ -366,7 +366,7 @@ pub const TextTag = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/text_view.zig b/src/gtk/text_view.zig index 13a6c880..df8d4aeb 100644 --- a/src/gtk/text_view.zig +++ b/src/gtk/text_view.zig @@ -1055,7 +1055,7 @@ pub const TextView = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/toggle_button.zig b/src/gtk/toggle_button.zig index 2264491c..141dd48e 100644 --- a/src/gtk/toggle_button.zig +++ b/src/gtk/toggle_button.zig @@ -839,7 +839,7 @@ pub const ToggleButton = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/tree_expander.zig b/src/gtk/tree_expander.zig index 137e95e1..483e5bd3 100644 --- a/src/gtk/tree_expander.zig +++ b/src/gtk/tree_expander.zig @@ -796,7 +796,7 @@ pub const TreeExpander = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/tree_list_model.zig b/src/gtk/tree_list_model.zig index d9e8374a..38b9deaf 100644 --- a/src/gtk/tree_list_model.zig +++ b/src/gtk/tree_list_model.zig @@ -202,7 +202,7 @@ pub const TreeListModel = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/tree_list_row.zig b/src/gtk/tree_list_row.zig index 54094bae..d880a763 100644 --- a/src/gtk/tree_list_row.zig +++ b/src/gtk/tree_list_row.zig @@ -212,7 +212,7 @@ pub const TreeListRow = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/tree_list_row_sorter.zig b/src/gtk/tree_list_row_sorter.zig index 34a9429b..eefc9edd 100644 --- a/src/gtk/tree_list_row_sorter.zig +++ b/src/gtk/tree_list_row_sorter.zig @@ -197,7 +197,7 @@ pub const TreeListRowSorter = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/tree_model_filter.zig b/src/gtk/tree_model_filter.zig index 29553a47..d48f6a95 100644 --- a/src/gtk/tree_model_filter.zig +++ b/src/gtk/tree_model_filter.zig @@ -210,7 +210,7 @@ pub const TreeModelFilter = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/tree_model_sort.zig b/src/gtk/tree_model_sort.zig index 47c6f370..19c15da4 100644 --- a/src/gtk/tree_model_sort.zig +++ b/src/gtk/tree_model_sort.zig @@ -205,7 +205,7 @@ pub const TreeModelSort = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/tree_selection.zig b/src/gtk/tree_selection.zig index 357d8c8c..81082512 100644 --- a/src/gtk/tree_selection.zig +++ b/src/gtk/tree_selection.zig @@ -232,7 +232,7 @@ pub const TreeSelection = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/tree_view.zig b/src/gtk/tree_view.zig index 3841de12..87b44d14 100644 --- a/src/gtk/tree_view.zig +++ b/src/gtk/tree_view.zig @@ -1086,7 +1086,7 @@ pub const TreeView = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/tree_view_column.zig b/src/gtk/tree_view_column.zig index e7172aee..0b104ea3 100644 --- a/src/gtk/tree_view_column.zig +++ b/src/gtk/tree_view_column.zig @@ -367,7 +367,7 @@ pub const TreeViewColumn = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/video.zig b/src/gtk/video.zig index 7109a15f..c3c0a0a2 100644 --- a/src/gtk/video.zig +++ b/src/gtk/video.zig @@ -817,7 +817,7 @@ pub const Video = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/viewport.zig b/src/gtk/viewport.zig index 847a2175..688d0077 100644 --- a/src/gtk/viewport.zig +++ b/src/gtk/viewport.zig @@ -783,7 +783,7 @@ pub const Viewport = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/volume_button.zig b/src/gtk/volume_button.zig index 08b90ef0..f660af23 100644 --- a/src/gtk/volume_button.zig +++ b/src/gtk/volume_button.zig @@ -806,7 +806,7 @@ pub const VolumeButton = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/widget.zig b/src/gtk/widget.zig index b411fb5a..7fae74b2 100644 --- a/src/gtk/widget.zig +++ b/src/gtk/widget.zig @@ -764,7 +764,7 @@ pub const Widget = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/widget_paintable.zig b/src/gtk/widget_paintable.zig index d8e16e99..873052ab 100644 --- a/src/gtk/widget_paintable.zig +++ b/src/gtk/widget_paintable.zig @@ -186,7 +186,7 @@ pub const WidgetPaintable = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/window.zig b/src/gtk/window.zig index b9262f05..b0a01db6 100644 --- a/src/gtk/window.zig +++ b/src/gtk/window.zig @@ -1005,7 +1005,7 @@ pub const Window = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/window_controls.zig b/src/gtk/window_controls.zig index 9b5983da..44f6696f 100644 --- a/src/gtk/window_controls.zig +++ b/src/gtk/window_controls.zig @@ -788,7 +788,7 @@ pub const WindowControls = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER)); diff --git a/src/gtk/window_handle.zig b/src/gtk/window_handle.zig index 939d1615..68215be3 100644 --- a/src/gtk/window_handle.zig +++ b/src/gtk/window_handle.zig @@ -775,7 +775,7 @@ pub const WindowHandle = extern struct { self: *Self, property: Properties, comptime T: type, - callback: *const fn (self: *Self, data: ?*T) callconv(.C) void, + callback: *const fn (self: *Self, spec: *gobject.ParamSpec, data: ?*T) callconv(.C) void, data: anytype, ) u64 { return c.g_signal_connect_data(self, PropertyNames[@intFromEnum(property)], @ptrCast(callback), data, null, @as(c.GConnectFlags, c.G_CONNECT_AFTER));