From a5217afabc0527177265af7863c56dc563c1394c Mon Sep 17 00:00:00 2001 From: Bilal Elmoussaoui Date: Sat, 1 Jun 2024 09:55:28 +0200 Subject: [PATCH] Regenerate with latest gir --- gdk4-wayland/src/auto/versions.txt | 2 +- gdk4-wayland/src/auto/wayland_device.rs | 1 + gdk4-wayland/src/auto/wayland_display.rs | 1 + gdk4-wayland/src/auto/wayland_gl_context.rs | 2 ++ gdk4-wayland/src/auto/wayland_monitor.rs | 2 ++ gdk4-wayland/src/auto/wayland_popup.rs | 2 +- gdk4-wayland/src/auto/wayland_seat.rs | 2 ++ gdk4-wayland/src/auto/wayland_surface.rs | 2 ++ gdk4-wayland/src/auto/wayland_toplevel.rs | 2 +- gdk4-wayland/sys/versions.txt | 2 +- gdk4-win32/src/auto/enums.rs | 1 + gdk4-win32/src/auto/versions.txt | 2 +- gdk4-win32/src/auto/win32_display.rs | 2 +- gdk4-win32/src/auto/win32_display_manager.rs | 2 ++ gdk4-win32/src/auto/win32_drag.rs | 2 ++ gdk4-win32/src/auto/win32_gl_context.rs | 2 ++ gdk4-win32/src/auto/win32_hcursor.rs | 1 + gdk4-win32/src/auto/win32_monitor.rs | 1 + gdk4-win32/src/auto/win32_screen.rs | 2 ++ gdk4-win32/src/auto/win32_surface.rs | 1 + gdk4-win32/sys/versions.txt | 2 +- gdk4-x11/src/auto/enums.rs | 1 + gdk4-x11/src/auto/functions.rs | 2 +- gdk4-x11/src/auto/versions.txt | 2 +- gdk4-x11/src/auto/x11_app_launch_context.rs | 2 ++ gdk4-x11/src/auto/x11_device_manager_xi2.rs | 1 + gdk4-x11/src/auto/x11_device_xi2.rs | 1 + gdk4-x11/src/auto/x11_display.rs | 2 +- gdk4-x11/src/auto/x11_drag.rs | 2 ++ gdk4-x11/src/auto/x11_monitor.rs | 1 + gdk4-x11/src/auto/x11_screen.rs | 1 + gdk4-x11/src/auto/x11_surface.rs | 1 + gdk4-x11/src/auto/x11gl_context.rs | 2 ++ gdk4-x11/sys/versions.txt | 2 +- gdk4/src/auto/app_launch_context.rs | 2 +- gdk4/src/auto/button_event.rs | 1 + gdk4/src/auto/cairo_context.rs | 2 +- gdk4/src/auto/clipboard.rs | 2 +- gdk4/src/auto/content_deserializer.rs | 1 + gdk4/src/auto/content_formats.rs | 1 + gdk4/src/auto/content_formats_builder.rs | 1 + gdk4/src/auto/content_provider.rs | 2 +- gdk4/src/auto/content_serializer.rs | 1 + gdk4/src/auto/crossing_event.rs | 2 +- gdk4/src/auto/cursor.rs | 2 +- gdk4/src/auto/delete_event.rs | 1 + gdk4/src/auto/device.rs | 2 +- gdk4/src/auto/device_pad.rs | 2 +- gdk4/src/auto/device_tool.rs | 2 +- gdk4/src/auto/display.rs | 2 +- gdk4/src/auto/display_manager.rs | 2 +- gdk4/src/auto/dmabuf_formats.rs | 1 + gdk4/src/auto/dmabuf_texture.rs | 2 +- gdk4/src/auto/dmabuf_texture_builder.rs | 2 +- gdk4/src/auto/dnd_event.rs | 2 +- gdk4/src/auto/drag.rs | 2 +- gdk4/src/auto/drag_surface.rs | 2 +- gdk4/src/auto/draw_context.rs | 2 +- gdk4/src/auto/drop.rs | 2 +- gdk4/src/auto/enums.rs | 1 + gdk4/src/auto/event.rs | 4 ++-- gdk4/src/auto/event_sequence.rs | 2 ++ gdk4/src/auto/file_list.rs | 1 + gdk4/src/auto/flags.rs | 1 + gdk4/src/auto/focus_event.rs | 1 + gdk4/src/auto/frame_clock.rs | 2 +- gdk4/src/auto/frame_timings.rs | 1 + gdk4/src/auto/functions.rs | 2 +- gdk4/src/auto/gl_context.rs | 2 +- gdk4/src/auto/gl_texture.rs | 2 +- gdk4/src/auto/gl_texture_builder.rs | 2 +- gdk4/src/auto/grab_broken_event.rs | 2 +- gdk4/src/auto/key_event.rs | 2 +- gdk4/src/auto/memory_texture.rs | 2 +- gdk4/src/auto/monitor.rs | 2 +- gdk4/src/auto/motion_event.rs | 1 + gdk4/src/auto/pad_event.rs | 1 + gdk4/src/auto/paintable.rs | 2 +- gdk4/src/auto/popup.rs | 2 +- gdk4/src/auto/popup_layout.rs | 2 +- gdk4/src/auto/proximity_event.rs | 1 + gdk4/src/auto/rectangle.rs | 1 + gdk4/src/auto/rgba.rs | 1 + gdk4/src/auto/scroll_event.rs | 2 +- gdk4/src/auto/seat.rs | 2 +- gdk4/src/auto/snapshot.rs | 2 ++ gdk4/src/auto/surface.rs | 4 ++-- gdk4/src/auto/texture.rs | 2 +- gdk4/src/auto/texture_downloader.rs | 2 +- gdk4/src/auto/toplevel.rs | 3 ++- gdk4/src/auto/toplevel_layout.rs | 2 +- gdk4/src/auto/touch_event.rs | 1 + gdk4/src/auto/touchpad_event.rs | 2 +- gdk4/src/auto/versions.txt | 2 +- gdk4/src/auto/vulkan_context.rs | 2 +- gdk4/sys/versions.txt | 2 +- gsk4/src/auto/blend_node.rs | 2 +- gsk4/src/auto/blur_node.rs | 2 +- gsk4/src/auto/border_node.rs | 2 +- gsk4/src/auto/broadway_renderer.rs | 2 +- gsk4/src/auto/cairo_node.rs | 1 + gsk4/src/auto/cairo_renderer.rs | 2 +- gsk4/src/auto/clip_node.rs | 2 +- gsk4/src/auto/color_matrix_node.rs | 2 +- gsk4/src/auto/color_node.rs | 1 + gsk4/src/auto/conic_gradient_node.rs | 2 +- gsk4/src/auto/container_node.rs | 2 +- gsk4/src/auto/cross_fade_node.rs | 2 +- gsk4/src/auto/debug_node.rs | 2 +- gsk4/src/auto/enums.rs | 1 + gsk4/src/auto/fill_node.rs | 2 +- gsk4/src/auto/flags.rs | 1 + gsk4/src/auto/gl_renderer.rs | 2 +- gsk4/src/auto/gl_shader.rs | 2 +- gsk4/src/auto/gl_shader_node.rs | 2 +- gsk4/src/auto/inset_shadow_node.rs | 2 +- gsk4/src/auto/linear_gradient_node.rs | 2 +- gsk4/src/auto/mask_node.rs | 2 +- gsk4/src/auto/opacity_node.rs | 2 +- gsk4/src/auto/outset_shadow_node.rs | 2 +- gsk4/src/auto/path.rs | 2 +- gsk4/src/auto/path_builder.rs | 2 +- gsk4/src/auto/path_measure.rs | 2 +- gsk4/src/auto/path_point.rs | 2 +- gsk4/src/auto/radial_gradient_node.rs | 2 +- gsk4/src/auto/render_node.rs | 2 +- gsk4/src/auto/renderer.rs | 2 +- gsk4/src/auto/repeat_node.rs | 2 +- gsk4/src/auto/repeating_linear_gradient_node.rs | 2 +- gsk4/src/auto/repeating_radial_gradient_node.rs | 2 +- gsk4/src/auto/rounded_clip_node.rs | 2 +- gsk4/src/auto/shader_args_builder.rs | 2 +- gsk4/src/auto/shadow_node.rs | 2 +- gsk4/src/auto/stroke.rs | 2 +- gsk4/src/auto/stroke_node.rs | 2 +- gsk4/src/auto/text_node.rs | 1 + gsk4/src/auto/texture_node.rs | 1 + gsk4/src/auto/texture_scale_node.rs | 2 +- gsk4/src/auto/transform.rs | 2 +- gsk4/src/auto/transform_node.rs | 2 +- gsk4/src/auto/versions.txt | 2 +- gsk4/src/auto/vulkan_renderer.rs | 2 +- gsk4/sys/versions.txt | 2 +- gtk4/src/auto/about_dialog.rs | 4 ++-- gtk4/src/auto/accessible.rs | 2 +- gtk4/src/auto/accessible_list.rs | 2 +- gtk4/src/auto/accessible_range.rs | 2 +- gtk4/src/auto/accessible_text.rs | 2 +- gtk4/src/auto/action_bar.rs | 3 ++- gtk4/src/auto/actionable.rs | 2 +- gtk4/src/auto/activate_action.rs | 2 +- gtk4/src/auto/adjustment.rs | 1 + gtk4/src/auto/alert_dialog.rs | 2 +- gtk4/src/auto/alternative_trigger.rs | 2 +- gtk4/src/auto/any_filter.rs | 2 +- gtk4/src/auto/app_chooser.rs | 2 +- gtk4/src/auto/app_chooser_button.rs | 2 +- gtk4/src/auto/app_chooser_dialog.rs | 2 +- gtk4/src/auto/app_chooser_widget.rs | 2 +- gtk4/src/auto/application.rs | 2 +- gtk4/src/auto/application_window.rs | 4 ++-- gtk4/src/auto/aspect_frame.rs | 3 ++- gtk4/src/auto/assistant.rs | 5 +++-- gtk4/src/auto/assistant_page.rs | 2 +- gtk4/src/auto/at_context.rs | 2 +- gtk4/src/auto/bin_layout.rs | 2 +- gtk4/src/auto/bitset.rs | 1 + gtk4/src/auto/bookmark_list.rs | 1 + gtk4/src/auto/bool_filter.rs | 2 +- gtk4/src/auto/box_.rs | 2 +- gtk4/src/auto/box_layout.rs | 2 +- gtk4/src/auto/buildable.rs | 1 + gtk4/src/auto/builder.rs | 2 +- gtk4/src/auto/builder_list_item_factory.rs | 2 +- gtk4/src/auto/builder_scope.rs | 1 + gtk4/src/auto/button.rs | 2 +- gtk4/src/auto/calendar.rs | 3 ++- gtk4/src/auto/callback_action.rs | 2 +- gtk4/src/auto/cell_area.rs | 2 +- gtk4/src/auto/cell_area_box.rs | 2 +- gtk4/src/auto/cell_area_context.rs | 2 +- gtk4/src/auto/cell_editable.rs | 2 +- gtk4/src/auto/cell_layout.rs | 2 +- gtk4/src/auto/cell_renderer.rs | 2 +- gtk4/src/auto/cell_renderer_accel.rs | 4 +++- gtk4/src/auto/cell_renderer_combo.rs | 2 +- gtk4/src/auto/cell_renderer_pixbuf.rs | 2 +- gtk4/src/auto/cell_renderer_progress.rs | 2 +- gtk4/src/auto/cell_renderer_spin.rs | 2 +- gtk4/src/auto/cell_renderer_spinner.rs | 2 +- gtk4/src/auto/cell_renderer_text.rs | 2 +- gtk4/src/auto/cell_renderer_toggle.rs | 2 +- gtk4/src/auto/cell_view.rs | 2 +- gtk4/src/auto/center_box.rs | 2 +- gtk4/src/auto/center_layout.rs | 2 +- gtk4/src/auto/check_button.rs | 2 +- gtk4/src/auto/closure_expression.rs | 1 + gtk4/src/auto/color_button.rs | 4 ++-- gtk4/src/auto/color_chooser.rs | 1 + gtk4/src/auto/color_chooser_dialog.rs | 2 +- gtk4/src/auto/color_chooser_widget.rs | 4 ++-- gtk4/src/auto/color_dialog.rs | 2 +- gtk4/src/auto/color_dialog_button.rs | 4 ++-- gtk4/src/auto/column_view.rs | 6 +++--- gtk4/src/auto/column_view_cell.rs | 2 +- gtk4/src/auto/column_view_column.rs | 2 +- gtk4/src/auto/column_view_row.rs | 1 + gtk4/src/auto/column_view_sorter.rs | 2 +- gtk4/src/auto/combo_box.rs | 2 +- gtk4/src/auto/combo_box_text.rs | 2 +- gtk4/src/auto/constant_expression.rs | 1 + gtk4/src/auto/constants.rs | 1 + gtk4/src/auto/constraint.rs | 2 +- gtk4/src/auto/constraint_guide.rs | 2 +- gtk4/src/auto/constraint_layout.rs | 2 +- gtk4/src/auto/constraint_layout_child.rs | 2 +- gtk4/src/auto/constraint_target.rs | 1 + gtk4/src/auto/css_provider.rs | 2 +- gtk4/src/auto/css_section.rs | 2 +- gtk4/src/auto/custom_filter.rs | 2 +- gtk4/src/auto/custom_sorter.rs | 2 +- gtk4/src/auto/dialog.rs | 5 +++-- gtk4/src/auto/directory_list.rs | 1 + gtk4/src/auto/drag_icon.rs | 2 +- gtk4/src/auto/drag_source.rs | 2 +- gtk4/src/auto/drawing_area.rs | 3 ++- gtk4/src/auto/drop_controller_motion.rs | 2 +- gtk4/src/auto/drop_down.rs | 2 +- gtk4/src/auto/drop_target.rs | 2 +- gtk4/src/auto/drop_target_async.rs | 2 +- gtk4/src/auto/editable.rs | 2 +- gtk4/src/auto/editable_label.rs | 2 +- gtk4/src/auto/emoji_chooser.rs | 2 +- gtk4/src/auto/entry.rs | 2 +- gtk4/src/auto/entry_buffer.rs | 1 + gtk4/src/auto/entry_completion.rs | 2 +- gtk4/src/auto/enums.rs | 1 + gtk4/src/auto/event_controller.rs | 2 +- gtk4/src/auto/event_controller_focus.rs | 2 +- gtk4/src/auto/event_controller_key.rs | 2 +- gtk4/src/auto/event_controller_legacy.rs | 2 +- gtk4/src/auto/event_controller_motion.rs | 2 +- gtk4/src/auto/event_controller_scroll.rs | 2 +- gtk4/src/auto/every_filter.rs | 2 +- gtk4/src/auto/expander.rs | 3 ++- gtk4/src/auto/expression.rs | 2 +- gtk4/src/auto/file_chooser.rs | 2 +- gtk4/src/auto/file_chooser_dialog.rs | 2 +- gtk4/src/auto/file_chooser_native.rs | 2 +- gtk4/src/auto/file_chooser_widget.rs | 4 ++-- gtk4/src/auto/file_dialog.rs | 2 +- gtk4/src/auto/file_filter.rs | 2 +- gtk4/src/auto/file_launcher.rs | 2 +- gtk4/src/auto/filter.rs | 2 +- gtk4/src/auto/filter_list_model.rs | 2 +- gtk4/src/auto/fixed.rs | 3 ++- gtk4/src/auto/fixed_layout.rs | 2 +- gtk4/src/auto/fixed_layout_child.rs | 2 +- gtk4/src/auto/flags.rs | 1 + gtk4/src/auto/flatten_list_model.rs | 1 + gtk4/src/auto/flow_box.rs | 2 +- gtk4/src/auto/flow_box_child.rs | 3 ++- gtk4/src/auto/font_button.rs | 4 ++-- gtk4/src/auto/font_chooser.rs | 2 +- gtk4/src/auto/font_chooser_dialog.rs | 2 +- gtk4/src/auto/font_chooser_widget.rs | 4 ++-- gtk4/src/auto/font_dialog.rs | 2 +- gtk4/src/auto/font_dialog_button.rs | 2 +- gtk4/src/auto/frame.rs | 3 ++- gtk4/src/auto/functions.rs | 2 +- gtk4/src/auto/gesture.rs | 2 +- gtk4/src/auto/gesture_click.rs | 2 +- gtk4/src/auto/gesture_drag.rs | 2 +- gtk4/src/auto/gesture_long_press.rs | 2 +- gtk4/src/auto/gesture_pan.rs | 2 +- gtk4/src/auto/gesture_rotate.rs | 2 +- gtk4/src/auto/gesture_single.rs | 2 +- gtk4/src/auto/gesture_stylus.rs | 2 +- gtk4/src/auto/gesture_swipe.rs | 2 +- gtk4/src/auto/gesture_zoom.rs | 2 +- gtk4/src/auto/gl_area.rs | 3 ++- gtk4/src/auto/graphics_offload.rs | 2 +- gtk4/src/auto/grid.rs | 2 +- gtk4/src/auto/grid_layout.rs | 2 +- gtk4/src/auto/grid_layout_child.rs | 2 +- gtk4/src/auto/grid_view.rs | 2 +- gtk4/src/auto/header_bar.rs | 3 ++- gtk4/src/auto/icon_paintable.rs | 1 + gtk4/src/auto/icon_theme.rs | 2 +- gtk4/src/auto/icon_view.rs | 7 ++++--- gtk4/src/auto/im_context.rs | 2 +- gtk4/src/auto/im_context_simple.rs | 2 +- gtk4/src/auto/im_multicontext.rs | 2 +- gtk4/src/auto/image.rs | 2 +- gtk4/src/auto/info_bar.rs | 2 +- gtk4/src/auto/inscription.rs | 2 +- gtk4/src/auto/label.rs | 4 ++-- gtk4/src/auto/layout_child.rs | 2 +- gtk4/src/auto/layout_manager.rs | 2 +- gtk4/src/auto/level_bar.rs | 4 ++-- gtk4/src/auto/link_button.rs | 2 +- gtk4/src/auto/list_base.rs | 2 +- gtk4/src/auto/list_box.rs | 2 +- gtk4/src/auto/list_box_row.rs | 2 +- gtk4/src/auto/list_header.rs | 2 +- gtk4/src/auto/list_item.rs | 2 +- gtk4/src/auto/list_item_factory.rs | 2 ++ gtk4/src/auto/list_store.rs | 2 +- gtk4/src/auto/list_view.rs | 2 +- gtk4/src/auto/lock_button.rs | 2 +- gtk4/src/auto/map_list_model.rs | 1 + gtk4/src/auto/media_controls.rs | 4 ++-- gtk4/src/auto/media_file.rs | 2 +- gtk4/src/auto/media_stream.rs | 1 + gtk4/src/auto/menu_button.rs | 2 +- gtk4/src/auto/message_dialog.rs | 2 +- gtk4/src/auto/mnemonic_action.rs | 2 +- gtk4/src/auto/mount_operation.rs | 2 +- gtk4/src/auto/multi_filter.rs | 2 +- gtk4/src/auto/multi_selection.rs | 2 +- gtk4/src/auto/multi_sorter.rs | 2 +- gtk4/src/auto/named_action.rs | 2 +- gtk4/src/auto/native.rs | 2 +- gtk4/src/auto/native_dialog.rs | 2 +- gtk4/src/auto/never_trigger.rs | 2 +- gtk4/src/auto/no_selection.rs | 2 +- gtk4/src/auto/notebook.rs | 4 ++-- gtk4/src/auto/notebook_page.rs | 2 +- gtk4/src/auto/nothing_action.rs | 2 +- gtk4/src/auto/numeric_sorter.rs | 2 +- gtk4/src/auto/object_expression.rs | 1 + gtk4/src/auto/orientable.rs | 2 +- gtk4/src/auto/overlay.rs | 3 ++- gtk4/src/auto/overlay_layout.rs | 2 +- gtk4/src/auto/overlay_layout_child.rs | 2 +- gtk4/src/auto/pad_controller.rs | 4 +++- gtk4/src/auto/page_setup.rs | 2 +- gtk4/src/auto/page_setup_unix_dialog.rs | 2 +- gtk4/src/auto/paned.rs | 2 +- gtk4/src/auto/paper_size.rs | 2 +- gtk4/src/auto/param_spec_expression.rs | 1 + gtk4/src/auto/password_entry.rs | 2 +- gtk4/src/auto/password_entry_buffer.rs | 2 +- gtk4/src/auto/picture.rs | 3 ++- gtk4/src/auto/popover.rs | 2 +- gtk4/src/auto/popover_menu.rs | 2 +- gtk4/src/auto/popover_menu_bar.rs | 3 ++- gtk4/src/auto/print_context.rs | 2 +- gtk4/src/auto/print_dialog.rs | 2 +- gtk4/src/auto/print_job.rs | 3 ++- gtk4/src/auto/print_operation.rs | 4 ++-- gtk4/src/auto/print_operation_preview.rs | 2 +- gtk4/src/auto/print_settings.rs | 2 +- gtk4/src/auto/print_setup.rs | 2 +- gtk4/src/auto/print_unix_dialog.rs | 2 +- gtk4/src/auto/printer.rs | 2 +- gtk4/src/auto/progress_bar.rs | 2 +- gtk4/src/auto/property_expression.rs | 2 +- gtk4/src/auto/range.rs | 4 +++- gtk4/src/auto/recent_info.rs | 1 + gtk4/src/auto/recent_manager.rs | 2 +- gtk4/src/auto/requisition.rs | 1 + gtk4/src/auto/revealer.rs | 2 +- gtk4/src/auto/root.rs | 2 +- gtk4/src/auto/scale.rs | 2 +- gtk4/src/auto/scale_button.rs | 2 +- gtk4/src/auto/scroll_info.rs | 1 + gtk4/src/auto/scrollable.rs | 2 +- gtk4/src/auto/scrollbar.rs | 2 +- gtk4/src/auto/scrolled_window.rs | 2 +- gtk4/src/auto/search_bar.rs | 2 +- gtk4/src/auto/search_entry.rs | 2 +- gtk4/src/auto/section_model.rs | 1 + gtk4/src/auto/selection_filter_model.rs | 2 +- gtk4/src/auto/selection_model.rs | 2 +- gtk4/src/auto/separator.rs | 2 +- gtk4/src/auto/settings.rs | 2 +- gtk4/src/auto/shortcut.rs | 2 +- gtk4/src/auto/shortcut_action.rs | 2 +- gtk4/src/auto/shortcut_controller.rs | 2 +- gtk4/src/auto/shortcut_label.rs | 3 ++- gtk4/src/auto/shortcut_manager.rs | 1 + gtk4/src/auto/shortcut_trigger.rs | 1 + gtk4/src/auto/shortcuts_group.rs | 2 +- gtk4/src/auto/shortcuts_section.rs | 2 +- gtk4/src/auto/shortcuts_shortcut.rs | 2 +- gtk4/src/auto/shortcuts_window.rs | 4 ++-- gtk4/src/auto/signal_action.rs | 2 +- gtk4/src/auto/signal_list_item_factory.rs | 2 +- gtk4/src/auto/single_selection.rs | 2 +- gtk4/src/auto/size_group.rs | 2 +- gtk4/src/auto/slice_list_model.rs | 1 + gtk4/src/auto/snapshot.rs | 2 +- gtk4/src/auto/sort_list_model.rs | 2 +- gtk4/src/auto/sorter.rs | 2 +- gtk4/src/auto/spin_button.rs | 2 +- gtk4/src/auto/spinner.rs | 3 ++- gtk4/src/auto/stack.rs | 2 +- gtk4/src/auto/stack_page.rs | 2 +- gtk4/src/auto/stack_sidebar.rs | 4 ++-- gtk4/src/auto/stack_switcher.rs | 2 +- gtk4/src/auto/statusbar.rs | 3 ++- gtk4/src/auto/string_filter.rs | 2 +- gtk4/src/auto/string_list.rs | 2 +- gtk4/src/auto/string_object.rs | 1 + gtk4/src/auto/string_sorter.rs | 2 +- gtk4/src/auto/style_context.rs | 2 +- gtk4/src/auto/style_provider.rs | 1 + gtk4/src/auto/switch.rs | 2 +- gtk4/src/auto/symbolic_paintable.rs | 1 + gtk4/src/auto/text.rs | 2 +- gtk4/src/auto/text_buffer.rs | 2 +- gtk4/src/auto/text_child_anchor.rs | 2 +- gtk4/src/auto/text_iter.rs | 2 +- gtk4/src/auto/text_mark.rs | 2 +- gtk4/src/auto/text_tag.rs | 2 +- gtk4/src/auto/text_tag_table.rs | 2 +- gtk4/src/auto/text_view.rs | 2 +- gtk4/src/auto/toggle_button.rs | 2 +- gtk4/src/auto/tooltip.rs | 2 +- gtk4/src/auto/tree_drag_dest.rs | 2 +- gtk4/src/auto/tree_drag_source.rs | 2 +- gtk4/src/auto/tree_expander.rs | 2 +- gtk4/src/auto/tree_iter.rs | 1 + gtk4/src/auto/tree_list_model.rs | 2 +- gtk4/src/auto/tree_list_row.rs | 1 + gtk4/src/auto/tree_list_row_sorter.rs | 2 +- gtk4/src/auto/tree_model.rs | 2 +- gtk4/src/auto/tree_model_filter.rs | 2 +- gtk4/src/auto/tree_model_sort.rs | 2 +- gtk4/src/auto/tree_path.rs | 1 + gtk4/src/auto/tree_row_reference.rs | 2 +- gtk4/src/auto/tree_selection.rs | 2 +- gtk4/src/auto/tree_sortable.rs | 2 +- gtk4/src/auto/tree_store.rs | 2 +- gtk4/src/auto/tree_view.rs | 2 +- gtk4/src/auto/tree_view_column.rs | 2 +- gtk4/src/auto/uri_launcher.rs | 2 +- gtk4/src/auto/versions.txt | 2 +- gtk4/src/auto/video.rs | 4 ++-- gtk4/src/auto/viewport.rs | 2 +- gtk4/src/auto/volume_button.rs | 2 +- gtk4/src/auto/widget.rs | 6 +++--- gtk4/src/auto/widget_paintable.rs | 2 +- gtk4/src/auto/window.rs | 4 ++-- gtk4/src/auto/window_controls.rs | 2 +- gtk4/src/auto/window_group.rs | 2 +- gtk4/src/auto/window_handle.rs | 3 ++- gtk4/sys/versions.txt | 2 +- 449 files changed, 518 insertions(+), 392 deletions(-) diff --git a/gdk4-wayland/src/auto/versions.txt b/gdk4-wayland/src/auto/versions.txt index 4a36b94f29b0..b9c34635d65d 100644 --- a/gdk4-wayland/src/auto/versions.txt +++ b/gdk4-wayland/src/auto/versions.txt @@ -1,2 +1,2 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 839b834456d2) +Generated by gir (https://github.com/gtk-rs/gir @ 3191f1ad2c59) from gir-files (https://github.com/gtk-rs/gir-files @ 74aa91d9063d) diff --git a/gdk4-wayland/src/auto/wayland_device.rs b/gdk4-wayland/src/auto/wayland_device.rs index f3669d7ef57c..8baf4f25b9fd 100644 --- a/gdk4-wayland/src/auto/wayland_device.rs +++ b/gdk4-wayland/src/auto/wayland_device.rs @@ -2,6 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT +use crate::ffi; use glib::translate::*; glib::wrapper! { diff --git a/gdk4-wayland/src/auto/wayland_display.rs b/gdk4-wayland/src/auto/wayland_display.rs index faf3ce33f04d..fa6c7271a58b 100644 --- a/gdk4-wayland/src/auto/wayland_display.rs +++ b/gdk4-wayland/src/auto/wayland_display.rs @@ -3,6 +3,7 @@ // DO NOT EDIT #![allow(deprecated)] +use crate::ffi; use glib::translate::*; glib::wrapper! { diff --git a/gdk4-wayland/src/auto/wayland_gl_context.rs b/gdk4-wayland/src/auto/wayland_gl_context.rs index 9e59ccb1e38c..1d943e31eeee 100644 --- a/gdk4-wayland/src/auto/wayland_gl_context.rs +++ b/gdk4-wayland/src/auto/wayland_gl_context.rs @@ -2,6 +2,8 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT +use crate::ffi; + glib::wrapper! { #[doc(alias = "GdkWaylandGLContext")] pub struct WaylandGLContext(Object) @extends gdk::GLContext, gdk::DrawContext; diff --git a/gdk4-wayland/src/auto/wayland_monitor.rs b/gdk4-wayland/src/auto/wayland_monitor.rs index 02170fee1ba4..71145c704c1d 100644 --- a/gdk4-wayland/src/auto/wayland_monitor.rs +++ b/gdk4-wayland/src/auto/wayland_monitor.rs @@ -2,6 +2,8 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT +use crate::ffi; + glib::wrapper! { #[doc(alias = "GdkWaylandMonitor")] pub struct WaylandMonitor(Object) @extends gdk::Monitor; diff --git a/gdk4-wayland/src/auto/wayland_popup.rs b/gdk4-wayland/src/auto/wayland_popup.rs index 6606cbbd82e8..3a7d39ca57ce 100644 --- a/gdk4-wayland/src/auto/wayland_popup.rs +++ b/gdk4-wayland/src/auto/wayland_popup.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::WaylandSurface; +use crate::{ffi, WaylandSurface}; glib::wrapper! { #[doc(alias = "GdkWaylandPopup")] diff --git a/gdk4-wayland/src/auto/wayland_seat.rs b/gdk4-wayland/src/auto/wayland_seat.rs index 581f4298a5cf..b419143e03bb 100644 --- a/gdk4-wayland/src/auto/wayland_seat.rs +++ b/gdk4-wayland/src/auto/wayland_seat.rs @@ -2,6 +2,8 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT +use crate::ffi; + glib::wrapper! { #[doc(alias = "GdkWaylandSeat")] pub struct WaylandSeat(Object) @extends gdk::Seat; diff --git a/gdk4-wayland/src/auto/wayland_surface.rs b/gdk4-wayland/src/auto/wayland_surface.rs index b7736cae9ef3..03b135d90dc1 100644 --- a/gdk4-wayland/src/auto/wayland_surface.rs +++ b/gdk4-wayland/src/auto/wayland_surface.rs @@ -2,6 +2,8 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT +use crate::ffi; + glib::wrapper! { #[doc(alias = "GdkWaylandSurface")] pub struct WaylandSurface(Object) @extends gdk::Surface; diff --git a/gdk4-wayland/src/auto/wayland_toplevel.rs b/gdk4-wayland/src/auto/wayland_toplevel.rs index 8f4ed1c9eb05..a98773cb40a6 100644 --- a/gdk4-wayland/src/auto/wayland_toplevel.rs +++ b/gdk4-wayland/src/auto/wayland_toplevel.rs @@ -3,7 +3,7 @@ // DO NOT EDIT #![allow(deprecated)] -use crate::WaylandSurface; +use crate::{ffi, WaylandSurface}; use glib::translate::*; glib::wrapper! { diff --git a/gdk4-wayland/sys/versions.txt b/gdk4-wayland/sys/versions.txt index 4a36b94f29b0..b9c34635d65d 100644 --- a/gdk4-wayland/sys/versions.txt +++ b/gdk4-wayland/sys/versions.txt @@ -1,2 +1,2 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 839b834456d2) +Generated by gir (https://github.com/gtk-rs/gir @ 3191f1ad2c59) from gir-files (https://github.com/gtk-rs/gir-files @ 74aa91d9063d) diff --git a/gdk4-win32/src/auto/enums.rs b/gdk4-win32/src/auto/enums.rs index 8eec62d54e18..98781e62b8f3 100644 --- a/gdk4-win32/src/auto/enums.rs +++ b/gdk4-win32/src/auto/enums.rs @@ -2,6 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT +use crate::ffi; use glib::translate::*; #[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)] diff --git a/gdk4-win32/src/auto/versions.txt b/gdk4-win32/src/auto/versions.txt index 4a36b94f29b0..b9c34635d65d 100644 --- a/gdk4-win32/src/auto/versions.txt +++ b/gdk4-win32/src/auto/versions.txt @@ -1,2 +1,2 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 839b834456d2) +Generated by gir (https://github.com/gtk-rs/gir @ 3191f1ad2c59) from gir-files (https://github.com/gtk-rs/gir-files @ 74aa91d9063d) diff --git a/gdk4-win32/src/auto/win32_display.rs b/gdk4-win32/src/auto/win32_display.rs index 59ea54a1c6a0..5f2b1b16d0c6 100644 --- a/gdk4-win32/src/auto/win32_display.rs +++ b/gdk4-win32/src/auto/win32_display.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::Win32HCursor; +use crate::{ffi, Win32HCursor}; use glib::{prelude::*, translate::*}; glib::wrapper! { diff --git a/gdk4-win32/src/auto/win32_display_manager.rs b/gdk4-win32/src/auto/win32_display_manager.rs index b5d03ed73c19..620d7e8bf853 100644 --- a/gdk4-win32/src/auto/win32_display_manager.rs +++ b/gdk4-win32/src/auto/win32_display_manager.rs @@ -2,6 +2,8 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT +use crate::ffi; + glib::wrapper! { #[doc(alias = "GdkWin32DisplayManager")] pub struct Win32DisplayManager(Object) @extends gdk::DisplayManager; diff --git a/gdk4-win32/src/auto/win32_drag.rs b/gdk4-win32/src/auto/win32_drag.rs index ed592f0526b7..d1225b65ab7c 100644 --- a/gdk4-win32/src/auto/win32_drag.rs +++ b/gdk4-win32/src/auto/win32_drag.rs @@ -2,6 +2,8 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT +use crate::ffi; + glib::wrapper! { #[doc(alias = "GdkWin32Drag")] pub struct Win32Drag(Object) @extends gdk::Drag; diff --git a/gdk4-win32/src/auto/win32_gl_context.rs b/gdk4-win32/src/auto/win32_gl_context.rs index a57e10e2fdfc..a004dae8dbb2 100644 --- a/gdk4-win32/src/auto/win32_gl_context.rs +++ b/gdk4-win32/src/auto/win32_gl_context.rs @@ -2,6 +2,8 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT +use crate::ffi; + glib::wrapper! { #[doc(alias = "GdkWin32GLContext")] pub struct Win32GLContext(Object) @extends gdk::GLContext, gdk::DrawContext; diff --git a/gdk4-win32/src/auto/win32_hcursor.rs b/gdk4-win32/src/auto/win32_hcursor.rs index ac2b4783080c..75bd18cbaf9f 100644 --- a/gdk4-win32/src/auto/win32_hcursor.rs +++ b/gdk4-win32/src/auto/win32_hcursor.rs @@ -2,6 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT +use crate::ffi; use glib::{prelude::*, translate::*}; glib::wrapper! { diff --git a/gdk4-win32/src/auto/win32_monitor.rs b/gdk4-win32/src/auto/win32_monitor.rs index b6f3b5b7c5ba..da1cf7865359 100644 --- a/gdk4-win32/src/auto/win32_monitor.rs +++ b/gdk4-win32/src/auto/win32_monitor.rs @@ -2,6 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT +use crate::ffi; use glib::{prelude::*, translate::*}; glib::wrapper! { diff --git a/gdk4-win32/src/auto/win32_screen.rs b/gdk4-win32/src/auto/win32_screen.rs index 7a5d4c71a543..f59539eb7575 100644 --- a/gdk4-win32/src/auto/win32_screen.rs +++ b/gdk4-win32/src/auto/win32_screen.rs @@ -2,6 +2,8 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT +use crate::ffi; + glib::wrapper! { #[doc(alias = "GdkWin32Screen")] pub struct Win32Screen(Object); diff --git a/gdk4-win32/src/auto/win32_surface.rs b/gdk4-win32/src/auto/win32_surface.rs index 9d5cb38c554d..f5c99412e7b1 100644 --- a/gdk4-win32/src/auto/win32_surface.rs +++ b/gdk4-win32/src/auto/win32_surface.rs @@ -3,6 +3,7 @@ // DO NOT EDIT #![allow(deprecated)] +use crate::ffi; use glib::{prelude::*, translate::*}; glib::wrapper! { diff --git a/gdk4-win32/sys/versions.txt b/gdk4-win32/sys/versions.txt index 4a36b94f29b0..b9c34635d65d 100644 --- a/gdk4-win32/sys/versions.txt +++ b/gdk4-win32/sys/versions.txt @@ -1,2 +1,2 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 839b834456d2) +Generated by gir (https://github.com/gtk-rs/gir @ 3191f1ad2c59) from gir-files (https://github.com/gtk-rs/gir-files @ 74aa91d9063d) diff --git a/gdk4-x11/src/auto/enums.rs b/gdk4-x11/src/auto/enums.rs index fd25f430a107..98966ca180c7 100644 --- a/gdk4-x11/src/auto/enums.rs +++ b/gdk4-x11/src/auto/enums.rs @@ -2,6 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT +use crate::ffi; use glib::translate::*; #[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)] diff --git a/gdk4-x11/src/auto/functions.rs b/gdk4-x11/src/auto/functions.rs index 809c948991f0..2b3a94fbd057 100644 --- a/gdk4-x11/src/auto/functions.rs +++ b/gdk4-x11/src/auto/functions.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::{X11DeviceManagerXI2, X11DeviceXI2, X11Surface}; +use crate::{ffi, X11DeviceManagerXI2, X11DeviceXI2, X11Surface}; use glib::translate::*; #[doc(alias = "gdk_x11_device_get_id")] diff --git a/gdk4-x11/src/auto/versions.txt b/gdk4-x11/src/auto/versions.txt index 4a36b94f29b0..b9c34635d65d 100644 --- a/gdk4-x11/src/auto/versions.txt +++ b/gdk4-x11/src/auto/versions.txt @@ -1,2 +1,2 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 839b834456d2) +Generated by gir (https://github.com/gtk-rs/gir @ 3191f1ad2c59) from gir-files (https://github.com/gtk-rs/gir-files @ 74aa91d9063d) diff --git a/gdk4-x11/src/auto/x11_app_launch_context.rs b/gdk4-x11/src/auto/x11_app_launch_context.rs index cd805ab45d12..2a9a61c6d3e5 100644 --- a/gdk4-x11/src/auto/x11_app_launch_context.rs +++ b/gdk4-x11/src/auto/x11_app_launch_context.rs @@ -2,6 +2,8 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT +use crate::ffi; + glib::wrapper! { #[doc(alias = "GdkX11AppLaunchContext")] pub struct X11AppLaunchContext(Object) @extends gdk::AppLaunchContext, gio::AppLaunchContext; diff --git a/gdk4-x11/src/auto/x11_device_manager_xi2.rs b/gdk4-x11/src/auto/x11_device_manager_xi2.rs index 90da8fe9d4bc..ba9b7f6d2df9 100644 --- a/gdk4-x11/src/auto/x11_device_manager_xi2.rs +++ b/gdk4-x11/src/auto/x11_device_manager_xi2.rs @@ -2,6 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT +use crate::ffi; use glib::{prelude::*, translate::*}; glib::wrapper! { diff --git a/gdk4-x11/src/auto/x11_device_xi2.rs b/gdk4-x11/src/auto/x11_device_xi2.rs index b13c3c9bbe63..a7a75eeee26c 100644 --- a/gdk4-x11/src/auto/x11_device_xi2.rs +++ b/gdk4-x11/src/auto/x11_device_xi2.rs @@ -2,6 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT +use crate::ffi; use glib::{prelude::*, translate::*}; glib::wrapper! { diff --git a/gdk4-x11/src/auto/x11_display.rs b/gdk4-x11/src/auto/x11_display.rs index bd77a54fd159..3992a22255e2 100644 --- a/gdk4-x11/src/auto/x11_display.rs +++ b/gdk4-x11/src/auto/x11_display.rs @@ -3,7 +3,7 @@ // DO NOT EDIT #![allow(deprecated)] -use crate::X11Screen; +use crate::{ffi, X11Screen}; use glib::translate::*; glib::wrapper! { diff --git a/gdk4-x11/src/auto/x11_drag.rs b/gdk4-x11/src/auto/x11_drag.rs index 95b4eca6f4fe..f38f22130633 100644 --- a/gdk4-x11/src/auto/x11_drag.rs +++ b/gdk4-x11/src/auto/x11_drag.rs @@ -2,6 +2,8 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT +use crate::ffi; + glib::wrapper! { #[doc(alias = "GdkX11Drag")] pub struct X11Drag(Object) @extends gdk::Drag; diff --git a/gdk4-x11/src/auto/x11_monitor.rs b/gdk4-x11/src/auto/x11_monitor.rs index 667eb60220eb..910a28a03bca 100644 --- a/gdk4-x11/src/auto/x11_monitor.rs +++ b/gdk4-x11/src/auto/x11_monitor.rs @@ -2,6 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT +use crate::ffi; use glib::translate::*; glib::wrapper! { diff --git a/gdk4-x11/src/auto/x11_screen.rs b/gdk4-x11/src/auto/x11_screen.rs index a51cdfd5c06e..85fec0dd5422 100644 --- a/gdk4-x11/src/auto/x11_screen.rs +++ b/gdk4-x11/src/auto/x11_screen.rs @@ -2,6 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT +use crate::ffi; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, diff --git a/gdk4-x11/src/auto/x11_surface.rs b/gdk4-x11/src/auto/x11_surface.rs index 6c9dfbd496c0..dff4cace4bea 100644 --- a/gdk4-x11/src/auto/x11_surface.rs +++ b/gdk4-x11/src/auto/x11_surface.rs @@ -2,6 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT +use crate::ffi; use glib::{prelude::*, translate::*}; glib::wrapper! { diff --git a/gdk4-x11/src/auto/x11gl_context.rs b/gdk4-x11/src/auto/x11gl_context.rs index d6eaf87600bf..d68ba268a5ae 100644 --- a/gdk4-x11/src/auto/x11gl_context.rs +++ b/gdk4-x11/src/auto/x11gl_context.rs @@ -2,6 +2,8 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT +use crate::ffi; + glib::wrapper! { #[doc(alias = "GdkX11GLContext")] pub struct X11GLContext(Object) @extends gdk::GLContext, gdk::DrawContext; diff --git a/gdk4-x11/sys/versions.txt b/gdk4-x11/sys/versions.txt index 4a36b94f29b0..b9c34635d65d 100644 --- a/gdk4-x11/sys/versions.txt +++ b/gdk4-x11/sys/versions.txt @@ -1,2 +1,2 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 839b834456d2) +Generated by gir (https://github.com/gtk-rs/gir @ 3191f1ad2c59) from gir-files (https://github.com/gtk-rs/gir-files @ 74aa91d9063d) diff --git a/gdk4/src/auto/app_launch_context.rs b/gdk4/src/auto/app_launch_context.rs index c1e77483fc02..3f1414fadfa7 100644 --- a/gdk4/src/auto/app_launch_context.rs +++ b/gdk4/src/auto/app_launch_context.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::Display; +use crate::{ffi, Display}; use glib::{prelude::*, translate::*}; glib::wrapper! { diff --git a/gdk4/src/auto/button_event.rs b/gdk4/src/auto/button_event.rs index 3e56f4e968c3..38774d5e9d59 100644 --- a/gdk4/src/auto/button_event.rs +++ b/gdk4/src/auto/button_event.rs @@ -2,6 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT +use crate::ffi; use glib::{prelude::*, translate::*}; glib::wrapper! { diff --git a/gdk4/src/auto/cairo_context.rs b/gdk4/src/auto/cairo_context.rs index 8b1ac33c55c6..e963be8ab47e 100644 --- a/gdk4/src/auto/cairo_context.rs +++ b/gdk4/src/auto/cairo_context.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::DrawContext; +use crate::{ffi, DrawContext}; use glib::translate::*; glib::wrapper! { diff --git a/gdk4/src/auto/clipboard.rs b/gdk4/src/auto/clipboard.rs index af9c678545b3..0da7fc31fbdf 100644 --- a/gdk4/src/auto/clipboard.rs +++ b/gdk4/src/auto/clipboard.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::{ContentFormats, ContentProvider, Display, Texture}; +use crate::{ffi, ContentFormats, ContentProvider, Display, Texture}; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, diff --git a/gdk4/src/auto/content_deserializer.rs b/gdk4/src/auto/content_deserializer.rs index 788c0df945a1..0c1325f0ed0c 100644 --- a/gdk4/src/auto/content_deserializer.rs +++ b/gdk4/src/auto/content_deserializer.rs @@ -2,6 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT +use crate::ffi; use glib::translate::*; glib::wrapper! { diff --git a/gdk4/src/auto/content_formats.rs b/gdk4/src/auto/content_formats.rs index 92e7d9788371..2cef38f3a6df 100644 --- a/gdk4/src/auto/content_formats.rs +++ b/gdk4/src/auto/content_formats.rs @@ -2,6 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT +use crate::ffi; use glib::translate::*; glib::wrapper! { diff --git a/gdk4/src/auto/content_formats_builder.rs b/gdk4/src/auto/content_formats_builder.rs index 5e784e502ed0..846c4a4f3e63 100644 --- a/gdk4/src/auto/content_formats_builder.rs +++ b/gdk4/src/auto/content_formats_builder.rs @@ -2,6 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT +use crate::ffi; use glib::translate::*; glib::wrapper! { diff --git a/gdk4/src/auto/content_provider.rs b/gdk4/src/auto/content_provider.rs index a6a9935add60..07664dc78e45 100644 --- a/gdk4/src/auto/content_provider.rs +++ b/gdk4/src/auto/content_provider.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::ContentFormats; +use crate::{ffi, ContentFormats}; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, diff --git a/gdk4/src/auto/content_serializer.rs b/gdk4/src/auto/content_serializer.rs index 0d69a86ca5d5..07cc1540c9be 100644 --- a/gdk4/src/auto/content_serializer.rs +++ b/gdk4/src/auto/content_serializer.rs @@ -2,6 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT +use crate::ffi; use glib::translate::*; glib::wrapper! { diff --git a/gdk4/src/auto/crossing_event.rs b/gdk4/src/auto/crossing_event.rs index 28ea90ec8f06..1acb39ec0d5b 100644 --- a/gdk4/src/auto/crossing_event.rs +++ b/gdk4/src/auto/crossing_event.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::{CrossingMode, NotifyType}; +use crate::{ffi, CrossingMode, NotifyType}; use glib::{prelude::*, translate::*}; glib::wrapper! { diff --git a/gdk4/src/auto/cursor.rs b/gdk4/src/auto/cursor.rs index 72ae9db76bbb..6f95f84e4efc 100644 --- a/gdk4/src/auto/cursor.rs +++ b/gdk4/src/auto/cursor.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::Texture; +use crate::{ffi, Texture}; use glib::{prelude::*, translate::*}; glib::wrapper! { diff --git a/gdk4/src/auto/delete_event.rs b/gdk4/src/auto/delete_event.rs index 6e91a51c74f0..5996447ed847 100644 --- a/gdk4/src/auto/delete_event.rs +++ b/gdk4/src/auto/delete_event.rs @@ -2,6 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT +use crate::ffi; use glib::{prelude::*, translate::*}; glib::wrapper! { diff --git a/gdk4/src/auto/device.rs b/gdk4/src/auto/device.rs index e7ff6b649f76..b795ee08f3f8 100644 --- a/gdk4/src/auto/device.rs +++ b/gdk4/src/auto/device.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::{DeviceTool, Display, InputSource, ModifierType, Seat, Surface}; +use crate::{ffi, DeviceTool, Display, InputSource, ModifierType, Seat, Surface}; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, diff --git a/gdk4/src/auto/device_pad.rs b/gdk4/src/auto/device_pad.rs index 3f80e4b2f674..aa3d1f82bc34 100644 --- a/gdk4/src/auto/device_pad.rs +++ b/gdk4/src/auto/device_pad.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::{Device, DevicePadFeature}; +use crate::{ffi, Device, DevicePadFeature}; use glib::{prelude::*, translate::*}; glib::wrapper! { diff --git a/gdk4/src/auto/device_tool.rs b/gdk4/src/auto/device_tool.rs index 05e86d012085..6e5148f624a2 100644 --- a/gdk4/src/auto/device_tool.rs +++ b/gdk4/src/auto/device_tool.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::{AxisFlags, DeviceToolType}; +use crate::{ffi, AxisFlags, DeviceToolType}; use glib::translate::*; glib::wrapper! { diff --git a/gdk4/src/auto/display.rs b/gdk4/src/auto/display.rs index 167eb1fbd503..5ac294bdd83c 100644 --- a/gdk4/src/auto/display.rs +++ b/gdk4/src/auto/display.rs @@ -9,7 +9,7 @@ use crate::DmabufFormats; #[cfg(feature = "v4_6")] #[cfg_attr(docsrs, doc(cfg(feature = "v4_6")))] use crate::GLContext; -use crate::{AppLaunchContext, Clipboard, Device, Event, Monitor, Seat, Surface}; +use crate::{ffi, AppLaunchContext, Clipboard, Device, Event, Monitor, Seat, Surface}; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, diff --git a/gdk4/src/auto/display_manager.rs b/gdk4/src/auto/display_manager.rs index 1dcef32d36e5..5d4cb701b0c7 100644 --- a/gdk4/src/auto/display_manager.rs +++ b/gdk4/src/auto/display_manager.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::Display; +use crate::{ffi, Display}; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, diff --git a/gdk4/src/auto/dmabuf_formats.rs b/gdk4/src/auto/dmabuf_formats.rs index 35eaea9703dc..75ccd31100aa 100644 --- a/gdk4/src/auto/dmabuf_formats.rs +++ b/gdk4/src/auto/dmabuf_formats.rs @@ -2,6 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT +use crate::ffi; use glib::translate::*; glib::wrapper! { diff --git a/gdk4/src/auto/dmabuf_texture.rs b/gdk4/src/auto/dmabuf_texture.rs index 027d3379f62c..b5e53ab26e3c 100644 --- a/gdk4/src/auto/dmabuf_texture.rs +++ b/gdk4/src/auto/dmabuf_texture.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::{Paintable, Texture}; +use crate::{ffi, Paintable, Texture}; glib::wrapper! { #[doc(alias = "GdkDmabufTexture")] diff --git a/gdk4/src/auto/dmabuf_texture_builder.rs b/gdk4/src/auto/dmabuf_texture_builder.rs index f251b54258b8..1ec08fa7f1b6 100644 --- a/gdk4/src/auto/dmabuf_texture_builder.rs +++ b/gdk4/src/auto/dmabuf_texture_builder.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::{Display, Texture}; +use crate::{ffi, Display, Texture}; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, diff --git a/gdk4/src/auto/dnd_event.rs b/gdk4/src/auto/dnd_event.rs index a27cdb0503bf..ff92dede70ea 100644 --- a/gdk4/src/auto/dnd_event.rs +++ b/gdk4/src/auto/dnd_event.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::Drop; +use crate::{ffi, Drop}; use glib::{prelude::*, translate::*}; glib::wrapper! { diff --git a/gdk4/src/auto/drag.rs b/gdk4/src/auto/drag.rs index 1392eef789d6..95cbb18e5cd9 100644 --- a/gdk4/src/auto/drag.rs +++ b/gdk4/src/auto/drag.rs @@ -3,7 +3,7 @@ // DO NOT EDIT use crate::{ - ContentFormats, ContentProvider, Device, Display, DragAction, DragCancelReason, Surface, + ffi, ContentFormats, ContentProvider, Device, Display, DragAction, DragCancelReason, Surface, }; use glib::{ prelude::*, diff --git a/gdk4/src/auto/drag_surface.rs b/gdk4/src/auto/drag_surface.rs index f3103bf6ebc3..51097bd3be91 100644 --- a/gdk4/src/auto/drag_surface.rs +++ b/gdk4/src/auto/drag_surface.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::Surface; +use crate::{ffi, Surface}; use glib::{prelude::*, translate::*}; glib::wrapper! { diff --git a/gdk4/src/auto/draw_context.rs b/gdk4/src/auto/draw_context.rs index f61eb7e33004..8bdf901dcd53 100644 --- a/gdk4/src/auto/draw_context.rs +++ b/gdk4/src/auto/draw_context.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::{Display, Surface}; +use crate::{ffi, Display, Surface}; use glib::{prelude::*, translate::*}; glib::wrapper! { diff --git a/gdk4/src/auto/drop.rs b/gdk4/src/auto/drop.rs index 37267b15d10f..db441535deb2 100644 --- a/gdk4/src/auto/drop.rs +++ b/gdk4/src/auto/drop.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::{ContentFormats, Device, Display, Drag, DragAction, Surface}; +use crate::{ffi, ContentFormats, Device, Display, Drag, DragAction, Surface}; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, diff --git a/gdk4/src/auto/enums.rs b/gdk4/src/auto/enums.rs index 91c634b97241..68b7dbeea6a4 100644 --- a/gdk4/src/auto/enums.rs +++ b/gdk4/src/auto/enums.rs @@ -2,6 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT +use crate::ffi; use glib::{prelude::*, translate::*}; #[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)] diff --git a/gdk4/src/auto/event.rs b/gdk4/src/auto/event.rs index b0263a795094..6e2cad223817 100644 --- a/gdk4/src/auto/event.rs +++ b/gdk4/src/auto/event.rs @@ -3,8 +3,8 @@ // DO NOT EDIT use crate::{ - AxisUse, Device, DeviceTool, Display, EventSequence, EventType, ModifierType, Seat, Surface, - TimeCoord, + ffi, AxisUse, Device, DeviceTool, Display, EventSequence, EventType, ModifierType, Seat, + Surface, TimeCoord, }; use glib::{prelude::*, translate::*}; diff --git a/gdk4/src/auto/event_sequence.rs b/gdk4/src/auto/event_sequence.rs index f7b3914d973f..881f099ee87d 100644 --- a/gdk4/src/auto/event_sequence.rs +++ b/gdk4/src/auto/event_sequence.rs @@ -2,6 +2,8 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT +use crate::ffi; + glib::wrapper! { #[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash)] pub struct EventSequence(Boxed); diff --git a/gdk4/src/auto/file_list.rs b/gdk4/src/auto/file_list.rs index b9396fb49f2d..0624e4c45364 100644 --- a/gdk4/src/auto/file_list.rs +++ b/gdk4/src/auto/file_list.rs @@ -2,6 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT +use crate::ffi; use glib::translate::*; glib::wrapper! { diff --git a/gdk4/src/auto/flags.rs b/gdk4/src/auto/flags.rs index 9bef2cd25318..fdc72d3810dc 100644 --- a/gdk4/src/auto/flags.rs +++ b/gdk4/src/auto/flags.rs @@ -2,6 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT +use crate::ffi; use glib::{bitflags::bitflags, prelude::*, translate::*}; bitflags! { diff --git a/gdk4/src/auto/focus_event.rs b/gdk4/src/auto/focus_event.rs index 80f27e638b60..573ddb06b050 100644 --- a/gdk4/src/auto/focus_event.rs +++ b/gdk4/src/auto/focus_event.rs @@ -2,6 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT +use crate::ffi; use glib::{prelude::*, translate::*}; glib::wrapper! { diff --git a/gdk4/src/auto/frame_clock.rs b/gdk4/src/auto/frame_clock.rs index 8e8bb374ce3f..774c61a9ee2a 100644 --- a/gdk4/src/auto/frame_clock.rs +++ b/gdk4/src/auto/frame_clock.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::{FrameClockPhase, FrameTimings}; +use crate::{ffi, FrameClockPhase, FrameTimings}; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, diff --git a/gdk4/src/auto/frame_timings.rs b/gdk4/src/auto/frame_timings.rs index 834dbed66cf8..2909ff36b686 100644 --- a/gdk4/src/auto/frame_timings.rs +++ b/gdk4/src/auto/frame_timings.rs @@ -2,6 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT +use crate::ffi; use glib::translate::*; glib::wrapper! { diff --git a/gdk4/src/auto/functions.rs b/gdk4/src/auto/functions.rs index f368df0a21fe..7de23c2b77af 100644 --- a/gdk4/src/auto/functions.rs +++ b/gdk4/src/auto/functions.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::Texture; +use crate::{ffi, Texture}; use glib::{prelude::*, translate::*}; #[doc(alias = "gdk_intern_mime_type")] diff --git a/gdk4/src/auto/gl_context.rs b/gdk4/src/auto/gl_context.rs index 91c791b176d8..456c21399183 100644 --- a/gdk4/src/auto/gl_context.rs +++ b/gdk4/src/auto/gl_context.rs @@ -6,7 +6,7 @@ #[cfg(feature = "v4_6")] #[cfg_attr(docsrs, doc(cfg(feature = "v4_6")))] use crate::GLAPI; -use crate::{Display, DrawContext, Surface}; +use crate::{ffi, Display, DrawContext, Surface}; #[cfg(feature = "v4_6")] #[cfg_attr(docsrs, doc(cfg(feature = "v4_6")))] use glib::signal::{connect_raw, SignalHandlerId}; diff --git a/gdk4/src/auto/gl_texture.rs b/gdk4/src/auto/gl_texture.rs index 080789862f44..318c518024be 100644 --- a/gdk4/src/auto/gl_texture.rs +++ b/gdk4/src/auto/gl_texture.rs @@ -3,7 +3,7 @@ // DO NOT EDIT #![allow(deprecated)] -use crate::{Paintable, Texture}; +use crate::{ffi, Paintable, Texture}; use glib::translate::*; glib::wrapper! { diff --git a/gdk4/src/auto/gl_texture_builder.rs b/gdk4/src/auto/gl_texture_builder.rs index d1518d69cb48..c43f2bf9b0c9 100644 --- a/gdk4/src/auto/gl_texture_builder.rs +++ b/gdk4/src/auto/gl_texture_builder.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::{GLContext, MemoryFormat, Texture}; +use crate::{ffi, GLContext, MemoryFormat, Texture}; use glib::translate::*; glib::wrapper! { diff --git a/gdk4/src/auto/grab_broken_event.rs b/gdk4/src/auto/grab_broken_event.rs index 293e1f390ede..02232bc764b7 100644 --- a/gdk4/src/auto/grab_broken_event.rs +++ b/gdk4/src/auto/grab_broken_event.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::Surface; +use crate::{ffi, Surface}; use glib::{prelude::*, translate::*}; glib::wrapper! { diff --git a/gdk4/src/auto/key_event.rs b/gdk4/src/auto/key_event.rs index 81ea35062b4c..7624d6841b55 100644 --- a/gdk4/src/auto/key_event.rs +++ b/gdk4/src/auto/key_event.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::ModifierType; +use crate::{ffi, ModifierType}; use glib::{prelude::*, translate::*}; glib::wrapper! { diff --git a/gdk4/src/auto/memory_texture.rs b/gdk4/src/auto/memory_texture.rs index 9b80ca781e6d..ac7a0a9e1f53 100644 --- a/gdk4/src/auto/memory_texture.rs +++ b/gdk4/src/auto/memory_texture.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::{MemoryFormat, Paintable, Texture}; +use crate::{ffi, MemoryFormat, Paintable, Texture}; use glib::translate::*; glib::wrapper! { diff --git a/gdk4/src/auto/monitor.rs b/gdk4/src/auto/monitor.rs index 02ad58b29892..1fe0dc49db43 100644 --- a/gdk4/src/auto/monitor.rs +++ b/gdk4/src/auto/monitor.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::{Display, Rectangle, SubpixelLayout}; +use crate::{ffi, Display, Rectangle, SubpixelLayout}; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, diff --git a/gdk4/src/auto/motion_event.rs b/gdk4/src/auto/motion_event.rs index 2e086e876550..85aab82db64d 100644 --- a/gdk4/src/auto/motion_event.rs +++ b/gdk4/src/auto/motion_event.rs @@ -2,6 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT +use crate::ffi; use glib::{prelude::*, translate::*}; glib::wrapper! { diff --git a/gdk4/src/auto/pad_event.rs b/gdk4/src/auto/pad_event.rs index c48162cb0f58..b85984d781a4 100644 --- a/gdk4/src/auto/pad_event.rs +++ b/gdk4/src/auto/pad_event.rs @@ -2,6 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT +use crate::ffi; use glib::{prelude::*, translate::*}; glib::wrapper! { diff --git a/gdk4/src/auto/paintable.rs b/gdk4/src/auto/paintable.rs index fa0077e76d4a..e36d2fc7ef24 100644 --- a/gdk4/src/auto/paintable.rs +++ b/gdk4/src/auto/paintable.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::{PaintableFlags, Snapshot}; +use crate::{ffi, PaintableFlags, Snapshot}; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, diff --git a/gdk4/src/auto/popup.rs b/gdk4/src/auto/popup.rs index 81494ae94283..58758e853289 100644 --- a/gdk4/src/auto/popup.rs +++ b/gdk4/src/auto/popup.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::{Gravity, PopupLayout, Surface}; +use crate::{ffi, Gravity, PopupLayout, Surface}; use glib::{prelude::*, translate::*}; glib::wrapper! { diff --git a/gdk4/src/auto/popup_layout.rs b/gdk4/src/auto/popup_layout.rs index 2e5f50404f0b..ee6c26c93d73 100644 --- a/gdk4/src/auto/popup_layout.rs +++ b/gdk4/src/auto/popup_layout.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::{AnchorHints, Gravity, Rectangle}; +use crate::{ffi, AnchorHints, Gravity, Rectangle}; use glib::translate::*; glib::wrapper! { diff --git a/gdk4/src/auto/proximity_event.rs b/gdk4/src/auto/proximity_event.rs index 89b1e93bd321..bf6cfc473cd2 100644 --- a/gdk4/src/auto/proximity_event.rs +++ b/gdk4/src/auto/proximity_event.rs @@ -2,6 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT +use crate::ffi; use glib::{prelude::*, translate::*}; glib::wrapper! { diff --git a/gdk4/src/auto/rectangle.rs b/gdk4/src/auto/rectangle.rs index 3e1b7c0e1a28..dfe76c7a3602 100644 --- a/gdk4/src/auto/rectangle.rs +++ b/gdk4/src/auto/rectangle.rs @@ -2,6 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT +use crate::ffi; use glib::translate::*; glib::wrapper! { diff --git a/gdk4/src/auto/rgba.rs b/gdk4/src/auto/rgba.rs index bb4ac49447ce..861fa1cb5938 100644 --- a/gdk4/src/auto/rgba.rs +++ b/gdk4/src/auto/rgba.rs @@ -2,6 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT +use crate::ffi; use glib::translate::*; glib::wrapper! { diff --git a/gdk4/src/auto/scroll_event.rs b/gdk4/src/auto/scroll_event.rs index 0857faed1f97..0df7bb51c49d 100644 --- a/gdk4/src/auto/scroll_event.rs +++ b/gdk4/src/auto/scroll_event.rs @@ -2,10 +2,10 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::ScrollDirection; #[cfg(feature = "v4_8")] #[cfg_attr(docsrs, doc(cfg(feature = "v4_8")))] use crate::ScrollUnit; +use crate::{ffi, ScrollDirection}; use glib::{prelude::*, translate::*}; glib::wrapper! { diff --git a/gdk4/src/auto/seat.rs b/gdk4/src/auto/seat.rs index feadcba26257..eb55df9ec4b7 100644 --- a/gdk4/src/auto/seat.rs +++ b/gdk4/src/auto/seat.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::{Device, DeviceTool, Display, SeatCapabilities}; +use crate::{ffi, Device, DeviceTool, Display, SeatCapabilities}; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, diff --git a/gdk4/src/auto/snapshot.rs b/gdk4/src/auto/snapshot.rs index 1579a656cc94..1c3fd11697ba 100644 --- a/gdk4/src/auto/snapshot.rs +++ b/gdk4/src/auto/snapshot.rs @@ -2,6 +2,8 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT +use crate::ffi; + glib::wrapper! { #[doc(alias = "GdkSnapshot")] pub struct Snapshot(Object); diff --git a/gdk4/src/auto/surface.rs b/gdk4/src/auto/surface.rs index a033853e929d..331d4834b197 100644 --- a/gdk4/src/auto/surface.rs +++ b/gdk4/src/auto/surface.rs @@ -4,8 +4,8 @@ #![allow(deprecated)] use crate::{ - CairoContext, Cursor, Device, Display, Event, FrameClock, GLContext, ModifierType, Monitor, - VulkanContext, + ffi, CairoContext, Cursor, Device, Display, Event, FrameClock, GLContext, ModifierType, + Monitor, VulkanContext, }; use glib::{ prelude::*, diff --git a/gdk4/src/auto/texture.rs b/gdk4/src/auto/texture.rs index 7668dcecbfda..7ddd9db55a5c 100644 --- a/gdk4/src/auto/texture.rs +++ b/gdk4/src/auto/texture.rs @@ -5,7 +5,7 @@ #[cfg(feature = "v4_10")] #[cfg_attr(docsrs, doc(cfg(feature = "v4_10")))] use crate::MemoryFormat; -use crate::Paintable; +use crate::{ffi, Paintable}; use glib::{prelude::*, translate::*}; glib::wrapper! { diff --git a/gdk4/src/auto/texture_downloader.rs b/gdk4/src/auto/texture_downloader.rs index 45a759c040ac..88491a590734 100644 --- a/gdk4/src/auto/texture_downloader.rs +++ b/gdk4/src/auto/texture_downloader.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::{MemoryFormat, Texture}; +use crate::{ffi, MemoryFormat, Texture}; use glib::{prelude::*, translate::*}; glib::wrapper! { diff --git a/gdk4/src/auto/toplevel.rs b/gdk4/src/auto/toplevel.rs index 407d65cac2cf..ead947337e4e 100644 --- a/gdk4/src/auto/toplevel.rs +++ b/gdk4/src/auto/toplevel.rs @@ -6,7 +6,8 @@ #[cfg_attr(docsrs, doc(cfg(feature = "v4_4")))] use crate::TitlebarGesture; use crate::{ - Device, Event, FullscreenMode, Surface, SurfaceEdge, Texture, ToplevelLayout, ToplevelState, + ffi, Device, Event, FullscreenMode, Surface, SurfaceEdge, Texture, ToplevelLayout, + ToplevelState, }; use glib::{ prelude::*, diff --git a/gdk4/src/auto/toplevel_layout.rs b/gdk4/src/auto/toplevel_layout.rs index cc37964bb847..aadf8d03245a 100644 --- a/gdk4/src/auto/toplevel_layout.rs +++ b/gdk4/src/auto/toplevel_layout.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::Monitor; +use crate::{ffi, Monitor}; use glib::{prelude::*, translate::*}; glib::wrapper! { diff --git a/gdk4/src/auto/touch_event.rs b/gdk4/src/auto/touch_event.rs index fca9fa562b65..328fb7d8ee4a 100644 --- a/gdk4/src/auto/touch_event.rs +++ b/gdk4/src/auto/touch_event.rs @@ -2,6 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT +use crate::ffi; use glib::{prelude::*, translate::*}; glib::wrapper! { diff --git a/gdk4/src/auto/touchpad_event.rs b/gdk4/src/auto/touchpad_event.rs index 101bd79cc568..e499102e9bae 100644 --- a/gdk4/src/auto/touchpad_event.rs +++ b/gdk4/src/auto/touchpad_event.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::TouchpadGesturePhase; +use crate::{ffi, TouchpadGesturePhase}; use glib::{prelude::*, translate::*}; glib::wrapper! { diff --git a/gdk4/src/auto/versions.txt b/gdk4/src/auto/versions.txt index 4a36b94f29b0..b9c34635d65d 100644 --- a/gdk4/src/auto/versions.txt +++ b/gdk4/src/auto/versions.txt @@ -1,2 +1,2 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 839b834456d2) +Generated by gir (https://github.com/gtk-rs/gir @ 3191f1ad2c59) from gir-files (https://github.com/gtk-rs/gir-files @ 74aa91d9063d) diff --git a/gdk4/src/auto/vulkan_context.rs b/gdk4/src/auto/vulkan_context.rs index bde434883875..9beacf914a87 100644 --- a/gdk4/src/auto/vulkan_context.rs +++ b/gdk4/src/auto/vulkan_context.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::DrawContext; +use crate::{ffi, DrawContext}; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, diff --git a/gdk4/sys/versions.txt b/gdk4/sys/versions.txt index 4a36b94f29b0..b9c34635d65d 100644 --- a/gdk4/sys/versions.txt +++ b/gdk4/sys/versions.txt @@ -1,2 +1,2 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 839b834456d2) +Generated by gir (https://github.com/gtk-rs/gir @ 3191f1ad2c59) from gir-files (https://github.com/gtk-rs/gir-files @ 74aa91d9063d) diff --git a/gsk4/src/auto/blend_node.rs b/gsk4/src/auto/blend_node.rs index 8651f021c34f..5914ba608678 100644 --- a/gsk4/src/auto/blend_node.rs +++ b/gsk4/src/auto/blend_node.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::{BlendMode, RenderNode}; +use crate::{ffi, BlendMode, RenderNode}; use glib::{prelude::*, translate::*}; glib::wrapper! { diff --git a/gsk4/src/auto/blur_node.rs b/gsk4/src/auto/blur_node.rs index a443a5f8c4ab..fa2a3bd04c42 100644 --- a/gsk4/src/auto/blur_node.rs +++ b/gsk4/src/auto/blur_node.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::RenderNode; +use crate::{ffi, RenderNode}; use glib::{prelude::*, translate::*}; glib::wrapper! { diff --git a/gsk4/src/auto/border_node.rs b/gsk4/src/auto/border_node.rs index 790cea3307d7..0b07f9f08888 100644 --- a/gsk4/src/auto/border_node.rs +++ b/gsk4/src/auto/border_node.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::RoundedRect; +use crate::{ffi, RoundedRect}; use glib::{prelude::*, translate::*}; glib::wrapper! { diff --git a/gsk4/src/auto/broadway_renderer.rs b/gsk4/src/auto/broadway_renderer.rs index 6fbcf1ee65e7..cfbe41525229 100644 --- a/gsk4/src/auto/broadway_renderer.rs +++ b/gsk4/src/auto/broadway_renderer.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::Renderer; +use crate::{ffi, Renderer}; use glib::{prelude::*, translate::*}; glib::wrapper! { diff --git a/gsk4/src/auto/cairo_node.rs b/gsk4/src/auto/cairo_node.rs index f6117478cf35..bec1b9e27daf 100644 --- a/gsk4/src/auto/cairo_node.rs +++ b/gsk4/src/auto/cairo_node.rs @@ -2,6 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT +use crate::ffi; use glib::{prelude::*, translate::*}; glib::wrapper! { diff --git a/gsk4/src/auto/cairo_renderer.rs b/gsk4/src/auto/cairo_renderer.rs index ed53efa815e1..6f834b70e5b5 100644 --- a/gsk4/src/auto/cairo_renderer.rs +++ b/gsk4/src/auto/cairo_renderer.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::Renderer; +use crate::{ffi, Renderer}; use glib::{prelude::*, translate::*}; glib::wrapper! { diff --git a/gsk4/src/auto/clip_node.rs b/gsk4/src/auto/clip_node.rs index d7a61728e5b7..229f8cd171c3 100644 --- a/gsk4/src/auto/clip_node.rs +++ b/gsk4/src/auto/clip_node.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::RenderNode; +use crate::{ffi, RenderNode}; use glib::{prelude::*, translate::*}; glib::wrapper! { diff --git a/gsk4/src/auto/color_matrix_node.rs b/gsk4/src/auto/color_matrix_node.rs index e963ad32bc50..2b26efaea838 100644 --- a/gsk4/src/auto/color_matrix_node.rs +++ b/gsk4/src/auto/color_matrix_node.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::RenderNode; +use crate::{ffi, RenderNode}; use glib::{prelude::*, translate::*}; glib::wrapper! { diff --git a/gsk4/src/auto/color_node.rs b/gsk4/src/auto/color_node.rs index af99c83149be..ffa2ad9dfb07 100644 --- a/gsk4/src/auto/color_node.rs +++ b/gsk4/src/auto/color_node.rs @@ -2,6 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT +use crate::ffi; use glib::{prelude::*, translate::*}; glib::wrapper! { diff --git a/gsk4/src/auto/conic_gradient_node.rs b/gsk4/src/auto/conic_gradient_node.rs index fdc9b0e0097e..59ec36a7e16f 100644 --- a/gsk4/src/auto/conic_gradient_node.rs +++ b/gsk4/src/auto/conic_gradient_node.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::ColorStop; +use crate::{ffi, ColorStop}; use glib::{prelude::*, translate::*}; glib::wrapper! { diff --git a/gsk4/src/auto/container_node.rs b/gsk4/src/auto/container_node.rs index 7a855279ef97..0fa1225d4bd0 100644 --- a/gsk4/src/auto/container_node.rs +++ b/gsk4/src/auto/container_node.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::RenderNode; +use crate::{ffi, RenderNode}; use glib::{prelude::*, translate::*}; glib::wrapper! { diff --git a/gsk4/src/auto/cross_fade_node.rs b/gsk4/src/auto/cross_fade_node.rs index caf99538a388..60b015ffcd5c 100644 --- a/gsk4/src/auto/cross_fade_node.rs +++ b/gsk4/src/auto/cross_fade_node.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::RenderNode; +use crate::{ffi, RenderNode}; use glib::{prelude::*, translate::*}; glib::wrapper! { diff --git a/gsk4/src/auto/debug_node.rs b/gsk4/src/auto/debug_node.rs index bc0f6524836e..c6d5e49b455b 100644 --- a/gsk4/src/auto/debug_node.rs +++ b/gsk4/src/auto/debug_node.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::RenderNode; +use crate::{ffi, RenderNode}; use glib::{prelude::*, translate::*}; glib::wrapper! { diff --git a/gsk4/src/auto/enums.rs b/gsk4/src/auto/enums.rs index 70f4d818bc2a..0dd62dbdaf23 100644 --- a/gsk4/src/auto/enums.rs +++ b/gsk4/src/auto/enums.rs @@ -2,6 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT +use crate::ffi; use glib::{prelude::*, translate::*}; #[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)] diff --git a/gsk4/src/auto/fill_node.rs b/gsk4/src/auto/fill_node.rs index d4de2b21c48f..ad372fd290ad 100644 --- a/gsk4/src/auto/fill_node.rs +++ b/gsk4/src/auto/fill_node.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::{FillRule, Path, RenderNode}; +use crate::{ffi, FillRule, Path, RenderNode}; use glib::{prelude::*, translate::*}; glib::wrapper! { diff --git a/gsk4/src/auto/flags.rs b/gsk4/src/auto/flags.rs index f81814ce65d3..1c4c5cfa1373 100644 --- a/gsk4/src/auto/flags.rs +++ b/gsk4/src/auto/flags.rs @@ -2,6 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT +use crate::ffi; #[cfg(feature = "v4_14")] #[cfg_attr(docsrs, doc(cfg(feature = "v4_14")))] use glib::{bitflags::bitflags, prelude::*, translate::*}; diff --git a/gsk4/src/auto/gl_renderer.rs b/gsk4/src/auto/gl_renderer.rs index b0bb5f53dd60..6a3cd413ca2e 100644 --- a/gsk4/src/auto/gl_renderer.rs +++ b/gsk4/src/auto/gl_renderer.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::Renderer; +use crate::{ffi, Renderer}; #[cfg(feature = "v4_2")] #[cfg_attr(docsrs, doc(cfg(feature = "v4_2")))] use glib::{prelude::*, translate::*}; diff --git a/gsk4/src/auto/gl_shader.rs b/gsk4/src/auto/gl_shader.rs index d331f5b2bf34..cca2d83d1c9f 100644 --- a/gsk4/src/auto/gl_shader.rs +++ b/gsk4/src/auto/gl_shader.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::{GLUniformType, Renderer}; +use crate::{ffi, GLUniformType, Renderer}; use glib::{prelude::*, translate::*}; glib::wrapper! { diff --git a/gsk4/src/auto/gl_shader_node.rs b/gsk4/src/auto/gl_shader_node.rs index 75c309e711ad..1aa0bca247d6 100644 --- a/gsk4/src/auto/gl_shader_node.rs +++ b/gsk4/src/auto/gl_shader_node.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::{GLShader, RenderNode}; +use crate::{ffi, GLShader, RenderNode}; use glib::{prelude::*, translate::*}; glib::wrapper! { diff --git a/gsk4/src/auto/inset_shadow_node.rs b/gsk4/src/auto/inset_shadow_node.rs index 8e95129fe0db..ba86f6ed3306 100644 --- a/gsk4/src/auto/inset_shadow_node.rs +++ b/gsk4/src/auto/inset_shadow_node.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::RoundedRect; +use crate::{ffi, RoundedRect}; use glib::{prelude::*, translate::*}; glib::wrapper! { diff --git a/gsk4/src/auto/linear_gradient_node.rs b/gsk4/src/auto/linear_gradient_node.rs index 80acc32ded50..f2cfce7a7daf 100644 --- a/gsk4/src/auto/linear_gradient_node.rs +++ b/gsk4/src/auto/linear_gradient_node.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::ColorStop; +use crate::{ffi, ColorStop}; use glib::{prelude::*, translate::*}; glib::wrapper! { diff --git a/gsk4/src/auto/mask_node.rs b/gsk4/src/auto/mask_node.rs index 0a6c01c24b3b..fc2f83048285 100644 --- a/gsk4/src/auto/mask_node.rs +++ b/gsk4/src/auto/mask_node.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::{MaskMode, RenderNode}; +use crate::{ffi, MaskMode, RenderNode}; use glib::{prelude::*, translate::*}; glib::wrapper! { diff --git a/gsk4/src/auto/opacity_node.rs b/gsk4/src/auto/opacity_node.rs index 25ecd725c2d0..b9816fc0d249 100644 --- a/gsk4/src/auto/opacity_node.rs +++ b/gsk4/src/auto/opacity_node.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::RenderNode; +use crate::{ffi, RenderNode}; use glib::{prelude::*, translate::*}; glib::wrapper! { diff --git a/gsk4/src/auto/outset_shadow_node.rs b/gsk4/src/auto/outset_shadow_node.rs index f9e8a20d71b8..cd906ddb69ae 100644 --- a/gsk4/src/auto/outset_shadow_node.rs +++ b/gsk4/src/auto/outset_shadow_node.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::RoundedRect; +use crate::{ffi, RoundedRect}; use glib::{prelude::*, translate::*}; glib::wrapper! { diff --git a/gsk4/src/auto/path.rs b/gsk4/src/auto/path.rs index 44fd320b8624..8803aa0b00ed 100644 --- a/gsk4/src/auto/path.rs +++ b/gsk4/src/auto/path.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::{FillRule, PathPoint, Stroke}; +use crate::{ffi, FillRule, PathPoint, Stroke}; use glib::translate::*; glib::wrapper! { diff --git a/gsk4/src/auto/path_builder.rs b/gsk4/src/auto/path_builder.rs index 9946e6ae5e8a..84d9b512313e 100644 --- a/gsk4/src/auto/path_builder.rs +++ b/gsk4/src/auto/path_builder.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::{Path, PathPoint, RoundedRect}; +use crate::{ffi, Path, PathPoint, RoundedRect}; use glib::translate::*; glib::wrapper! { diff --git a/gsk4/src/auto/path_measure.rs b/gsk4/src/auto/path_measure.rs index 0dd308328f23..bec89441229b 100644 --- a/gsk4/src/auto/path_measure.rs +++ b/gsk4/src/auto/path_measure.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::{Path, PathPoint}; +use crate::{ffi, Path, PathPoint}; use glib::translate::*; glib::wrapper! { diff --git a/gsk4/src/auto/path_point.rs b/gsk4/src/auto/path_point.rs index ef440b9f6b81..59496cc1fed0 100644 --- a/gsk4/src/auto/path_point.rs +++ b/gsk4/src/auto/path_point.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::{Path, PathDirection, PathMeasure}; +use crate::{ffi, Path, PathDirection, PathMeasure}; use glib::translate::*; glib::wrapper! { diff --git a/gsk4/src/auto/radial_gradient_node.rs b/gsk4/src/auto/radial_gradient_node.rs index df42676c3c20..eb22b78402fe 100644 --- a/gsk4/src/auto/radial_gradient_node.rs +++ b/gsk4/src/auto/radial_gradient_node.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::ColorStop; +use crate::{ffi, ColorStop}; use glib::{prelude::*, translate::*}; glib::wrapper! { diff --git a/gsk4/src/auto/render_node.rs b/gsk4/src/auto/render_node.rs index 56ae052dd17d..9f220fbcecda 100644 --- a/gsk4/src/auto/render_node.rs +++ b/gsk4/src/auto/render_node.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::RenderNodeType; +use crate::{ffi, RenderNodeType}; use glib::{prelude::*, translate::*}; glib::wrapper! { diff --git a/gsk4/src/auto/renderer.rs b/gsk4/src/auto/renderer.rs index a8b0d9967447..94c9d8bc9db6 100644 --- a/gsk4/src/auto/renderer.rs +++ b/gsk4/src/auto/renderer.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::RenderNode; +use crate::{ffi, RenderNode}; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, diff --git a/gsk4/src/auto/repeat_node.rs b/gsk4/src/auto/repeat_node.rs index 888e8fc3a461..55a31004491e 100644 --- a/gsk4/src/auto/repeat_node.rs +++ b/gsk4/src/auto/repeat_node.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::RenderNode; +use crate::{ffi, RenderNode}; use glib::{prelude::*, translate::*}; glib::wrapper! { diff --git a/gsk4/src/auto/repeating_linear_gradient_node.rs b/gsk4/src/auto/repeating_linear_gradient_node.rs index d56aa05e01bf..a373d20cb137 100644 --- a/gsk4/src/auto/repeating_linear_gradient_node.rs +++ b/gsk4/src/auto/repeating_linear_gradient_node.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::ColorStop; +use crate::{ffi, ColorStop}; use glib::{prelude::*, translate::*}; glib::wrapper! { diff --git a/gsk4/src/auto/repeating_radial_gradient_node.rs b/gsk4/src/auto/repeating_radial_gradient_node.rs index de04f8f392f2..e3025c7f79c1 100644 --- a/gsk4/src/auto/repeating_radial_gradient_node.rs +++ b/gsk4/src/auto/repeating_radial_gradient_node.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::ColorStop; +use crate::{ffi, ColorStop}; use glib::{prelude::*, translate::*}; glib::wrapper! { diff --git a/gsk4/src/auto/rounded_clip_node.rs b/gsk4/src/auto/rounded_clip_node.rs index b9a27fe1e72e..f71b8bd8a7d6 100644 --- a/gsk4/src/auto/rounded_clip_node.rs +++ b/gsk4/src/auto/rounded_clip_node.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::{RenderNode, RoundedRect}; +use crate::{ffi, RenderNode, RoundedRect}; use glib::{prelude::*, translate::*}; glib::wrapper! { diff --git a/gsk4/src/auto/shader_args_builder.rs b/gsk4/src/auto/shader_args_builder.rs index e598e6e9fff1..2421041b8a82 100644 --- a/gsk4/src/auto/shader_args_builder.rs +++ b/gsk4/src/auto/shader_args_builder.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::GLShader; +use crate::{ffi, GLShader}; use glib::translate::*; glib::wrapper! { diff --git a/gsk4/src/auto/shadow_node.rs b/gsk4/src/auto/shadow_node.rs index 581b079efa83..cb9763c052a0 100644 --- a/gsk4/src/auto/shadow_node.rs +++ b/gsk4/src/auto/shadow_node.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::{RenderNode, Shadow}; +use crate::{ffi, RenderNode, Shadow}; use glib::{prelude::*, translate::*}; glib::wrapper! { diff --git a/gsk4/src/auto/stroke.rs b/gsk4/src/auto/stroke.rs index 8e560eda3fd0..1d66796a33d7 100644 --- a/gsk4/src/auto/stroke.rs +++ b/gsk4/src/auto/stroke.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::{LineCap, LineJoin}; +use crate::{ffi, LineCap, LineJoin}; use glib::translate::*; glib::wrapper! { diff --git a/gsk4/src/auto/stroke_node.rs b/gsk4/src/auto/stroke_node.rs index eecd5be88a52..adb6322b2641 100644 --- a/gsk4/src/auto/stroke_node.rs +++ b/gsk4/src/auto/stroke_node.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::{Path, RenderNode, Stroke}; +use crate::{ffi, Path, RenderNode, Stroke}; use glib::{prelude::*, translate::*}; glib::wrapper! { diff --git a/gsk4/src/auto/text_node.rs b/gsk4/src/auto/text_node.rs index 0e61ed5c8e5f..a81f4e8a8d2c 100644 --- a/gsk4/src/auto/text_node.rs +++ b/gsk4/src/auto/text_node.rs @@ -2,6 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT +use crate::ffi; use glib::{prelude::*, translate::*}; glib::wrapper! { diff --git a/gsk4/src/auto/texture_node.rs b/gsk4/src/auto/texture_node.rs index 1814c4c5d8eb..ae939f86ab64 100644 --- a/gsk4/src/auto/texture_node.rs +++ b/gsk4/src/auto/texture_node.rs @@ -2,6 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT +use crate::ffi; use glib::{prelude::*, translate::*}; glib::wrapper! { diff --git a/gsk4/src/auto/texture_scale_node.rs b/gsk4/src/auto/texture_scale_node.rs index beda5a09c674..fc11dfe3dffb 100644 --- a/gsk4/src/auto/texture_scale_node.rs +++ b/gsk4/src/auto/texture_scale_node.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::ScalingFilter; +use crate::{ffi, ScalingFilter}; use glib::{prelude::*, translate::*}; glib::wrapper! { diff --git a/gsk4/src/auto/transform.rs b/gsk4/src/auto/transform.rs index 1c02b15a2dd2..c8f512bba421 100644 --- a/gsk4/src/auto/transform.rs +++ b/gsk4/src/auto/transform.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::TransformCategory; +use crate::{ffi, TransformCategory}; use glib::translate::*; glib::wrapper! { diff --git a/gsk4/src/auto/transform_node.rs b/gsk4/src/auto/transform_node.rs index 290f82e1591f..61b05d9d143b 100644 --- a/gsk4/src/auto/transform_node.rs +++ b/gsk4/src/auto/transform_node.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::{RenderNode, Transform}; +use crate::{ffi, RenderNode, Transform}; use glib::{prelude::*, translate::*}; glib::wrapper! { diff --git a/gsk4/src/auto/versions.txt b/gsk4/src/auto/versions.txt index 4a36b94f29b0..b9c34635d65d 100644 --- a/gsk4/src/auto/versions.txt +++ b/gsk4/src/auto/versions.txt @@ -1,2 +1,2 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 839b834456d2) +Generated by gir (https://github.com/gtk-rs/gir @ 3191f1ad2c59) from gir-files (https://github.com/gtk-rs/gir-files @ 74aa91d9063d) diff --git a/gsk4/src/auto/vulkan_renderer.rs b/gsk4/src/auto/vulkan_renderer.rs index 19317182d887..186721a5f493 100644 --- a/gsk4/src/auto/vulkan_renderer.rs +++ b/gsk4/src/auto/vulkan_renderer.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::Renderer; +use crate::{ffi, Renderer}; use glib::{prelude::*, translate::*}; glib::wrapper! { diff --git a/gsk4/sys/versions.txt b/gsk4/sys/versions.txt index 4a36b94f29b0..b9c34635d65d 100644 --- a/gsk4/sys/versions.txt +++ b/gsk4/sys/versions.txt @@ -1,2 +1,2 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 839b834456d2) +Generated by gir (https://github.com/gtk-rs/gir @ 3191f1ad2c59) from gir-files (https://github.com/gtk-rs/gir-files @ 74aa91d9063d) diff --git a/gtk4/src/auto/about_dialog.rs b/gtk4/src/auto/about_dialog.rs index 4c46961820e3..c01bf50f2a8a 100644 --- a/gtk4/src/auto/about_dialog.rs +++ b/gtk4/src/auto/about_dialog.rs @@ -3,8 +3,8 @@ // DO NOT EDIT use crate::{ - Accessible, AccessibleRole, Align, Application, Buildable, ConstraintTarget, LayoutManager, - License, Native, Overflow, Root, ShortcutManager, Widget, Window, + ffi, Accessible, AccessibleRole, Align, Application, Buildable, ConstraintTarget, + LayoutManager, License, Native, Overflow, Root, ShortcutManager, Widget, Window, }; use glib::{ prelude::*, diff --git a/gtk4/src/auto/accessible.rs b/gtk4/src/auto/accessible.rs index ebc3ea0371b8..dd6dea180fee 100644 --- a/gtk4/src/auto/accessible.rs +++ b/gtk4/src/auto/accessible.rs @@ -5,10 +5,10 @@ #[cfg(feature = "v4_14")] #[cfg_attr(docsrs, doc(cfg(feature = "v4_14")))] use crate::AccessibleAnnouncementPriority; +use crate::{ffi, AccessibleProperty, AccessibleRelation, AccessibleRole, AccessibleState}; #[cfg(feature = "v4_10")] #[cfg_attr(docsrs, doc(cfg(feature = "v4_10")))] use crate::{ATContext, AccessiblePlatformState}; -use crate::{AccessibleProperty, AccessibleRelation, AccessibleRole, AccessibleState}; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, diff --git a/gtk4/src/auto/accessible_list.rs b/gtk4/src/auto/accessible_list.rs index e3b9955fb5f7..3f6e38e005b6 100644 --- a/gtk4/src/auto/accessible_list.rs +++ b/gtk4/src/auto/accessible_list.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::Accessible; +use crate::{ffi, Accessible}; use glib::translate::*; glib::wrapper! { diff --git a/gtk4/src/auto/accessible_range.rs b/gtk4/src/auto/accessible_range.rs index c648348e759a..bd1afac158b1 100644 --- a/gtk4/src/auto/accessible_range.rs +++ b/gtk4/src/auto/accessible_range.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::Accessible; +use crate::{ffi, Accessible}; use glib::prelude::*; glib::wrapper! { diff --git a/gtk4/src/auto/accessible_text.rs b/gtk4/src/auto/accessible_text.rs index e820b748f498..c7614d927723 100644 --- a/gtk4/src/auto/accessible_text.rs +++ b/gtk4/src/auto/accessible_text.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::{Accessible, AccessibleTextContentChange}; +use crate::{ffi, Accessible, AccessibleTextContentChange}; use glib::{prelude::*, translate::*}; glib::wrapper! { diff --git a/gtk4/src/auto/action_bar.rs b/gtk4/src/auto/action_bar.rs index ab72477c2087..b16714d778a5 100644 --- a/gtk4/src/auto/action_bar.rs +++ b/gtk4/src/auto/action_bar.rs @@ -3,7 +3,8 @@ // DO NOT EDIT use crate::{ - Accessible, AccessibleRole, Align, Buildable, ConstraintTarget, LayoutManager, Overflow, Widget, + ffi, Accessible, AccessibleRole, Align, Buildable, ConstraintTarget, LayoutManager, Overflow, + Widget, }; use glib::{ prelude::*, diff --git a/gtk4/src/auto/actionable.rs b/gtk4/src/auto/actionable.rs index 053aa07d1fcc..71c33f0b6f51 100644 --- a/gtk4/src/auto/actionable.rs +++ b/gtk4/src/auto/actionable.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::{Accessible, Buildable, ConstraintTarget, Widget}; +use crate::{ffi, Accessible, Buildable, ConstraintTarget, Widget}; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, diff --git a/gtk4/src/auto/activate_action.rs b/gtk4/src/auto/activate_action.rs index 6fc08820a2ba..fb58800dee77 100644 --- a/gtk4/src/auto/activate_action.rs +++ b/gtk4/src/auto/activate_action.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::ShortcutAction; +use crate::{ffi, ShortcutAction}; use glib::translate::*; glib::wrapper! { diff --git a/gtk4/src/auto/adjustment.rs b/gtk4/src/auto/adjustment.rs index 3639a23636db..8df52c289a7d 100644 --- a/gtk4/src/auto/adjustment.rs +++ b/gtk4/src/auto/adjustment.rs @@ -2,6 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT +use crate::ffi; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, diff --git a/gtk4/src/auto/alert_dialog.rs b/gtk4/src/auto/alert_dialog.rs index 1bf285ac814d..7da02c5d738f 100644 --- a/gtk4/src/auto/alert_dialog.rs +++ b/gtk4/src/auto/alert_dialog.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::Window; +use crate::{ffi, Window}; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, diff --git a/gtk4/src/auto/alternative_trigger.rs b/gtk4/src/auto/alternative_trigger.rs index 873c948da8db..687a43ae3e15 100644 --- a/gtk4/src/auto/alternative_trigger.rs +++ b/gtk4/src/auto/alternative_trigger.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::ShortcutTrigger; +use crate::{ffi, ShortcutTrigger}; use glib::{prelude::*, translate::*}; glib::wrapper! { diff --git a/gtk4/src/auto/any_filter.rs b/gtk4/src/auto/any_filter.rs index 9109d01d738f..7da79d44bf93 100644 --- a/gtk4/src/auto/any_filter.rs +++ b/gtk4/src/auto/any_filter.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::{Buildable, Filter, MultiFilter}; +use crate::{ffi, Buildable, Filter, MultiFilter}; use glib::translate::*; glib::wrapper! { diff --git a/gtk4/src/auto/app_chooser.rs b/gtk4/src/auto/app_chooser.rs index 94b23754e916..bdf63d41eda6 100644 --- a/gtk4/src/auto/app_chooser.rs +++ b/gtk4/src/auto/app_chooser.rs @@ -3,7 +3,7 @@ // DO NOT EDIT #![allow(deprecated)] -use crate::{Accessible, Buildable, ConstraintTarget, Widget}; +use crate::{ffi, Accessible, Buildable, ConstraintTarget, Widget}; use glib::{prelude::*, translate::*}; glib::wrapper! { diff --git a/gtk4/src/auto/app_chooser_button.rs b/gtk4/src/auto/app_chooser_button.rs index 6695f05d1b2d..13d77f0b5a77 100644 --- a/gtk4/src/auto/app_chooser_button.rs +++ b/gtk4/src/auto/app_chooser_button.rs @@ -4,7 +4,7 @@ #![allow(deprecated)] use crate::{ - Accessible, AccessibleRole, Align, AppChooser, Buildable, ConstraintTarget, LayoutManager, + ffi, Accessible, AccessibleRole, Align, AppChooser, Buildable, ConstraintTarget, LayoutManager, Overflow, Widget, }; use glib::{ diff --git a/gtk4/src/auto/app_chooser_dialog.rs b/gtk4/src/auto/app_chooser_dialog.rs index 1f843644d65c..5a511b7f1fd8 100644 --- a/gtk4/src/auto/app_chooser_dialog.rs +++ b/gtk4/src/auto/app_chooser_dialog.rs @@ -4,7 +4,7 @@ #![allow(deprecated)] use crate::{ - Accessible, AppChooser, Buildable, ConstraintTarget, Dialog, DialogFlags, Native, Root, + ffi, Accessible, AppChooser, Buildable, ConstraintTarget, Dialog, DialogFlags, Native, Root, ShortcutManager, Widget, Window, }; use glib::{ diff --git a/gtk4/src/auto/app_chooser_widget.rs b/gtk4/src/auto/app_chooser_widget.rs index 64a3c751813d..c990974f1840 100644 --- a/gtk4/src/auto/app_chooser_widget.rs +++ b/gtk4/src/auto/app_chooser_widget.rs @@ -4,7 +4,7 @@ #![allow(deprecated)] use crate::{ - Accessible, AccessibleRole, Align, AppChooser, Buildable, ConstraintTarget, LayoutManager, + ffi, Accessible, AccessibleRole, Align, AppChooser, Buildable, ConstraintTarget, LayoutManager, Overflow, Widget, }; use glib::{ diff --git a/gtk4/src/auto/application.rs b/gtk4/src/auto/application.rs index 9ac9b9a0f0ce..9b1a50d72341 100644 --- a/gtk4/src/auto/application.rs +++ b/gtk4/src/auto/application.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::{ApplicationInhibitFlags, Window}; +use crate::{ffi, ApplicationInhibitFlags, Window}; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, diff --git a/gtk4/src/auto/application_window.rs b/gtk4/src/auto/application_window.rs index 4ee57d54fc40..06270fa31a0a 100644 --- a/gtk4/src/auto/application_window.rs +++ b/gtk4/src/auto/application_window.rs @@ -3,8 +3,8 @@ // DO NOT EDIT use crate::{ - Accessible, AccessibleRole, Align, Application, Buildable, ConstraintTarget, LayoutManager, - Native, Overflow, Root, ShortcutManager, ShortcutsWindow, Widget, Window, + ffi, Accessible, AccessibleRole, Align, Application, Buildable, ConstraintTarget, + LayoutManager, Native, Overflow, Root, ShortcutManager, ShortcutsWindow, Widget, Window, }; use glib::{ prelude::*, diff --git a/gtk4/src/auto/aspect_frame.rs b/gtk4/src/auto/aspect_frame.rs index 74c45d4aee40..1ce2c5765b85 100644 --- a/gtk4/src/auto/aspect_frame.rs +++ b/gtk4/src/auto/aspect_frame.rs @@ -3,7 +3,8 @@ // DO NOT EDIT use crate::{ - Accessible, AccessibleRole, Align, Buildable, ConstraintTarget, LayoutManager, Overflow, Widget, + ffi, Accessible, AccessibleRole, Align, Buildable, ConstraintTarget, LayoutManager, Overflow, + Widget, }; use glib::{ prelude::*, diff --git a/gtk4/src/auto/assistant.rs b/gtk4/src/auto/assistant.rs index 004edf535522..66e349cb68be 100644 --- a/gtk4/src/auto/assistant.rs +++ b/gtk4/src/auto/assistant.rs @@ -4,8 +4,9 @@ #![allow(deprecated)] use crate::{ - Accessible, AccessibleRole, Align, Application, AssistantPage, AssistantPageType, Buildable, - ConstraintTarget, LayoutManager, Native, Overflow, Root, ShortcutManager, Widget, Window, + ffi, Accessible, AccessibleRole, Align, Application, AssistantPage, AssistantPageType, + Buildable, ConstraintTarget, LayoutManager, Native, Overflow, Root, ShortcutManager, Widget, + Window, }; use glib::{ prelude::*, diff --git a/gtk4/src/auto/assistant_page.rs b/gtk4/src/auto/assistant_page.rs index 8c0902554a94..cd6befbe54b5 100644 --- a/gtk4/src/auto/assistant_page.rs +++ b/gtk4/src/auto/assistant_page.rs @@ -3,7 +3,7 @@ // DO NOT EDIT #![allow(deprecated)] -use crate::{AssistantPageType, Widget}; +use crate::{ffi, AssistantPageType, Widget}; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, diff --git a/gtk4/src/auto/at_context.rs b/gtk4/src/auto/at_context.rs index bd659cf5090b..9093fe7ff18a 100644 --- a/gtk4/src/auto/at_context.rs +++ b/gtk4/src/auto/at_context.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::{Accessible, AccessibleRole}; +use crate::{ffi, Accessible, AccessibleRole}; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, diff --git a/gtk4/src/auto/bin_layout.rs b/gtk4/src/auto/bin_layout.rs index 9f87b52aaec8..896025c30e2c 100644 --- a/gtk4/src/auto/bin_layout.rs +++ b/gtk4/src/auto/bin_layout.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::LayoutManager; +use crate::{ffi, LayoutManager}; use glib::{prelude::*, translate::*}; glib::wrapper! { diff --git a/gtk4/src/auto/bitset.rs b/gtk4/src/auto/bitset.rs index b8ab20421f5e..c344c0f6b03a 100644 --- a/gtk4/src/auto/bitset.rs +++ b/gtk4/src/auto/bitset.rs @@ -2,6 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT +use crate::ffi; use glib::translate::*; glib::wrapper! { diff --git a/gtk4/src/auto/bookmark_list.rs b/gtk4/src/auto/bookmark_list.rs index 52fd56007691..0ca295c0e6c7 100644 --- a/gtk4/src/auto/bookmark_list.rs +++ b/gtk4/src/auto/bookmark_list.rs @@ -2,6 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT +use crate::ffi; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, diff --git a/gtk4/src/auto/bool_filter.rs b/gtk4/src/auto/bool_filter.rs index 96341510cd72..8e377a658afb 100644 --- a/gtk4/src/auto/bool_filter.rs +++ b/gtk4/src/auto/bool_filter.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::{Expression, Filter}; +use crate::{ffi, Expression, Filter}; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, diff --git a/gtk4/src/auto/box_.rs b/gtk4/src/auto/box_.rs index 85cac0d4d1c3..1bcfd5bf5983 100644 --- a/gtk4/src/auto/box_.rs +++ b/gtk4/src/auto/box_.rs @@ -3,7 +3,7 @@ // DO NOT EDIT use crate::{ - Accessible, AccessibleRole, Align, BaselinePosition, Buildable, ConstraintTarget, + ffi, Accessible, AccessibleRole, Align, BaselinePosition, Buildable, ConstraintTarget, LayoutManager, Orientable, Orientation, Overflow, Widget, }; use glib::{ diff --git a/gtk4/src/auto/box_layout.rs b/gtk4/src/auto/box_layout.rs index 1e531fd20721..788134ea78a6 100644 --- a/gtk4/src/auto/box_layout.rs +++ b/gtk4/src/auto/box_layout.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::{BaselinePosition, LayoutManager, Orientable, Orientation}; +use crate::{ffi, BaselinePosition, LayoutManager, Orientable, Orientation}; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, diff --git a/gtk4/src/auto/buildable.rs b/gtk4/src/auto/buildable.rs index 2bcaa943145a..c30bc7f67554 100644 --- a/gtk4/src/auto/buildable.rs +++ b/gtk4/src/auto/buildable.rs @@ -2,6 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT +use crate::ffi; use glib::{prelude::*, translate::*}; glib::wrapper! { diff --git a/gtk4/src/auto/builder.rs b/gtk4/src/auto/builder.rs index 5af47d32f7f2..e131bb229303 100644 --- a/gtk4/src/auto/builder.rs +++ b/gtk4/src/auto/builder.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::{BuilderClosureFlags, BuilderScope}; +use crate::{ffi, BuilderClosureFlags, BuilderScope}; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, diff --git a/gtk4/src/auto/builder_list_item_factory.rs b/gtk4/src/auto/builder_list_item_factory.rs index c49f0313a4ba..2b07ec973243 100644 --- a/gtk4/src/auto/builder_list_item_factory.rs +++ b/gtk4/src/auto/builder_list_item_factory.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::{BuilderScope, ListItemFactory}; +use crate::{ffi, BuilderScope, ListItemFactory}; use glib::{prelude::*, translate::*}; glib::wrapper! { diff --git a/gtk4/src/auto/builder_scope.rs b/gtk4/src/auto/builder_scope.rs index 0f3d2d78e9f4..6b6e8bbacd96 100644 --- a/gtk4/src/auto/builder_scope.rs +++ b/gtk4/src/auto/builder_scope.rs @@ -2,6 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT +use crate::ffi; use glib::prelude::*; glib::wrapper! { diff --git a/gtk4/src/auto/button.rs b/gtk4/src/auto/button.rs index 58c05f6ce54e..a1bb661144ae 100644 --- a/gtk4/src/auto/button.rs +++ b/gtk4/src/auto/button.rs @@ -3,7 +3,7 @@ // DO NOT EDIT use crate::{ - Accessible, AccessibleRole, Actionable, Align, Buildable, ConstraintTarget, LayoutManager, + ffi, Accessible, AccessibleRole, Actionable, Align, Buildable, ConstraintTarget, LayoutManager, Overflow, Widget, }; use glib::{ diff --git a/gtk4/src/auto/calendar.rs b/gtk4/src/auto/calendar.rs index 03811971f393..ae6d895bfc84 100644 --- a/gtk4/src/auto/calendar.rs +++ b/gtk4/src/auto/calendar.rs @@ -3,7 +3,8 @@ // DO NOT EDIT use crate::{ - Accessible, AccessibleRole, Align, Buildable, ConstraintTarget, LayoutManager, Overflow, Widget, + ffi, Accessible, AccessibleRole, Align, Buildable, ConstraintTarget, LayoutManager, Overflow, + Widget, }; use glib::{ prelude::*, diff --git a/gtk4/src/auto/callback_action.rs b/gtk4/src/auto/callback_action.rs index be8534ba460f..9f42fac2acef 100644 --- a/gtk4/src/auto/callback_action.rs +++ b/gtk4/src/auto/callback_action.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::ShortcutAction; +use crate::{ffi, ShortcutAction}; glib::wrapper! { #[doc(alias = "GtkCallbackAction")] diff --git a/gtk4/src/auto/cell_area.rs b/gtk4/src/auto/cell_area.rs index 5ffdb54960ed..00cd40ff8717 100644 --- a/gtk4/src/auto/cell_area.rs +++ b/gtk4/src/auto/cell_area.rs @@ -4,7 +4,7 @@ #![allow(deprecated)] use crate::{ - Buildable, CellAreaContext, CellEditable, CellLayout, CellRenderer, CellRendererState, + ffi, Buildable, CellAreaContext, CellEditable, CellLayout, CellRenderer, CellRendererState, DirectionType, Orientation, SizeRequestMode, Snapshot, TreeIter, TreeModel, TreePath, Widget, }; use glib::{ diff --git a/gtk4/src/auto/cell_area_box.rs b/gtk4/src/auto/cell_area_box.rs index 1e6399a23f78..e22b066290cb 100644 --- a/gtk4/src/auto/cell_area_box.rs +++ b/gtk4/src/auto/cell_area_box.rs @@ -3,7 +3,7 @@ // DO NOT EDIT #![allow(deprecated)] -use crate::{Buildable, CellArea, CellLayout, CellRenderer, Orientable, Orientation}; +use crate::{ffi, Buildable, CellArea, CellLayout, CellRenderer, Orientable, Orientation}; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, diff --git a/gtk4/src/auto/cell_area_context.rs b/gtk4/src/auto/cell_area_context.rs index c3e4570d7e72..6e671e96371e 100644 --- a/gtk4/src/auto/cell_area_context.rs +++ b/gtk4/src/auto/cell_area_context.rs @@ -3,7 +3,7 @@ // DO NOT EDIT #![allow(deprecated)] -use crate::CellArea; +use crate::{ffi, CellArea}; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, diff --git a/gtk4/src/auto/cell_editable.rs b/gtk4/src/auto/cell_editable.rs index 2b8026bc0258..24f9614a387c 100644 --- a/gtk4/src/auto/cell_editable.rs +++ b/gtk4/src/auto/cell_editable.rs @@ -3,7 +3,7 @@ // DO NOT EDIT #![allow(deprecated)] -use crate::{Accessible, Buildable, ConstraintTarget, Widget}; +use crate::{ffi, Accessible, Buildable, ConstraintTarget, Widget}; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, diff --git a/gtk4/src/auto/cell_layout.rs b/gtk4/src/auto/cell_layout.rs index be4cc7faf3c1..b41c109077df 100644 --- a/gtk4/src/auto/cell_layout.rs +++ b/gtk4/src/auto/cell_layout.rs @@ -3,7 +3,7 @@ // DO NOT EDIT #![allow(deprecated)] -use crate::{CellArea, CellRenderer, TreeIter, TreeModel}; +use crate::{ffi, CellArea, CellRenderer, TreeIter, TreeModel}; use glib::{prelude::*, translate::*}; use std::boxed::Box as Box_; diff --git a/gtk4/src/auto/cell_renderer.rs b/gtk4/src/auto/cell_renderer.rs index 496de16ba097..a39417706721 100644 --- a/gtk4/src/auto/cell_renderer.rs +++ b/gtk4/src/auto/cell_renderer.rs @@ -4,7 +4,7 @@ #![allow(deprecated)] use crate::{ - CellEditable, CellRendererMode, CellRendererState, Requisition, SizeRequestMode, Snapshot, + ffi, CellEditable, CellRendererMode, CellRendererState, Requisition, SizeRequestMode, Snapshot, StateFlags, TreePath, Widget, }; use glib::{ diff --git a/gtk4/src/auto/cell_renderer_accel.rs b/gtk4/src/auto/cell_renderer_accel.rs index b2a562be4275..d39054f28f7b 100644 --- a/gtk4/src/auto/cell_renderer_accel.rs +++ b/gtk4/src/auto/cell_renderer_accel.rs @@ -3,7 +3,9 @@ // DO NOT EDIT #![allow(deprecated)] -use crate::{CellRenderer, CellRendererAccelMode, CellRendererMode, CellRendererText, TreePath}; +use crate::{ + ffi, CellRenderer, CellRendererAccelMode, CellRendererMode, CellRendererText, TreePath, +}; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, diff --git a/gtk4/src/auto/cell_renderer_combo.rs b/gtk4/src/auto/cell_renderer_combo.rs index 68b84aebcc82..b83594e828a5 100644 --- a/gtk4/src/auto/cell_renderer_combo.rs +++ b/gtk4/src/auto/cell_renderer_combo.rs @@ -3,7 +3,7 @@ // DO NOT EDIT #![allow(deprecated)] -use crate::{CellRenderer, CellRendererMode, CellRendererText, TreeIter, TreeModel, TreePath}; +use crate::{ffi, CellRenderer, CellRendererMode, CellRendererText, TreeIter, TreeModel, TreePath}; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, diff --git a/gtk4/src/auto/cell_renderer_pixbuf.rs b/gtk4/src/auto/cell_renderer_pixbuf.rs index a64e084c9bf0..dafc806b89e2 100644 --- a/gtk4/src/auto/cell_renderer_pixbuf.rs +++ b/gtk4/src/auto/cell_renderer_pixbuf.rs @@ -3,7 +3,7 @@ // DO NOT EDIT #![allow(deprecated)] -use crate::{CellRenderer, CellRendererMode, IconSize}; +use crate::{ffi, CellRenderer, CellRendererMode, IconSize}; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, diff --git a/gtk4/src/auto/cell_renderer_progress.rs b/gtk4/src/auto/cell_renderer_progress.rs index 4736db660407..f1cc549d7842 100644 --- a/gtk4/src/auto/cell_renderer_progress.rs +++ b/gtk4/src/auto/cell_renderer_progress.rs @@ -3,7 +3,7 @@ // DO NOT EDIT #![allow(deprecated)] -use crate::{CellRenderer, CellRendererMode, Orientable, Orientation}; +use crate::{ffi, CellRenderer, CellRendererMode, Orientable, Orientation}; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, diff --git a/gtk4/src/auto/cell_renderer_spin.rs b/gtk4/src/auto/cell_renderer_spin.rs index 05d8ee3bd49d..5dcf4835cb5b 100644 --- a/gtk4/src/auto/cell_renderer_spin.rs +++ b/gtk4/src/auto/cell_renderer_spin.rs @@ -3,7 +3,7 @@ // DO NOT EDIT #![allow(deprecated)] -use crate::{Adjustment, CellRenderer, CellRendererMode, CellRendererText}; +use crate::{ffi, Adjustment, CellRenderer, CellRendererMode, CellRendererText}; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, diff --git a/gtk4/src/auto/cell_renderer_spinner.rs b/gtk4/src/auto/cell_renderer_spinner.rs index 2b503d0cb8b4..5dc9abf8ba6e 100644 --- a/gtk4/src/auto/cell_renderer_spinner.rs +++ b/gtk4/src/auto/cell_renderer_spinner.rs @@ -3,7 +3,7 @@ // DO NOT EDIT #![allow(deprecated)] -use crate::{CellRenderer, CellRendererMode, IconSize}; +use crate::{ffi, CellRenderer, CellRendererMode, IconSize}; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, diff --git a/gtk4/src/auto/cell_renderer_text.rs b/gtk4/src/auto/cell_renderer_text.rs index 53258daaa50e..7ba389e5fa27 100644 --- a/gtk4/src/auto/cell_renderer_text.rs +++ b/gtk4/src/auto/cell_renderer_text.rs @@ -3,7 +3,7 @@ // DO NOT EDIT #![allow(deprecated)] -use crate::{CellRenderer, CellRendererMode, TreePath}; +use crate::{ffi, CellRenderer, CellRendererMode, TreePath}; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, diff --git a/gtk4/src/auto/cell_renderer_toggle.rs b/gtk4/src/auto/cell_renderer_toggle.rs index 27244d514fc2..2286b2a433e5 100644 --- a/gtk4/src/auto/cell_renderer_toggle.rs +++ b/gtk4/src/auto/cell_renderer_toggle.rs @@ -3,7 +3,7 @@ // DO NOT EDIT #![allow(deprecated)] -use crate::{CellRenderer, CellRendererMode, TreePath}; +use crate::{ffi, CellRenderer, CellRendererMode, TreePath}; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, diff --git a/gtk4/src/auto/cell_view.rs b/gtk4/src/auto/cell_view.rs index 53b63e5615fb..7707b3605c89 100644 --- a/gtk4/src/auto/cell_view.rs +++ b/gtk4/src/auto/cell_view.rs @@ -4,7 +4,7 @@ #![allow(deprecated)] use crate::{ - Accessible, AccessibleRole, Align, Buildable, CellArea, CellAreaContext, CellLayout, + ffi, Accessible, AccessibleRole, Align, Buildable, CellArea, CellAreaContext, CellLayout, ConstraintTarget, LayoutManager, Orientable, Orientation, Overflow, TreeModel, TreePath, Widget, }; diff --git a/gtk4/src/auto/center_box.rs b/gtk4/src/auto/center_box.rs index 1043e625e14f..7c856dc97a3a 100644 --- a/gtk4/src/auto/center_box.rs +++ b/gtk4/src/auto/center_box.rs @@ -3,7 +3,7 @@ // DO NOT EDIT use crate::{ - Accessible, AccessibleRole, Align, BaselinePosition, Buildable, ConstraintTarget, + ffi, Accessible, AccessibleRole, Align, BaselinePosition, Buildable, ConstraintTarget, LayoutManager, Orientable, Orientation, Overflow, Widget, }; use glib::{ diff --git a/gtk4/src/auto/center_layout.rs b/gtk4/src/auto/center_layout.rs index cabb9febc8ed..0f08fa24fbeb 100644 --- a/gtk4/src/auto/center_layout.rs +++ b/gtk4/src/auto/center_layout.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::{BaselinePosition, LayoutManager, Orientation, Widget}; +use crate::{ffi, BaselinePosition, LayoutManager, Orientation, Widget}; #[cfg(feature = "v4_12")] #[cfg_attr(docsrs, doc(cfg(feature = "v4_12")))] use glib::signal::{connect_raw, SignalHandlerId}; diff --git a/gtk4/src/auto/check_button.rs b/gtk4/src/auto/check_button.rs index 29a5135874c8..d8c0e8139f0b 100644 --- a/gtk4/src/auto/check_button.rs +++ b/gtk4/src/auto/check_button.rs @@ -3,7 +3,7 @@ // DO NOT EDIT use crate::{ - Accessible, AccessibleRole, Actionable, Align, Buildable, ConstraintTarget, LayoutManager, + ffi, Accessible, AccessibleRole, Actionable, Align, Buildable, ConstraintTarget, LayoutManager, Overflow, Widget, }; use glib::{ diff --git a/gtk4/src/auto/closure_expression.rs b/gtk4/src/auto/closure_expression.rs index 4eb8e1c32634..46fdd6377e9a 100644 --- a/gtk4/src/auto/closure_expression.rs +++ b/gtk4/src/auto/closure_expression.rs @@ -2,6 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT +use crate::ffi; use glib::{prelude::*, translate::*}; glib::wrapper! { diff --git a/gtk4/src/auto/color_button.rs b/gtk4/src/auto/color_button.rs index 140a0d47db22..376c84855d8e 100644 --- a/gtk4/src/auto/color_button.rs +++ b/gtk4/src/auto/color_button.rs @@ -4,8 +4,8 @@ #![allow(deprecated)] use crate::{ - Accessible, AccessibleRole, Align, Buildable, ColorChooser, ConstraintTarget, LayoutManager, - Overflow, Widget, + ffi, Accessible, AccessibleRole, Align, Buildable, ColorChooser, ConstraintTarget, + LayoutManager, Overflow, Widget, }; use glib::{ prelude::*, diff --git a/gtk4/src/auto/color_chooser.rs b/gtk4/src/auto/color_chooser.rs index 93126c60ff52..49e56b6c4497 100644 --- a/gtk4/src/auto/color_chooser.rs +++ b/gtk4/src/auto/color_chooser.rs @@ -3,6 +3,7 @@ // DO NOT EDIT #![allow(deprecated)] +use crate::ffi; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, diff --git a/gtk4/src/auto/color_chooser_dialog.rs b/gtk4/src/auto/color_chooser_dialog.rs index 0f50bd45ac00..b214f1603f48 100644 --- a/gtk4/src/auto/color_chooser_dialog.rs +++ b/gtk4/src/auto/color_chooser_dialog.rs @@ -4,7 +4,7 @@ #![allow(deprecated)] use crate::{ - Accessible, AccessibleRole, Align, Application, Buildable, ColorChooser, ConstraintTarget, + ffi, Accessible, AccessibleRole, Align, Application, Buildable, ColorChooser, ConstraintTarget, Dialog, LayoutManager, Native, Overflow, Root, ShortcutManager, Widget, Window, }; use glib::{ diff --git a/gtk4/src/auto/color_chooser_widget.rs b/gtk4/src/auto/color_chooser_widget.rs index c2a0b0f1b44c..c21e9d653053 100644 --- a/gtk4/src/auto/color_chooser_widget.rs +++ b/gtk4/src/auto/color_chooser_widget.rs @@ -3,8 +3,8 @@ // DO NOT EDIT use crate::{ - Accessible, AccessibleRole, Align, Buildable, ColorChooser, ConstraintTarget, LayoutManager, - Overflow, Widget, + ffi, Accessible, AccessibleRole, Align, Buildable, ColorChooser, ConstraintTarget, + LayoutManager, Overflow, Widget, }; use glib::{ prelude::*, diff --git a/gtk4/src/auto/color_dialog.rs b/gtk4/src/auto/color_dialog.rs index a1ebfac08256..aca72b9867fb 100644 --- a/gtk4/src/auto/color_dialog.rs +++ b/gtk4/src/auto/color_dialog.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::Window; +use crate::{ffi, Window}; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, diff --git a/gtk4/src/auto/color_dialog_button.rs b/gtk4/src/auto/color_dialog_button.rs index 45ccd353d8a1..0b89d90928ec 100644 --- a/gtk4/src/auto/color_dialog_button.rs +++ b/gtk4/src/auto/color_dialog_button.rs @@ -3,8 +3,8 @@ // DO NOT EDIT use crate::{ - Accessible, AccessibleRole, Align, Buildable, ColorDialog, ConstraintTarget, LayoutManager, - Overflow, Widget, + ffi, Accessible, AccessibleRole, Align, Buildable, ColorDialog, ConstraintTarget, + LayoutManager, Overflow, Widget, }; use glib::{ prelude::*, diff --git a/gtk4/src/auto/column_view.rs b/gtk4/src/auto/column_view.rs index 4a02681ed19a..04e3427b746b 100644 --- a/gtk4/src/auto/column_view.rs +++ b/gtk4/src/auto/column_view.rs @@ -3,9 +3,9 @@ // DO NOT EDIT use crate::{ - Accessible, AccessibleRole, Adjustment, Align, Buildable, ColumnViewColumn, ConstraintTarget, - LayoutManager, Overflow, Scrollable, ScrollablePolicy, SelectionModel, SortType, Sorter, - Widget, + ffi, Accessible, AccessibleRole, Adjustment, Align, Buildable, ColumnViewColumn, + ConstraintTarget, LayoutManager, Overflow, Scrollable, ScrollablePolicy, SelectionModel, + SortType, Sorter, Widget, }; #[cfg(feature = "v4_12")] #[cfg_attr(docsrs, doc(cfg(feature = "v4_12")))] diff --git a/gtk4/src/auto/column_view_cell.rs b/gtk4/src/auto/column_view_cell.rs index 673bcc8edf73..d88a77b24e1f 100644 --- a/gtk4/src/auto/column_view_cell.rs +++ b/gtk4/src/auto/column_view_cell.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::{ListItem, Widget}; +use crate::{ffi, ListItem, Widget}; use glib::{prelude::*, translate::*}; glib::wrapper! { diff --git a/gtk4/src/auto/column_view_column.rs b/gtk4/src/auto/column_view_column.rs index 883694706edc..d743bd5f05d7 100644 --- a/gtk4/src/auto/column_view_column.rs +++ b/gtk4/src/auto/column_view_column.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::{ColumnView, ListItemFactory, Sorter}; +use crate::{ffi, ColumnView, ListItemFactory, Sorter}; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, diff --git a/gtk4/src/auto/column_view_row.rs b/gtk4/src/auto/column_view_row.rs index 01faa9288077..860a6710df5b 100644 --- a/gtk4/src/auto/column_view_row.rs +++ b/gtk4/src/auto/column_view_row.rs @@ -2,6 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT +use crate::ffi; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, diff --git a/gtk4/src/auto/column_view_sorter.rs b/gtk4/src/auto/column_view_sorter.rs index d67e43d97903..f3be079316ed 100644 --- a/gtk4/src/auto/column_view_sorter.rs +++ b/gtk4/src/auto/column_view_sorter.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::{ColumnViewColumn, SortType, Sorter}; +use crate::{ffi, ColumnViewColumn, SortType, Sorter}; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, diff --git a/gtk4/src/auto/combo_box.rs b/gtk4/src/auto/combo_box.rs index e29226724010..46742a554cd3 100644 --- a/gtk4/src/auto/combo_box.rs +++ b/gtk4/src/auto/combo_box.rs @@ -4,7 +4,7 @@ #![allow(deprecated)] use crate::{ - Accessible, AccessibleRole, Align, Buildable, CellEditable, CellLayout, ConstraintTarget, + ffi, Accessible, AccessibleRole, Align, Buildable, CellEditable, CellLayout, ConstraintTarget, LayoutManager, Overflow, ScrollType, SensitivityType, TreeIter, TreeModel, Widget, }; use glib::{ diff --git a/gtk4/src/auto/combo_box_text.rs b/gtk4/src/auto/combo_box_text.rs index fc82be3888eb..01a0f5d76f2d 100644 --- a/gtk4/src/auto/combo_box_text.rs +++ b/gtk4/src/auto/combo_box_text.rs @@ -4,7 +4,7 @@ #![allow(deprecated)] use crate::{ - Accessible, AccessibleRole, Align, Buildable, CellEditable, CellLayout, ComboBox, + ffi, Accessible, AccessibleRole, Align, Buildable, CellEditable, CellLayout, ComboBox, ConstraintTarget, LayoutManager, Overflow, SensitivityType, TreeModel, Widget, }; use glib::{prelude::*, translate::*}; diff --git a/gtk4/src/auto/constant_expression.rs b/gtk4/src/auto/constant_expression.rs index bd141096acfb..083e08d71915 100644 --- a/gtk4/src/auto/constant_expression.rs +++ b/gtk4/src/auto/constant_expression.rs @@ -2,6 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT +use crate::ffi; use glib::{prelude::*, translate::*}; glib::wrapper! { diff --git a/gtk4/src/auto/constants.rs b/gtk4/src/auto/constants.rs index 5e70f7a92eeb..71c80f54bced 100644 --- a/gtk4/src/auto/constants.rs +++ b/gtk4/src/auto/constants.rs @@ -2,6 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT +use crate::ffi; use glib::GStr; #[cfg(feature = "v4_14")] diff --git a/gtk4/src/auto/constraint.rs b/gtk4/src/auto/constraint.rs index 9330ec53fff9..4be8e305ed01 100644 --- a/gtk4/src/auto/constraint.rs +++ b/gtk4/src/auto/constraint.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::{ConstraintAttribute, ConstraintRelation, ConstraintTarget}; +use crate::{ffi, ConstraintAttribute, ConstraintRelation, ConstraintTarget}; use glib::{prelude::*, translate::*}; glib::wrapper! { diff --git a/gtk4/src/auto/constraint_guide.rs b/gtk4/src/auto/constraint_guide.rs index 20161354c047..ba91919dda19 100644 --- a/gtk4/src/auto/constraint_guide.rs +++ b/gtk4/src/auto/constraint_guide.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::{ConstraintStrength, ConstraintTarget}; +use crate::{ffi, ConstraintStrength, ConstraintTarget}; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, diff --git a/gtk4/src/auto/constraint_layout.rs b/gtk4/src/auto/constraint_layout.rs index 395845e3e52e..32dae83df9c3 100644 --- a/gtk4/src/auto/constraint_layout.rs +++ b/gtk4/src/auto/constraint_layout.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::{Buildable, Constraint, ConstraintGuide, LayoutManager}; +use crate::{ffi, Buildable, Constraint, ConstraintGuide, LayoutManager}; use glib::{prelude::*, translate::*}; glib::wrapper! { diff --git a/gtk4/src/auto/constraint_layout_child.rs b/gtk4/src/auto/constraint_layout_child.rs index b13555138262..3fd849e8f14d 100644 --- a/gtk4/src/auto/constraint_layout_child.rs +++ b/gtk4/src/auto/constraint_layout_child.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::LayoutChild; +use crate::{ffi, LayoutChild}; glib::wrapper! { #[doc(alias = "GtkConstraintLayoutChild")] diff --git a/gtk4/src/auto/constraint_target.rs b/gtk4/src/auto/constraint_target.rs index 70405b13e9ee..e4f8afba90f2 100644 --- a/gtk4/src/auto/constraint_target.rs +++ b/gtk4/src/auto/constraint_target.rs @@ -2,6 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT +use crate::ffi; use glib::prelude::*; glib::wrapper! { diff --git a/gtk4/src/auto/css_provider.rs b/gtk4/src/auto/css_provider.rs index 960f5429cf93..c4062e24ccb1 100644 --- a/gtk4/src/auto/css_provider.rs +++ b/gtk4/src/auto/css_provider.rs @@ -3,7 +3,7 @@ // DO NOT EDIT #![allow(deprecated)] -use crate::{CssSection, StyleProvider}; +use crate::{ffi, CssSection, StyleProvider}; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, diff --git a/gtk4/src/auto/css_section.rs b/gtk4/src/auto/css_section.rs index ba73142a5311..2afc24366001 100644 --- a/gtk4/src/auto/css_section.rs +++ b/gtk4/src/auto/css_section.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::CssLocation; +use crate::{ffi, CssLocation}; use glib::{prelude::*, translate::*}; glib::wrapper! { diff --git a/gtk4/src/auto/custom_filter.rs b/gtk4/src/auto/custom_filter.rs index 2e6126a6be53..313394c77f95 100644 --- a/gtk4/src/auto/custom_filter.rs +++ b/gtk4/src/auto/custom_filter.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::Filter; +use crate::{ffi, Filter}; glib::wrapper! { #[doc(alias = "GtkCustomFilter")] diff --git a/gtk4/src/auto/custom_sorter.rs b/gtk4/src/auto/custom_sorter.rs index 91416d954487..a55a20af815d 100644 --- a/gtk4/src/auto/custom_sorter.rs +++ b/gtk4/src/auto/custom_sorter.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::Sorter; +use crate::{ffi, Sorter}; glib::wrapper! { #[doc(alias = "GtkCustomSorter")] diff --git a/gtk4/src/auto/dialog.rs b/gtk4/src/auto/dialog.rs index 68c10174d4f3..8bd35fa3386f 100644 --- a/gtk4/src/auto/dialog.rs +++ b/gtk4/src/auto/dialog.rs @@ -4,8 +4,9 @@ #![allow(deprecated)] use crate::{ - Accessible, AccessibleRole, Align, Application, Box, Buildable, ConstraintTarget, HeaderBar, - LayoutManager, Native, Overflow, ResponseType, Root, ShortcutManager, Widget, Window, + ffi, Accessible, AccessibleRole, Align, Application, Box, Buildable, ConstraintTarget, + HeaderBar, LayoutManager, Native, Overflow, ResponseType, Root, ShortcutManager, Widget, + Window, }; use glib::{ prelude::*, diff --git a/gtk4/src/auto/directory_list.rs b/gtk4/src/auto/directory_list.rs index 6ec18bb1fb08..60d0fb3146c8 100644 --- a/gtk4/src/auto/directory_list.rs +++ b/gtk4/src/auto/directory_list.rs @@ -2,6 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT +use crate::ffi; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, diff --git a/gtk4/src/auto/drag_icon.rs b/gtk4/src/auto/drag_icon.rs index 0d74d3920d91..a3cd9e7c69e8 100644 --- a/gtk4/src/auto/drag_icon.rs +++ b/gtk4/src/auto/drag_icon.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::{Accessible, Buildable, ConstraintTarget, Native, Root, Widget}; +use crate::{ffi, Accessible, Buildable, ConstraintTarget, Native, Root, Widget}; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, diff --git a/gtk4/src/auto/drag_source.rs b/gtk4/src/auto/drag_source.rs index 75de593c93e1..08699ed34389 100644 --- a/gtk4/src/auto/drag_source.rs +++ b/gtk4/src/auto/drag_source.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::{EventController, Gesture, GestureSingle, PropagationLimit, PropagationPhase}; +use crate::{ffi, EventController, Gesture, GestureSingle, PropagationLimit, PropagationPhase}; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, diff --git a/gtk4/src/auto/drawing_area.rs b/gtk4/src/auto/drawing_area.rs index b858129ec015..4938490fe0c2 100644 --- a/gtk4/src/auto/drawing_area.rs +++ b/gtk4/src/auto/drawing_area.rs @@ -3,7 +3,8 @@ // DO NOT EDIT use crate::{ - Accessible, AccessibleRole, Align, Buildable, ConstraintTarget, LayoutManager, Overflow, Widget, + ffi, Accessible, AccessibleRole, Align, Buildable, ConstraintTarget, LayoutManager, Overflow, + Widget, }; use glib::{ prelude::*, diff --git a/gtk4/src/auto/drop_controller_motion.rs b/gtk4/src/auto/drop_controller_motion.rs index 460400365e4b..ae3cf27df58c 100644 --- a/gtk4/src/auto/drop_controller_motion.rs +++ b/gtk4/src/auto/drop_controller_motion.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::{EventController, PropagationLimit, PropagationPhase}; +use crate::{ffi, EventController, PropagationLimit, PropagationPhase}; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, diff --git a/gtk4/src/auto/drop_down.rs b/gtk4/src/auto/drop_down.rs index 606dfbddc7d3..8a5e63007aa4 100644 --- a/gtk4/src/auto/drop_down.rs +++ b/gtk4/src/auto/drop_down.rs @@ -6,7 +6,7 @@ #[cfg_attr(docsrs, doc(cfg(feature = "v4_12")))] use crate::StringFilterMatchMode; use crate::{ - Accessible, AccessibleRole, Align, Buildable, ConstraintTarget, Expression, LayoutManager, + ffi, Accessible, AccessibleRole, Align, Buildable, ConstraintTarget, Expression, LayoutManager, ListItemFactory, Overflow, Widget, }; use glib::{ diff --git a/gtk4/src/auto/drop_target.rs b/gtk4/src/auto/drop_target.rs index 1f17940817a0..7eea106fee52 100644 --- a/gtk4/src/auto/drop_target.rs +++ b/gtk4/src/auto/drop_target.rs @@ -3,7 +3,7 @@ // DO NOT EDIT #![allow(deprecated)] -use crate::{EventController, PropagationLimit, PropagationPhase}; +use crate::{ffi, EventController, PropagationLimit, PropagationPhase}; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, diff --git a/gtk4/src/auto/drop_target_async.rs b/gtk4/src/auto/drop_target_async.rs index cc52b8798f92..adb240ffe652 100644 --- a/gtk4/src/auto/drop_target_async.rs +++ b/gtk4/src/auto/drop_target_async.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::{EventController, PropagationLimit, PropagationPhase}; +use crate::{ffi, EventController, PropagationLimit, PropagationPhase}; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, diff --git a/gtk4/src/auto/editable.rs b/gtk4/src/auto/editable.rs index 269faec2fc7b..43c1afbcf363 100644 --- a/gtk4/src/auto/editable.rs +++ b/gtk4/src/auto/editable.rs @@ -5,7 +5,7 @@ #[cfg(feature = "v4_10")] #[cfg_attr(docsrs, doc(cfg(feature = "v4_10")))] use crate::AccessiblePlatformState; -use crate::{Accessible, Buildable, ConstraintTarget, Widget}; +use crate::{ffi, Accessible, Buildable, ConstraintTarget, Widget}; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, diff --git a/gtk4/src/auto/editable_label.rs b/gtk4/src/auto/editable_label.rs index ab5d4f97239b..d812f071cf0e 100644 --- a/gtk4/src/auto/editable_label.rs +++ b/gtk4/src/auto/editable_label.rs @@ -3,7 +3,7 @@ // DO NOT EDIT use crate::{ - Accessible, AccessibleRole, Align, Buildable, ConstraintTarget, Editable, LayoutManager, + ffi, Accessible, AccessibleRole, Align, Buildable, ConstraintTarget, Editable, LayoutManager, Overflow, Widget, }; use glib::{prelude::*, translate::*}; diff --git a/gtk4/src/auto/emoji_chooser.rs b/gtk4/src/auto/emoji_chooser.rs index bb3c9f398185..e5869be20d78 100644 --- a/gtk4/src/auto/emoji_chooser.rs +++ b/gtk4/src/auto/emoji_chooser.rs @@ -3,7 +3,7 @@ // DO NOT EDIT use crate::{ - Accessible, AccessibleRole, Align, Buildable, ConstraintTarget, LayoutManager, Native, + ffi, Accessible, AccessibleRole, Align, Buildable, ConstraintTarget, LayoutManager, Native, Overflow, Popover, PositionType, ShortcutManager, Widget, }; use glib::{ diff --git a/gtk4/src/auto/entry.rs b/gtk4/src/auto/entry.rs index b1abfa90203c..12e55c55d4b8 100644 --- a/gtk4/src/auto/entry.rs +++ b/gtk4/src/auto/entry.rs @@ -4,7 +4,7 @@ #![allow(deprecated)] use crate::{ - Accessible, AccessibleRole, Align, Buildable, CellEditable, ConstraintTarget, Editable, + ffi, Accessible, AccessibleRole, Align, Buildable, CellEditable, ConstraintTarget, Editable, EntryBuffer, EntryCompletion, EntryIconPosition, ImageType, InputHints, InputPurpose, LayoutManager, Overflow, Widget, }; diff --git a/gtk4/src/auto/entry_buffer.rs b/gtk4/src/auto/entry_buffer.rs index b0e1750abb5a..6aeff4180ba4 100644 --- a/gtk4/src/auto/entry_buffer.rs +++ b/gtk4/src/auto/entry_buffer.rs @@ -2,6 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT +use crate::ffi; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, diff --git a/gtk4/src/auto/entry_completion.rs b/gtk4/src/auto/entry_completion.rs index 091d9bccd6c1..56984ed26b9d 100644 --- a/gtk4/src/auto/entry_completion.rs +++ b/gtk4/src/auto/entry_completion.rs @@ -3,7 +3,7 @@ // DO NOT EDIT #![allow(deprecated)] -use crate::{Buildable, CellArea, CellLayout, TreeIter, TreeModel}; +use crate::{ffi, Buildable, CellArea, CellLayout, TreeIter, TreeModel}; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, diff --git a/gtk4/src/auto/enums.rs b/gtk4/src/auto/enums.rs index 9a6a5a8a00b6..b7e456a166fd 100644 --- a/gtk4/src/auto/enums.rs +++ b/gtk4/src/auto/enums.rs @@ -2,6 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT +use crate::ffi; use glib::{prelude::*, translate::*}; #[cfg(feature = "v4_14")] diff --git a/gtk4/src/auto/event_controller.rs b/gtk4/src/auto/event_controller.rs index fc945cfdc28d..27afb2550fb6 100644 --- a/gtk4/src/auto/event_controller.rs +++ b/gtk4/src/auto/event_controller.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::{PropagationLimit, PropagationPhase, Widget}; +use crate::{ffi, PropagationLimit, PropagationPhase, Widget}; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, diff --git a/gtk4/src/auto/event_controller_focus.rs b/gtk4/src/auto/event_controller_focus.rs index 75a9be3f5eca..324b7ff0784d 100644 --- a/gtk4/src/auto/event_controller_focus.rs +++ b/gtk4/src/auto/event_controller_focus.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::{EventController, PropagationLimit, PropagationPhase}; +use crate::{ffi, EventController, PropagationLimit, PropagationPhase}; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, diff --git a/gtk4/src/auto/event_controller_key.rs b/gtk4/src/auto/event_controller_key.rs index aa7ba4e9852f..194f5e057b8e 100644 --- a/gtk4/src/auto/event_controller_key.rs +++ b/gtk4/src/auto/event_controller_key.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::{EventController, IMContext, PropagationLimit, PropagationPhase, Widget}; +use crate::{ffi, EventController, IMContext, PropagationLimit, PropagationPhase, Widget}; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, diff --git a/gtk4/src/auto/event_controller_legacy.rs b/gtk4/src/auto/event_controller_legacy.rs index 8215d850f8b5..a95e351b22f0 100644 --- a/gtk4/src/auto/event_controller_legacy.rs +++ b/gtk4/src/auto/event_controller_legacy.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::{EventController, PropagationLimit, PropagationPhase}; +use crate::{ffi, EventController, PropagationLimit, PropagationPhase}; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, diff --git a/gtk4/src/auto/event_controller_motion.rs b/gtk4/src/auto/event_controller_motion.rs index b01a5cdde774..ddefda4c2a33 100644 --- a/gtk4/src/auto/event_controller_motion.rs +++ b/gtk4/src/auto/event_controller_motion.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::{EventController, PropagationLimit, PropagationPhase}; +use crate::{ffi, EventController, PropagationLimit, PropagationPhase}; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, diff --git a/gtk4/src/auto/event_controller_scroll.rs b/gtk4/src/auto/event_controller_scroll.rs index e757657a4342..c6617e516413 100644 --- a/gtk4/src/auto/event_controller_scroll.rs +++ b/gtk4/src/auto/event_controller_scroll.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::{EventController, EventControllerScrollFlags, PropagationLimit, PropagationPhase}; +use crate::{ffi, EventController, EventControllerScrollFlags, PropagationLimit, PropagationPhase}; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, diff --git a/gtk4/src/auto/every_filter.rs b/gtk4/src/auto/every_filter.rs index c2cca407b3ac..6897a9d229f9 100644 --- a/gtk4/src/auto/every_filter.rs +++ b/gtk4/src/auto/every_filter.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::{Buildable, Filter, MultiFilter}; +use crate::{ffi, Buildable, Filter, MultiFilter}; use glib::translate::*; glib::wrapper! { diff --git a/gtk4/src/auto/expander.rs b/gtk4/src/auto/expander.rs index 276e1811b5ed..c92307544a48 100644 --- a/gtk4/src/auto/expander.rs +++ b/gtk4/src/auto/expander.rs @@ -3,7 +3,8 @@ // DO NOT EDIT use crate::{ - Accessible, AccessibleRole, Align, Buildable, ConstraintTarget, LayoutManager, Overflow, Widget, + ffi, Accessible, AccessibleRole, Align, Buildable, ConstraintTarget, LayoutManager, Overflow, + Widget, }; use glib::{ prelude::*, diff --git a/gtk4/src/auto/expression.rs b/gtk4/src/auto/expression.rs index 50a37fda41ec..a2d3fc6a8537 100644 --- a/gtk4/src/auto/expression.rs +++ b/gtk4/src/auto/expression.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::ExpressionWatch; +use crate::{ffi, ExpressionWatch}; use glib::{prelude::*, translate::*}; use std::boxed::Box as Box_; diff --git a/gtk4/src/auto/file_chooser.rs b/gtk4/src/auto/file_chooser.rs index bcdb3d50b3e5..7c4466c8f671 100644 --- a/gtk4/src/auto/file_chooser.rs +++ b/gtk4/src/auto/file_chooser.rs @@ -3,7 +3,7 @@ // DO NOT EDIT #![allow(deprecated)] -use crate::{FileChooserAction, FileFilter}; +use crate::{ffi, FileChooserAction, FileFilter}; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, diff --git a/gtk4/src/auto/file_chooser_dialog.rs b/gtk4/src/auto/file_chooser_dialog.rs index 3841c1ed7026..1b116e15d465 100644 --- a/gtk4/src/auto/file_chooser_dialog.rs +++ b/gtk4/src/auto/file_chooser_dialog.rs @@ -4,7 +4,7 @@ #![allow(deprecated)] use crate::{ - Accessible, AccessibleRole, Align, Application, Buildable, ConstraintTarget, Dialog, + ffi, Accessible, AccessibleRole, Align, Application, Buildable, ConstraintTarget, Dialog, FileChooser, FileChooserAction, FileFilter, LayoutManager, Native, Overflow, Root, ShortcutManager, Widget, Window, }; diff --git a/gtk4/src/auto/file_chooser_native.rs b/gtk4/src/auto/file_chooser_native.rs index 571d3d554b90..ae3a12a30e08 100644 --- a/gtk4/src/auto/file_chooser_native.rs +++ b/gtk4/src/auto/file_chooser_native.rs @@ -3,7 +3,7 @@ // DO NOT EDIT #![allow(deprecated)] -use crate::{FileChooser, FileChooserAction, FileFilter, NativeDialog, Window}; +use crate::{ffi, FileChooser, FileChooserAction, FileFilter, NativeDialog, Window}; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, diff --git a/gtk4/src/auto/file_chooser_widget.rs b/gtk4/src/auto/file_chooser_widget.rs index 75e32ca1e0b4..3025cfe0478e 100644 --- a/gtk4/src/auto/file_chooser_widget.rs +++ b/gtk4/src/auto/file_chooser_widget.rs @@ -4,8 +4,8 @@ #![allow(deprecated)] use crate::{ - Accessible, AccessibleRole, Align, Buildable, ConstraintTarget, FileChooser, FileChooserAction, - FileFilter, LayoutManager, Overflow, Widget, + ffi, Accessible, AccessibleRole, Align, Buildable, ConstraintTarget, FileChooser, + FileChooserAction, FileFilter, LayoutManager, Overflow, Widget, }; use glib::{ prelude::*, diff --git a/gtk4/src/auto/file_dialog.rs b/gtk4/src/auto/file_dialog.rs index 979b2520d132..e4fa8e810f27 100644 --- a/gtk4/src/auto/file_dialog.rs +++ b/gtk4/src/auto/file_dialog.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::{FileFilter, Window}; +use crate::{ffi, FileFilter, Window}; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, diff --git a/gtk4/src/auto/file_filter.rs b/gtk4/src/auto/file_filter.rs index 8214e7c6fcdf..d1face1e3e35 100644 --- a/gtk4/src/auto/file_filter.rs +++ b/gtk4/src/auto/file_filter.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::{Buildable, Filter}; +use crate::{ffi, Buildable, Filter}; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, diff --git a/gtk4/src/auto/file_launcher.rs b/gtk4/src/auto/file_launcher.rs index 3d193808a78d..858d222ef8e0 100644 --- a/gtk4/src/auto/file_launcher.rs +++ b/gtk4/src/auto/file_launcher.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::Window; +use crate::{ffi, Window}; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, diff --git a/gtk4/src/auto/filter.rs b/gtk4/src/auto/filter.rs index 6613f70fca88..4235e80c87cb 100644 --- a/gtk4/src/auto/filter.rs +++ b/gtk4/src/auto/filter.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::{FilterChange, FilterMatch}; +use crate::{ffi, FilterChange, FilterMatch}; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, diff --git a/gtk4/src/auto/filter_list_model.rs b/gtk4/src/auto/filter_list_model.rs index 656fcd0619e9..923bad498eb3 100644 --- a/gtk4/src/auto/filter_list_model.rs +++ b/gtk4/src/auto/filter_list_model.rs @@ -2,10 +2,10 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::Filter; #[cfg(feature = "v4_12")] #[cfg_attr(docsrs, doc(cfg(feature = "v4_12")))] use crate::SectionModel; +use crate::{ffi, Filter}; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, diff --git a/gtk4/src/auto/fixed.rs b/gtk4/src/auto/fixed.rs index e2b949864322..6175c249648e 100644 --- a/gtk4/src/auto/fixed.rs +++ b/gtk4/src/auto/fixed.rs @@ -3,7 +3,8 @@ // DO NOT EDIT use crate::{ - Accessible, AccessibleRole, Align, Buildable, ConstraintTarget, LayoutManager, Overflow, Widget, + ffi, Accessible, AccessibleRole, Align, Buildable, ConstraintTarget, LayoutManager, Overflow, + Widget, }; use glib::{prelude::*, translate::*}; diff --git a/gtk4/src/auto/fixed_layout.rs b/gtk4/src/auto/fixed_layout.rs index b13ea51587eb..b026560a8651 100644 --- a/gtk4/src/auto/fixed_layout.rs +++ b/gtk4/src/auto/fixed_layout.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::LayoutManager; +use crate::{ffi, LayoutManager}; use glib::{prelude::*, translate::*}; glib::wrapper! { diff --git a/gtk4/src/auto/fixed_layout_child.rs b/gtk4/src/auto/fixed_layout_child.rs index 64f815daf489..370e7f0fcd6c 100644 --- a/gtk4/src/auto/fixed_layout_child.rs +++ b/gtk4/src/auto/fixed_layout_child.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::LayoutChild; +use crate::{ffi, LayoutChild}; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, diff --git a/gtk4/src/auto/flags.rs b/gtk4/src/auto/flags.rs index d5bd53276d97..a1fe4f538654 100644 --- a/gtk4/src/auto/flags.rs +++ b/gtk4/src/auto/flags.rs @@ -2,6 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT +use crate::ffi; use glib::{bitflags::bitflags, prelude::*, translate::*}; bitflags! { diff --git a/gtk4/src/auto/flatten_list_model.rs b/gtk4/src/auto/flatten_list_model.rs index a8f3b6b12b18..ce8ce4fc15e1 100644 --- a/gtk4/src/auto/flatten_list_model.rs +++ b/gtk4/src/auto/flatten_list_model.rs @@ -2,6 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT +use crate::ffi; #[cfg(feature = "v4_12")] #[cfg_attr(docsrs, doc(cfg(feature = "v4_12")))] use crate::SectionModel; diff --git a/gtk4/src/auto/flow_box.rs b/gtk4/src/auto/flow_box.rs index 2299666fb501..50cd2df4f071 100644 --- a/gtk4/src/auto/flow_box.rs +++ b/gtk4/src/auto/flow_box.rs @@ -3,7 +3,7 @@ // DO NOT EDIT use crate::{ - Accessible, AccessibleRole, Adjustment, Align, Buildable, ConstraintTarget, FlowBoxChild, + ffi, Accessible, AccessibleRole, Adjustment, Align, Buildable, ConstraintTarget, FlowBoxChild, LayoutManager, MovementStep, Orientable, Orientation, Overflow, SelectionMode, Widget, }; use glib::{ diff --git a/gtk4/src/auto/flow_box_child.rs b/gtk4/src/auto/flow_box_child.rs index d06c39e75e1c..d71e0f15ddeb 100644 --- a/gtk4/src/auto/flow_box_child.rs +++ b/gtk4/src/auto/flow_box_child.rs @@ -3,7 +3,8 @@ // DO NOT EDIT use crate::{ - Accessible, AccessibleRole, Align, Buildable, ConstraintTarget, LayoutManager, Overflow, Widget, + ffi, Accessible, AccessibleRole, Align, Buildable, ConstraintTarget, LayoutManager, Overflow, + Widget, }; use glib::{ prelude::*, diff --git a/gtk4/src/auto/font_button.rs b/gtk4/src/auto/font_button.rs index 8e16deb4b05a..76af3e8efcb0 100644 --- a/gtk4/src/auto/font_button.rs +++ b/gtk4/src/auto/font_button.rs @@ -4,8 +4,8 @@ #![allow(deprecated)] use crate::{ - Accessible, AccessibleRole, Align, Buildable, ConstraintTarget, FontChooser, FontChooserLevel, - LayoutManager, Overflow, Widget, + ffi, Accessible, AccessibleRole, Align, Buildable, ConstraintTarget, FontChooser, + FontChooserLevel, LayoutManager, Overflow, Widget, }; use glib::{ prelude::*, diff --git a/gtk4/src/auto/font_chooser.rs b/gtk4/src/auto/font_chooser.rs index f7a59241e9e0..29fe8f085c40 100644 --- a/gtk4/src/auto/font_chooser.rs +++ b/gtk4/src/auto/font_chooser.rs @@ -3,7 +3,7 @@ // DO NOT EDIT #![allow(deprecated)] -use crate::FontChooserLevel; +use crate::{ffi, FontChooserLevel}; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, diff --git a/gtk4/src/auto/font_chooser_dialog.rs b/gtk4/src/auto/font_chooser_dialog.rs index afe8e16bb9b8..3a97d64e22dc 100644 --- a/gtk4/src/auto/font_chooser_dialog.rs +++ b/gtk4/src/auto/font_chooser_dialog.rs @@ -4,7 +4,7 @@ #![allow(deprecated)] use crate::{ - Accessible, AccessibleRole, Align, Application, Buildable, ConstraintTarget, Dialog, + ffi, Accessible, AccessibleRole, Align, Application, Buildable, ConstraintTarget, Dialog, FontChooser, FontChooserLevel, LayoutManager, Native, Overflow, Root, ShortcutManager, Widget, Window, }; diff --git a/gtk4/src/auto/font_chooser_widget.rs b/gtk4/src/auto/font_chooser_widget.rs index ee5994303a6c..ace2919c4ce2 100644 --- a/gtk4/src/auto/font_chooser_widget.rs +++ b/gtk4/src/auto/font_chooser_widget.rs @@ -4,8 +4,8 @@ #![allow(deprecated)] use crate::{ - Accessible, AccessibleRole, Align, Buildable, ConstraintTarget, FontChooser, FontChooserLevel, - LayoutManager, Overflow, Widget, + ffi, Accessible, AccessibleRole, Align, Buildable, ConstraintTarget, FontChooser, + FontChooserLevel, LayoutManager, Overflow, Widget, }; use glib::{ prelude::*, diff --git a/gtk4/src/auto/font_dialog.rs b/gtk4/src/auto/font_dialog.rs index fb3c437a61ec..a05779c419f2 100644 --- a/gtk4/src/auto/font_dialog.rs +++ b/gtk4/src/auto/font_dialog.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::{Filter, Window}; +use crate::{ffi, Filter, Window}; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, diff --git a/gtk4/src/auto/font_dialog_button.rs b/gtk4/src/auto/font_dialog_button.rs index 75e00e89d6eb..1d11d0868b04 100644 --- a/gtk4/src/auto/font_dialog_button.rs +++ b/gtk4/src/auto/font_dialog_button.rs @@ -3,7 +3,7 @@ // DO NOT EDIT use crate::{ - Accessible, AccessibleRole, Align, Buildable, ConstraintTarget, FontDialog, FontLevel, + ffi, Accessible, AccessibleRole, Align, Buildable, ConstraintTarget, FontDialog, FontLevel, LayoutManager, Overflow, Widget, }; use glib::{ diff --git a/gtk4/src/auto/frame.rs b/gtk4/src/auto/frame.rs index b34e2ace2761..e2616236da69 100644 --- a/gtk4/src/auto/frame.rs +++ b/gtk4/src/auto/frame.rs @@ -3,7 +3,8 @@ // DO NOT EDIT use crate::{ - Accessible, AccessibleRole, Align, Buildable, ConstraintTarget, LayoutManager, Overflow, Widget, + ffi, Accessible, AccessibleRole, Align, Buildable, ConstraintTarget, LayoutManager, Overflow, + Widget, }; use glib::{ prelude::*, diff --git a/gtk4/src/auto/functions.rs b/gtk4/src/auto/functions.rs index 4537b48c5015..a44aac8acd0e 100644 --- a/gtk4/src/auto/functions.rs +++ b/gtk4/src/auto/functions.rs @@ -6,7 +6,7 @@ #[cfg_attr(docsrs, doc(cfg(target_os = "linux")))] use crate::Printer; use crate::{ - Accessible, AccessibleProperty, AccessibleRelation, AccessibleRole, AccessibleState, + ffi, Accessible, AccessibleProperty, AccessibleRelation, AccessibleRole, AccessibleState, DebugFlags, PageSetup, PrintSettings, StyleContext, TextDirection, TreeModel, TreePath, Widget, Window, }; diff --git a/gtk4/src/auto/gesture.rs b/gtk4/src/auto/gesture.rs index f0cc00e9717f..0ed6ea7e90eb 100644 --- a/gtk4/src/auto/gesture.rs +++ b/gtk4/src/auto/gesture.rs @@ -3,7 +3,7 @@ // DO NOT EDIT #![allow(deprecated)] -use crate::{EventController, EventSequenceState}; +use crate::{ffi, EventController, EventSequenceState}; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, diff --git a/gtk4/src/auto/gesture_click.rs b/gtk4/src/auto/gesture_click.rs index ee6cc44fdc53..215c2df43e9c 100644 --- a/gtk4/src/auto/gesture_click.rs +++ b/gtk4/src/auto/gesture_click.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::{EventController, Gesture, GestureSingle, PropagationLimit, PropagationPhase}; +use crate::{ffi, EventController, Gesture, GestureSingle, PropagationLimit, PropagationPhase}; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, diff --git a/gtk4/src/auto/gesture_drag.rs b/gtk4/src/auto/gesture_drag.rs index b73eba057581..19152529c323 100644 --- a/gtk4/src/auto/gesture_drag.rs +++ b/gtk4/src/auto/gesture_drag.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::{EventController, Gesture, GestureSingle, PropagationLimit, PropagationPhase}; +use crate::{ffi, EventController, Gesture, GestureSingle, PropagationLimit, PropagationPhase}; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, diff --git a/gtk4/src/auto/gesture_long_press.rs b/gtk4/src/auto/gesture_long_press.rs index c8b3c58441b5..f7166397bff8 100644 --- a/gtk4/src/auto/gesture_long_press.rs +++ b/gtk4/src/auto/gesture_long_press.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::{EventController, Gesture, GestureSingle, PropagationLimit, PropagationPhase}; +use crate::{ffi, EventController, Gesture, GestureSingle, PropagationLimit, PropagationPhase}; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, diff --git a/gtk4/src/auto/gesture_pan.rs b/gtk4/src/auto/gesture_pan.rs index df67a719e004..63c64971f825 100644 --- a/gtk4/src/auto/gesture_pan.rs +++ b/gtk4/src/auto/gesture_pan.rs @@ -3,7 +3,7 @@ // DO NOT EDIT use crate::{ - EventController, Gesture, GestureDrag, GestureSingle, Orientation, PanDirection, + ffi, EventController, Gesture, GestureDrag, GestureSingle, Orientation, PanDirection, PropagationLimit, PropagationPhase, }; use glib::{ diff --git a/gtk4/src/auto/gesture_rotate.rs b/gtk4/src/auto/gesture_rotate.rs index 6c055e9cd820..3ef25dbd3a70 100644 --- a/gtk4/src/auto/gesture_rotate.rs +++ b/gtk4/src/auto/gesture_rotate.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::{EventController, Gesture, PropagationLimit, PropagationPhase}; +use crate::{ffi, EventController, Gesture, PropagationLimit, PropagationPhase}; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, diff --git a/gtk4/src/auto/gesture_single.rs b/gtk4/src/auto/gesture_single.rs index 032987ce2a60..e147be0cf215 100644 --- a/gtk4/src/auto/gesture_single.rs +++ b/gtk4/src/auto/gesture_single.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::{EventController, Gesture}; +use crate::{ffi, EventController, Gesture}; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, diff --git a/gtk4/src/auto/gesture_stylus.rs b/gtk4/src/auto/gesture_stylus.rs index da99faf12d8c..d175093667c9 100644 --- a/gtk4/src/auto/gesture_stylus.rs +++ b/gtk4/src/auto/gesture_stylus.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::{EventController, Gesture, GestureSingle, PropagationLimit, PropagationPhase}; +use crate::{ffi, EventController, Gesture, GestureSingle, PropagationLimit, PropagationPhase}; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, diff --git a/gtk4/src/auto/gesture_swipe.rs b/gtk4/src/auto/gesture_swipe.rs index 4fffd2e624d0..e68b3dfab30b 100644 --- a/gtk4/src/auto/gesture_swipe.rs +++ b/gtk4/src/auto/gesture_swipe.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::{EventController, Gesture, GestureSingle, PropagationLimit, PropagationPhase}; +use crate::{ffi, EventController, Gesture, GestureSingle, PropagationLimit, PropagationPhase}; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, diff --git a/gtk4/src/auto/gesture_zoom.rs b/gtk4/src/auto/gesture_zoom.rs index 2e64ccebaf35..8d0ca2de8a45 100644 --- a/gtk4/src/auto/gesture_zoom.rs +++ b/gtk4/src/auto/gesture_zoom.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::{EventController, Gesture, PropagationLimit, PropagationPhase}; +use crate::{ffi, EventController, Gesture, PropagationLimit, PropagationPhase}; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, diff --git a/gtk4/src/auto/gl_area.rs b/gtk4/src/auto/gl_area.rs index a90336e15945..498bec8d6d72 100644 --- a/gtk4/src/auto/gl_area.rs +++ b/gtk4/src/auto/gl_area.rs @@ -4,7 +4,8 @@ #![allow(deprecated)] use crate::{ - Accessible, AccessibleRole, Align, Buildable, ConstraintTarget, LayoutManager, Overflow, Widget, + ffi, Accessible, AccessibleRole, Align, Buildable, ConstraintTarget, LayoutManager, Overflow, + Widget, }; use glib::{ prelude::*, diff --git a/gtk4/src/auto/graphics_offload.rs b/gtk4/src/auto/graphics_offload.rs index 9239541e9ffc..05690641dee2 100644 --- a/gtk4/src/auto/graphics_offload.rs +++ b/gtk4/src/auto/graphics_offload.rs @@ -3,7 +3,7 @@ // DO NOT EDIT use crate::{ - Accessible, AccessibleRole, Align, Buildable, ConstraintTarget, GraphicsOffloadEnabled, + ffi, Accessible, AccessibleRole, Align, Buildable, ConstraintTarget, GraphicsOffloadEnabled, LayoutManager, Overflow, Widget, }; use glib::{ diff --git a/gtk4/src/auto/grid.rs b/gtk4/src/auto/grid.rs index ae7b8dba7f5b..12363aee9e1b 100644 --- a/gtk4/src/auto/grid.rs +++ b/gtk4/src/auto/grid.rs @@ -3,7 +3,7 @@ // DO NOT EDIT use crate::{ - Accessible, AccessibleRole, Align, BaselinePosition, Buildable, ConstraintTarget, + ffi, Accessible, AccessibleRole, Align, BaselinePosition, Buildable, ConstraintTarget, LayoutManager, Orientable, Orientation, Overflow, PositionType, Widget, }; use glib::{ diff --git a/gtk4/src/auto/grid_layout.rs b/gtk4/src/auto/grid_layout.rs index cf49e1aaaa69..f6d4450873d3 100644 --- a/gtk4/src/auto/grid_layout.rs +++ b/gtk4/src/auto/grid_layout.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::{BaselinePosition, LayoutManager}; +use crate::{ffi, BaselinePosition, LayoutManager}; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, diff --git a/gtk4/src/auto/grid_layout_child.rs b/gtk4/src/auto/grid_layout_child.rs index 5a8094c1d282..a6460a15f5ea 100644 --- a/gtk4/src/auto/grid_layout_child.rs +++ b/gtk4/src/auto/grid_layout_child.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::LayoutChild; +use crate::{ffi, LayoutChild}; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, diff --git a/gtk4/src/auto/grid_view.rs b/gtk4/src/auto/grid_view.rs index a528b5876e90..82a526452cff 100644 --- a/gtk4/src/auto/grid_view.rs +++ b/gtk4/src/auto/grid_view.rs @@ -3,7 +3,7 @@ // DO NOT EDIT use crate::{ - Accessible, AccessibleRole, Adjustment, Align, Buildable, ConstraintTarget, LayoutManager, + ffi, Accessible, AccessibleRole, Adjustment, Align, Buildable, ConstraintTarget, LayoutManager, ListBase, ListItemFactory, Orientable, Orientation, Overflow, Scrollable, ScrollablePolicy, SelectionModel, Widget, }; diff --git a/gtk4/src/auto/header_bar.rs b/gtk4/src/auto/header_bar.rs index ca2851397a58..95584864a6de 100644 --- a/gtk4/src/auto/header_bar.rs +++ b/gtk4/src/auto/header_bar.rs @@ -3,7 +3,8 @@ // DO NOT EDIT use crate::{ - Accessible, AccessibleRole, Align, Buildable, ConstraintTarget, LayoutManager, Overflow, Widget, + ffi, Accessible, AccessibleRole, Align, Buildable, ConstraintTarget, LayoutManager, Overflow, + Widget, }; use glib::{ prelude::*, diff --git a/gtk4/src/auto/icon_paintable.rs b/gtk4/src/auto/icon_paintable.rs index 856fd2e0c401..8b7cb5021971 100644 --- a/gtk4/src/auto/icon_paintable.rs +++ b/gtk4/src/auto/icon_paintable.rs @@ -2,6 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT +use crate::ffi; #[cfg(feature = "v4_6")] #[cfg_attr(docsrs, doc(cfg(feature = "v4_6")))] use crate::SymbolicPaintable; diff --git a/gtk4/src/auto/icon_theme.rs b/gtk4/src/auto/icon_theme.rs index c47fe487596a..0fcb1945296d 100644 --- a/gtk4/src/auto/icon_theme.rs +++ b/gtk4/src/auto/icon_theme.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::{IconLookupFlags, IconPaintable, TextDirection}; +use crate::{ffi, IconLookupFlags, IconPaintable, TextDirection}; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, diff --git a/gtk4/src/auto/icon_view.rs b/gtk4/src/auto/icon_view.rs index b1ef7bf719f9..c19b8c5c55ae 100644 --- a/gtk4/src/auto/icon_view.rs +++ b/gtk4/src/auto/icon_view.rs @@ -4,9 +4,10 @@ #![allow(deprecated)] use crate::{ - Accessible, AccessibleRole, Adjustment, Align, Buildable, CellArea, CellLayout, CellRenderer, - ConstraintTarget, IconViewDropPosition, LayoutManager, MovementStep, Orientation, Overflow, - Scrollable, ScrollablePolicy, SelectionMode, Tooltip, TreeIter, TreeModel, TreePath, Widget, + ffi, Accessible, AccessibleRole, Adjustment, Align, Buildable, CellArea, CellLayout, + CellRenderer, ConstraintTarget, IconViewDropPosition, LayoutManager, MovementStep, Orientation, + Overflow, Scrollable, ScrollablePolicy, SelectionMode, Tooltip, TreeIter, TreeModel, TreePath, + Widget, }; use glib::{ prelude::*, diff --git a/gtk4/src/auto/im_context.rs b/gtk4/src/auto/im_context.rs index 62b03813028c..4c177ba9304d 100644 --- a/gtk4/src/auto/im_context.rs +++ b/gtk4/src/auto/im_context.rs @@ -3,7 +3,7 @@ // DO NOT EDIT #![allow(deprecated)] -use crate::{InputHints, InputPurpose, Widget}; +use crate::{ffi, InputHints, InputPurpose, Widget}; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, diff --git a/gtk4/src/auto/im_context_simple.rs b/gtk4/src/auto/im_context_simple.rs index 45654e389f27..53a4b1d49015 100644 --- a/gtk4/src/auto/im_context_simple.rs +++ b/gtk4/src/auto/im_context_simple.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::{IMContext, InputHints, InputPurpose}; +use crate::{ffi, IMContext, InputHints, InputPurpose}; use glib::{prelude::*, translate::*}; glib::wrapper! { diff --git a/gtk4/src/auto/im_multicontext.rs b/gtk4/src/auto/im_multicontext.rs index b848e20023f2..20e6c964c196 100644 --- a/gtk4/src/auto/im_multicontext.rs +++ b/gtk4/src/auto/im_multicontext.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::{IMContext, InputHints, InputPurpose}; +use crate::{ffi, IMContext, InputHints, InputPurpose}; use glib::{prelude::*, translate::*}; glib::wrapper! { diff --git a/gtk4/src/auto/image.rs b/gtk4/src/auto/image.rs index 86acc1a318ca..f2e3face4a67 100644 --- a/gtk4/src/auto/image.rs +++ b/gtk4/src/auto/image.rs @@ -4,7 +4,7 @@ #![allow(deprecated)] use crate::{ - Accessible, AccessibleRole, Align, Buildable, ConstraintTarget, IconSize, ImageType, + ffi, Accessible, AccessibleRole, Align, Buildable, ConstraintTarget, IconSize, ImageType, LayoutManager, Overflow, Widget, }; use glib::{ diff --git a/gtk4/src/auto/info_bar.rs b/gtk4/src/auto/info_bar.rs index f3c05bc0fe9a..24576544247c 100644 --- a/gtk4/src/auto/info_bar.rs +++ b/gtk4/src/auto/info_bar.rs @@ -4,7 +4,7 @@ #![allow(deprecated)] use crate::{ - Accessible, AccessibleRole, Align, Buildable, Button, ConstraintTarget, LayoutManager, + ffi, Accessible, AccessibleRole, Align, Buildable, Button, ConstraintTarget, LayoutManager, MessageType, Overflow, ResponseType, Widget, }; use glib::{ diff --git a/gtk4/src/auto/inscription.rs b/gtk4/src/auto/inscription.rs index d0469394bfe7..573c0d6bdd08 100644 --- a/gtk4/src/auto/inscription.rs +++ b/gtk4/src/auto/inscription.rs @@ -6,7 +6,7 @@ #[cfg_attr(docsrs, doc(cfg(feature = "v4_14")))] use crate::AccessibleText; use crate::{ - Accessible, AccessibleRole, Align, Buildable, ConstraintTarget, InscriptionOverflow, + ffi, Accessible, AccessibleRole, Align, Buildable, ConstraintTarget, InscriptionOverflow, LayoutManager, Overflow, Widget, }; use glib::{ diff --git a/gtk4/src/auto/label.rs b/gtk4/src/auto/label.rs index 00f6ec1f0f94..93992c193aa0 100644 --- a/gtk4/src/auto/label.rs +++ b/gtk4/src/auto/label.rs @@ -9,8 +9,8 @@ use crate::AccessibleText; #[cfg_attr(docsrs, doc(cfg(feature = "v4_6")))] use crate::NaturalWrapMode; use crate::{ - Accessible, AccessibleRole, Align, Buildable, ConstraintTarget, Justification, LayoutManager, - MovementStep, Overflow, Widget, + ffi, Accessible, AccessibleRole, Align, Buildable, ConstraintTarget, Justification, + LayoutManager, MovementStep, Overflow, Widget, }; use glib::{ prelude::*, diff --git a/gtk4/src/auto/layout_child.rs b/gtk4/src/auto/layout_child.rs index 0f3c1c3f6b36..05491d40d2b9 100644 --- a/gtk4/src/auto/layout_child.rs +++ b/gtk4/src/auto/layout_child.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::{LayoutManager, Widget}; +use crate::{ffi, LayoutManager, Widget}; use glib::{prelude::*, translate::*}; glib::wrapper! { diff --git a/gtk4/src/auto/layout_manager.rs b/gtk4/src/auto/layout_manager.rs index ef916c36e935..03c288f29d37 100644 --- a/gtk4/src/auto/layout_manager.rs +++ b/gtk4/src/auto/layout_manager.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::{LayoutChild, Orientation, SizeRequestMode, Widget}; +use crate::{ffi, LayoutChild, Orientation, SizeRequestMode, Widget}; use glib::{prelude::*, translate::*}; glib::wrapper! { diff --git a/gtk4/src/auto/level_bar.rs b/gtk4/src/auto/level_bar.rs index 8eaae1d9d1b0..561e3a0eaca5 100644 --- a/gtk4/src/auto/level_bar.rs +++ b/gtk4/src/auto/level_bar.rs @@ -6,8 +6,8 @@ #[cfg_attr(docsrs, doc(cfg(feature = "v4_10")))] use crate::AccessibleRange; use crate::{ - Accessible, AccessibleRole, Align, Buildable, ConstraintTarget, LayoutManager, LevelBarMode, - Orientable, Orientation, Overflow, Widget, + ffi, Accessible, AccessibleRole, Align, Buildable, ConstraintTarget, LayoutManager, + LevelBarMode, Orientable, Orientation, Overflow, Widget, }; use glib::{ prelude::*, diff --git a/gtk4/src/auto/link_button.rs b/gtk4/src/auto/link_button.rs index 3ea3ef09eb22..c06410750f66 100644 --- a/gtk4/src/auto/link_button.rs +++ b/gtk4/src/auto/link_button.rs @@ -3,7 +3,7 @@ // DO NOT EDIT use crate::{ - Accessible, AccessibleRole, Actionable, Align, Buildable, Button, ConstraintTarget, + ffi, Accessible, AccessibleRole, Actionable, Align, Buildable, Button, ConstraintTarget, LayoutManager, Overflow, Widget, }; use glib::{ diff --git a/gtk4/src/auto/list_base.rs b/gtk4/src/auto/list_base.rs index 6f0afe6f3b8f..72315c10b136 100644 --- a/gtk4/src/auto/list_base.rs +++ b/gtk4/src/auto/list_base.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::{Accessible, Buildable, ConstraintTarget, Orientable, Scrollable, Widget}; +use crate::{ffi, Accessible, Buildable, ConstraintTarget, Orientable, Scrollable, Widget}; glib::wrapper! { #[doc(alias = "GtkListBase")] diff --git a/gtk4/src/auto/list_box.rs b/gtk4/src/auto/list_box.rs index ef28fbfd8ce8..e1a276d67e99 100644 --- a/gtk4/src/auto/list_box.rs +++ b/gtk4/src/auto/list_box.rs @@ -3,7 +3,7 @@ // DO NOT EDIT use crate::{ - Accessible, AccessibleRole, Adjustment, Align, Buildable, ConstraintTarget, LayoutManager, + ffi, Accessible, AccessibleRole, Adjustment, Align, Buildable, ConstraintTarget, LayoutManager, ListBoxRow, MovementStep, Overflow, SelectionMode, Widget, }; use glib::{ diff --git a/gtk4/src/auto/list_box_row.rs b/gtk4/src/auto/list_box_row.rs index 8c4be0001385..6aadf0e194e1 100644 --- a/gtk4/src/auto/list_box_row.rs +++ b/gtk4/src/auto/list_box_row.rs @@ -3,7 +3,7 @@ // DO NOT EDIT use crate::{ - Accessible, AccessibleRole, Actionable, Align, Buildable, ConstraintTarget, LayoutManager, + ffi, Accessible, AccessibleRole, Actionable, Align, Buildable, ConstraintTarget, LayoutManager, Overflow, Widget, }; use glib::{ diff --git a/gtk4/src/auto/list_header.rs b/gtk4/src/auto/list_header.rs index 089415b05a1c..fcb7339070ee 100644 --- a/gtk4/src/auto/list_header.rs +++ b/gtk4/src/auto/list_header.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::Widget; +use crate::{ffi, Widget}; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, diff --git a/gtk4/src/auto/list_item.rs b/gtk4/src/auto/list_item.rs index 7debd48b00e9..c2cf8df28efa 100644 --- a/gtk4/src/auto/list_item.rs +++ b/gtk4/src/auto/list_item.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::Widget; +use crate::{ffi, Widget}; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, diff --git a/gtk4/src/auto/list_item_factory.rs b/gtk4/src/auto/list_item_factory.rs index e83c7700b7f1..34e1225d3c49 100644 --- a/gtk4/src/auto/list_item_factory.rs +++ b/gtk4/src/auto/list_item_factory.rs @@ -2,6 +2,8 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT +use crate::ffi; + glib::wrapper! { #[doc(alias = "GtkListItemFactory")] pub struct ListItemFactory(Object); diff --git a/gtk4/src/auto/list_store.rs b/gtk4/src/auto/list_store.rs index 5d470ed1189f..9d4c9ce316a0 100644 --- a/gtk4/src/auto/list_store.rs +++ b/gtk4/src/auto/list_store.rs @@ -3,7 +3,7 @@ // DO NOT EDIT #![allow(deprecated)] -use crate::{Buildable, TreeDragDest, TreeDragSource, TreeIter, TreeModel, TreeSortable}; +use crate::{ffi, Buildable, TreeDragDest, TreeDragSource, TreeIter, TreeModel, TreeSortable}; use glib::translate::*; glib::wrapper! { diff --git a/gtk4/src/auto/list_view.rs b/gtk4/src/auto/list_view.rs index d1aa6dba6219..bb9a129fbb68 100644 --- a/gtk4/src/auto/list_view.rs +++ b/gtk4/src/auto/list_view.rs @@ -3,7 +3,7 @@ // DO NOT EDIT use crate::{ - Accessible, AccessibleRole, Adjustment, Align, Buildable, ConstraintTarget, LayoutManager, + ffi, Accessible, AccessibleRole, Adjustment, Align, Buildable, ConstraintTarget, LayoutManager, ListBase, ListItemFactory, Orientable, Orientation, Overflow, Scrollable, ScrollablePolicy, SelectionModel, Widget, }; diff --git a/gtk4/src/auto/lock_button.rs b/gtk4/src/auto/lock_button.rs index fb52e832742a..bea661bee31d 100644 --- a/gtk4/src/auto/lock_button.rs +++ b/gtk4/src/auto/lock_button.rs @@ -4,7 +4,7 @@ #![allow(deprecated)] use crate::{ - Accessible, AccessibleRole, Actionable, Align, Buildable, Button, ConstraintTarget, + ffi, Accessible, AccessibleRole, Actionable, Align, Buildable, Button, ConstraintTarget, LayoutManager, Overflow, Widget, }; use glib::{ diff --git a/gtk4/src/auto/map_list_model.rs b/gtk4/src/auto/map_list_model.rs index 42cb1b018ee6..582de08da097 100644 --- a/gtk4/src/auto/map_list_model.rs +++ b/gtk4/src/auto/map_list_model.rs @@ -2,6 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT +use crate::ffi; #[cfg(feature = "v4_12")] #[cfg_attr(docsrs, doc(cfg(feature = "v4_12")))] use crate::SectionModel; diff --git a/gtk4/src/auto/media_controls.rs b/gtk4/src/auto/media_controls.rs index 35dca54c8d81..9be88bdfbc3b 100644 --- a/gtk4/src/auto/media_controls.rs +++ b/gtk4/src/auto/media_controls.rs @@ -3,8 +3,8 @@ // DO NOT EDIT use crate::{ - Accessible, AccessibleRole, Align, Buildable, ConstraintTarget, LayoutManager, MediaStream, - Overflow, Widget, + ffi, Accessible, AccessibleRole, Align, Buildable, ConstraintTarget, LayoutManager, + MediaStream, Overflow, Widget, }; use glib::{ prelude::*, diff --git a/gtk4/src/auto/media_file.rs b/gtk4/src/auto/media_file.rs index e8af66cf7548..14eba63ad319 100644 --- a/gtk4/src/auto/media_file.rs +++ b/gtk4/src/auto/media_file.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::MediaStream; +use crate::{ffi, MediaStream}; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, diff --git a/gtk4/src/auto/media_stream.rs b/gtk4/src/auto/media_stream.rs index dbaeca8d4d91..6804c2fb25c1 100644 --- a/gtk4/src/auto/media_stream.rs +++ b/gtk4/src/auto/media_stream.rs @@ -3,6 +3,7 @@ // DO NOT EDIT #![allow(deprecated)] +use crate::ffi; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, diff --git a/gtk4/src/auto/menu_button.rs b/gtk4/src/auto/menu_button.rs index b723cea57019..bfffdc9a6a72 100644 --- a/gtk4/src/auto/menu_button.rs +++ b/gtk4/src/auto/menu_button.rs @@ -3,7 +3,7 @@ // DO NOT EDIT use crate::{ - Accessible, AccessibleRole, Align, ArrowType, Buildable, ConstraintTarget, LayoutManager, + ffi, Accessible, AccessibleRole, Align, ArrowType, Buildable, ConstraintTarget, LayoutManager, Overflow, Popover, Widget, }; use glib::{ diff --git a/gtk4/src/auto/message_dialog.rs b/gtk4/src/auto/message_dialog.rs index d46c0c1100aa..2fce98ba3dfb 100644 --- a/gtk4/src/auto/message_dialog.rs +++ b/gtk4/src/auto/message_dialog.rs @@ -4,7 +4,7 @@ #![allow(deprecated)] use crate::{ - Accessible, AccessibleRole, Align, Application, Buildable, ButtonsType, ConstraintTarget, + ffi, Accessible, AccessibleRole, Align, Application, Buildable, ButtonsType, ConstraintTarget, Dialog, LayoutManager, MessageType, Native, Overflow, Root, ShortcutManager, Widget, Window, }; use glib::{ diff --git a/gtk4/src/auto/mnemonic_action.rs b/gtk4/src/auto/mnemonic_action.rs index 735ba885783a..b662b9e203a7 100644 --- a/gtk4/src/auto/mnemonic_action.rs +++ b/gtk4/src/auto/mnemonic_action.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::ShortcutAction; +use crate::{ffi, ShortcutAction}; use glib::translate::*; glib::wrapper! { diff --git a/gtk4/src/auto/mount_operation.rs b/gtk4/src/auto/mount_operation.rs index f3954954af1f..a368b50139ea 100644 --- a/gtk4/src/auto/mount_operation.rs +++ b/gtk4/src/auto/mount_operation.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::Window; +use crate::{ffi, Window}; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, diff --git a/gtk4/src/auto/multi_filter.rs b/gtk4/src/auto/multi_filter.rs index dcaaf8b152f6..060fc43185fe 100644 --- a/gtk4/src/auto/multi_filter.rs +++ b/gtk4/src/auto/multi_filter.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::{Buildable, Filter}; +use crate::{ffi, Buildable, Filter}; use glib::{prelude::*, translate::*}; glib::wrapper! { diff --git a/gtk4/src/auto/multi_selection.rs b/gtk4/src/auto/multi_selection.rs index b6969d8cb954..14d8d632abff 100644 --- a/gtk4/src/auto/multi_selection.rs +++ b/gtk4/src/auto/multi_selection.rs @@ -5,7 +5,7 @@ #[cfg(feature = "v4_12")] #[cfg_attr(docsrs, doc(cfg(feature = "v4_12")))] use crate::SectionModel; -use crate::SelectionModel; +use crate::{ffi, SelectionModel}; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, diff --git a/gtk4/src/auto/multi_sorter.rs b/gtk4/src/auto/multi_sorter.rs index fe053db219c2..1bba0338752b 100644 --- a/gtk4/src/auto/multi_sorter.rs +++ b/gtk4/src/auto/multi_sorter.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::{Buildable, Sorter}; +use crate::{ffi, Buildable, Sorter}; use glib::{prelude::*, translate::*}; glib::wrapper! { diff --git a/gtk4/src/auto/named_action.rs b/gtk4/src/auto/named_action.rs index dc3f2c78a21c..aa7f62d04385 100644 --- a/gtk4/src/auto/named_action.rs +++ b/gtk4/src/auto/named_action.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::ShortcutAction; +use crate::{ffi, ShortcutAction}; use glib::translate::*; glib::wrapper! { diff --git a/gtk4/src/auto/native.rs b/gtk4/src/auto/native.rs index 03e25327ec07..6fe63a831728 100644 --- a/gtk4/src/auto/native.rs +++ b/gtk4/src/auto/native.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::{Accessible, Buildable, ConstraintTarget, Widget}; +use crate::{ffi, Accessible, Buildable, ConstraintTarget, Widget}; use glib::{prelude::*, translate::*}; glib::wrapper! { diff --git a/gtk4/src/auto/native_dialog.rs b/gtk4/src/auto/native_dialog.rs index f66c7625b381..cbc39b353849 100644 --- a/gtk4/src/auto/native_dialog.rs +++ b/gtk4/src/auto/native_dialog.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::{ResponseType, Window}; +use crate::{ffi, ResponseType, Window}; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, diff --git a/gtk4/src/auto/never_trigger.rs b/gtk4/src/auto/never_trigger.rs index 9723018f71eb..223eba78fa15 100644 --- a/gtk4/src/auto/never_trigger.rs +++ b/gtk4/src/auto/never_trigger.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::ShortcutTrigger; +use crate::{ffi, ShortcutTrigger}; use glib::translate::*; glib::wrapper! { diff --git a/gtk4/src/auto/no_selection.rs b/gtk4/src/auto/no_selection.rs index 04d127d85581..79d557b44667 100644 --- a/gtk4/src/auto/no_selection.rs +++ b/gtk4/src/auto/no_selection.rs @@ -5,7 +5,7 @@ #[cfg(feature = "v4_12")] #[cfg_attr(docsrs, doc(cfg(feature = "v4_12")))] use crate::SectionModel; -use crate::SelectionModel; +use crate::{ffi, SelectionModel}; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, diff --git a/gtk4/src/auto/notebook.rs b/gtk4/src/auto/notebook.rs index 2e9c87701c22..beee8b51f862 100644 --- a/gtk4/src/auto/notebook.rs +++ b/gtk4/src/auto/notebook.rs @@ -3,8 +3,8 @@ // DO NOT EDIT use crate::{ - Accessible, AccessibleRole, Align, Buildable, ConstraintTarget, DirectionType, LayoutManager, - NotebookPage, NotebookTab, Overflow, PackType, PositionType, Widget, + ffi, Accessible, AccessibleRole, Align, Buildable, ConstraintTarget, DirectionType, + LayoutManager, NotebookPage, NotebookTab, Overflow, PackType, PositionType, Widget, }; use glib::{ prelude::*, diff --git a/gtk4/src/auto/notebook_page.rs b/gtk4/src/auto/notebook_page.rs index 3ab6dddc5e3f..488596cd2e9e 100644 --- a/gtk4/src/auto/notebook_page.rs +++ b/gtk4/src/auto/notebook_page.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::Widget; +use crate::{ffi, Widget}; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, diff --git a/gtk4/src/auto/nothing_action.rs b/gtk4/src/auto/nothing_action.rs index ff80233d4b20..1f40828fd29d 100644 --- a/gtk4/src/auto/nothing_action.rs +++ b/gtk4/src/auto/nothing_action.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::ShortcutAction; +use crate::{ffi, ShortcutAction}; use glib::translate::*; glib::wrapper! { diff --git a/gtk4/src/auto/numeric_sorter.rs b/gtk4/src/auto/numeric_sorter.rs index ece7287f5391..e85e1f68834c 100644 --- a/gtk4/src/auto/numeric_sorter.rs +++ b/gtk4/src/auto/numeric_sorter.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::{Expression, SortType, Sorter}; +use crate::{ffi, Expression, SortType, Sorter}; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, diff --git a/gtk4/src/auto/object_expression.rs b/gtk4/src/auto/object_expression.rs index e5b3b6c8cd37..c1bc16ff857a 100644 --- a/gtk4/src/auto/object_expression.rs +++ b/gtk4/src/auto/object_expression.rs @@ -2,6 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT +use crate::ffi; use glib::{prelude::*, translate::*}; glib::wrapper! { diff --git a/gtk4/src/auto/orientable.rs b/gtk4/src/auto/orientable.rs index fda8222ce343..8ef8f45362fe 100644 --- a/gtk4/src/auto/orientable.rs +++ b/gtk4/src/auto/orientable.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::Orientation; +use crate::{ffi, Orientation}; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, diff --git a/gtk4/src/auto/overlay.rs b/gtk4/src/auto/overlay.rs index 95b2d5aeb069..0419eab496b3 100644 --- a/gtk4/src/auto/overlay.rs +++ b/gtk4/src/auto/overlay.rs @@ -3,7 +3,8 @@ // DO NOT EDIT use crate::{ - Accessible, AccessibleRole, Align, Buildable, ConstraintTarget, LayoutManager, Overflow, Widget, + ffi, Accessible, AccessibleRole, Align, Buildable, ConstraintTarget, LayoutManager, Overflow, + Widget, }; use glib::{ prelude::*, diff --git a/gtk4/src/auto/overlay_layout.rs b/gtk4/src/auto/overlay_layout.rs index 59b8203fab9e..6f6d1743baf1 100644 --- a/gtk4/src/auto/overlay_layout.rs +++ b/gtk4/src/auto/overlay_layout.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::LayoutManager; +use crate::{ffi, LayoutManager}; use glib::{prelude::*, translate::*}; glib::wrapper! { diff --git a/gtk4/src/auto/overlay_layout_child.rs b/gtk4/src/auto/overlay_layout_child.rs index 1a10fd62e1ca..cc13942f2690 100644 --- a/gtk4/src/auto/overlay_layout_child.rs +++ b/gtk4/src/auto/overlay_layout_child.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::LayoutChild; +use crate::{ffi, LayoutChild}; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, diff --git a/gtk4/src/auto/pad_controller.rs b/gtk4/src/auto/pad_controller.rs index a501844bad84..506ed18f7d5a 100644 --- a/gtk4/src/auto/pad_controller.rs +++ b/gtk4/src/auto/pad_controller.rs @@ -2,7 +2,9 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::{EventController, PadActionEntry, PadActionType, PropagationLimit, PropagationPhase}; +use crate::{ + ffi, EventController, PadActionEntry, PadActionType, PropagationLimit, PropagationPhase, +}; use glib::{prelude::*, translate::*}; glib::wrapper! { diff --git a/gtk4/src/auto/page_setup.rs b/gtk4/src/auto/page_setup.rs index 57898571f78a..56f20371cca6 100644 --- a/gtk4/src/auto/page_setup.rs +++ b/gtk4/src/auto/page_setup.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::{PageOrientation, PaperSize, Unit}; +use crate::{ffi, PageOrientation, PaperSize, Unit}; use glib::translate::*; glib::wrapper! { diff --git a/gtk4/src/auto/page_setup_unix_dialog.rs b/gtk4/src/auto/page_setup_unix_dialog.rs index dfb10de8679b..e53a96d0b060 100644 --- a/gtk4/src/auto/page_setup_unix_dialog.rs +++ b/gtk4/src/auto/page_setup_unix_dialog.rs @@ -3,7 +3,7 @@ // DO NOT EDIT use crate::{ - Accessible, AccessibleRole, Align, Application, Buildable, ConstraintTarget, Dialog, + ffi, Accessible, AccessibleRole, Align, Application, Buildable, ConstraintTarget, Dialog, LayoutManager, Native, Overflow, PageSetup, PrintSettings, Root, ShortcutManager, Widget, Window, }; diff --git a/gtk4/src/auto/paned.rs b/gtk4/src/auto/paned.rs index 26fe8029f2a4..bf7e8f210f33 100644 --- a/gtk4/src/auto/paned.rs +++ b/gtk4/src/auto/paned.rs @@ -6,7 +6,7 @@ #[cfg_attr(docsrs, doc(cfg(feature = "v4_10")))] use crate::AccessibleRange; use crate::{ - Accessible, AccessibleRole, Align, Buildable, ConstraintTarget, LayoutManager, Orientable, + ffi, Accessible, AccessibleRole, Align, Buildable, ConstraintTarget, LayoutManager, Orientable, Orientation, Overflow, ScrollType, Widget, }; use glib::{ diff --git a/gtk4/src/auto/paper_size.rs b/gtk4/src/auto/paper_size.rs index 3b6820247e7d..ec3a5eb565f8 100644 --- a/gtk4/src/auto/paper_size.rs +++ b/gtk4/src/auto/paper_size.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::Unit; +use crate::{ffi, Unit}; use glib::translate::*; glib::wrapper! { diff --git a/gtk4/src/auto/param_spec_expression.rs b/gtk4/src/auto/param_spec_expression.rs index 9a71b56b0936..82e5e20c0081 100644 --- a/gtk4/src/auto/param_spec_expression.rs +++ b/gtk4/src/auto/param_spec_expression.rs @@ -2,6 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT +use crate::ffi; use glib::{prelude::*, translate::*}; glib::wrapper! { diff --git a/gtk4/src/auto/password_entry.rs b/gtk4/src/auto/password_entry.rs index f94faa7dbda6..3beecc261096 100644 --- a/gtk4/src/auto/password_entry.rs +++ b/gtk4/src/auto/password_entry.rs @@ -3,7 +3,7 @@ // DO NOT EDIT use crate::{ - Accessible, AccessibleRole, Align, Buildable, ConstraintTarget, Editable, LayoutManager, + ffi, Accessible, AccessibleRole, Align, Buildable, ConstraintTarget, Editable, LayoutManager, Overflow, Widget, }; use glib::{ diff --git a/gtk4/src/auto/password_entry_buffer.rs b/gtk4/src/auto/password_entry_buffer.rs index 0961890012ea..e3f11e27c3a6 100644 --- a/gtk4/src/auto/password_entry_buffer.rs +++ b/gtk4/src/auto/password_entry_buffer.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::EntryBuffer; +use crate::{ffi, EntryBuffer}; use glib::{prelude::*, translate::*}; glib::wrapper! { diff --git a/gtk4/src/auto/picture.rs b/gtk4/src/auto/picture.rs index e31ded53c2c0..7639ae6a6d01 100644 --- a/gtk4/src/auto/picture.rs +++ b/gtk4/src/auto/picture.rs @@ -7,7 +7,8 @@ #[cfg_attr(docsrs, doc(cfg(feature = "v4_8")))] use crate::ContentFit; use crate::{ - Accessible, AccessibleRole, Align, Buildable, ConstraintTarget, LayoutManager, Overflow, Widget, + ffi, Accessible, AccessibleRole, Align, Buildable, ConstraintTarget, LayoutManager, Overflow, + Widget, }; use glib::{ prelude::*, diff --git a/gtk4/src/auto/popover.rs b/gtk4/src/auto/popover.rs index 87e99fd87496..d897202a1e4e 100644 --- a/gtk4/src/auto/popover.rs +++ b/gtk4/src/auto/popover.rs @@ -3,7 +3,7 @@ // DO NOT EDIT use crate::{ - Accessible, AccessibleRole, Align, Buildable, ConstraintTarget, LayoutManager, Native, + ffi, Accessible, AccessibleRole, Align, Buildable, ConstraintTarget, LayoutManager, Native, Overflow, PositionType, ShortcutManager, Widget, }; use glib::{ diff --git a/gtk4/src/auto/popover_menu.rs b/gtk4/src/auto/popover_menu.rs index 8776d27d5d8a..b5cbb117fe8c 100644 --- a/gtk4/src/auto/popover_menu.rs +++ b/gtk4/src/auto/popover_menu.rs @@ -3,7 +3,7 @@ // DO NOT EDIT use crate::{ - Accessible, AccessibleRole, Align, Buildable, ConstraintTarget, LayoutManager, Native, + ffi, Accessible, AccessibleRole, Align, Buildable, ConstraintTarget, LayoutManager, Native, Overflow, Popover, PopoverMenuFlags, PositionType, ShortcutManager, Widget, }; use glib::{ diff --git a/gtk4/src/auto/popover_menu_bar.rs b/gtk4/src/auto/popover_menu_bar.rs index 6183487186cd..a77b7ade3388 100644 --- a/gtk4/src/auto/popover_menu_bar.rs +++ b/gtk4/src/auto/popover_menu_bar.rs @@ -3,7 +3,8 @@ // DO NOT EDIT use crate::{ - Accessible, AccessibleRole, Align, Buildable, ConstraintTarget, LayoutManager, Overflow, Widget, + ffi, Accessible, AccessibleRole, Align, Buildable, ConstraintTarget, LayoutManager, Overflow, + Widget, }; use glib::{ prelude::*, diff --git a/gtk4/src/auto/print_context.rs b/gtk4/src/auto/print_context.rs index a09f2dd51934..6d9720322dde 100644 --- a/gtk4/src/auto/print_context.rs +++ b/gtk4/src/auto/print_context.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::PageSetup; +use crate::{ffi, PageSetup}; use glib::translate::*; glib::wrapper! { diff --git a/gtk4/src/auto/print_dialog.rs b/gtk4/src/auto/print_dialog.rs index 8a7fd26905b5..9e5fbd1a1ae9 100644 --- a/gtk4/src/auto/print_dialog.rs +++ b/gtk4/src/auto/print_dialog.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::{PageSetup, PrintSettings, PrintSetup, Window}; +use crate::{ffi, PageSetup, PrintSettings, PrintSetup, Window}; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, diff --git a/gtk4/src/auto/print_job.rs b/gtk4/src/auto/print_job.rs index 8339072e1fae..c3a1c3b7da95 100644 --- a/gtk4/src/auto/print_job.rs +++ b/gtk4/src/auto/print_job.rs @@ -3,7 +3,8 @@ // DO NOT EDIT use crate::{ - NumberUpLayout, PageRange, PageSet, PageSetup, PrintPages, PrintSettings, PrintStatus, Printer, + ffi, NumberUpLayout, PageRange, PageSet, PageSetup, PrintPages, PrintSettings, PrintStatus, + Printer, }; use glib::{ prelude::*, diff --git a/gtk4/src/auto/print_operation.rs b/gtk4/src/auto/print_operation.rs index bfaca5de0de4..c227ea3974f4 100644 --- a/gtk4/src/auto/print_operation.rs +++ b/gtk4/src/auto/print_operation.rs @@ -3,8 +3,8 @@ // DO NOT EDIT use crate::{ - PageSetup, PrintContext, PrintOperationAction, PrintOperationPreview, PrintOperationResult, - PrintSettings, PrintStatus, Unit, Widget, Window, + ffi, PageSetup, PrintContext, PrintOperationAction, PrintOperationPreview, + PrintOperationResult, PrintSettings, PrintStatus, Unit, Widget, Window, }; use glib::{ prelude::*, diff --git a/gtk4/src/auto/print_operation_preview.rs b/gtk4/src/auto/print_operation_preview.rs index 2bca93af40b0..ce071e919ac5 100644 --- a/gtk4/src/auto/print_operation_preview.rs +++ b/gtk4/src/auto/print_operation_preview.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::{PageSetup, PrintContext}; +use crate::{ffi, PageSetup, PrintContext}; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, diff --git a/gtk4/src/auto/print_settings.rs b/gtk4/src/auto/print_settings.rs index eab0d0117e09..3f48b3dc1496 100644 --- a/gtk4/src/auto/print_settings.rs +++ b/gtk4/src/auto/print_settings.rs @@ -3,7 +3,7 @@ // DO NOT EDIT use crate::{ - NumberUpLayout, PageOrientation, PageRange, PageSet, PaperSize, PrintDuplex, PrintPages, + ffi, NumberUpLayout, PageOrientation, PageRange, PageSet, PaperSize, PrintDuplex, PrintPages, PrintQuality, Unit, }; use glib::translate::*; diff --git a/gtk4/src/auto/print_setup.rs b/gtk4/src/auto/print_setup.rs index c0f86575c7a9..82c6918e5969 100644 --- a/gtk4/src/auto/print_setup.rs +++ b/gtk4/src/auto/print_setup.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::{PageSetup, PrintSettings}; +use crate::{ffi, PageSetup, PrintSettings}; use glib::translate::*; glib::wrapper! { diff --git a/gtk4/src/auto/print_unix_dialog.rs b/gtk4/src/auto/print_unix_dialog.rs index 3dd39ace106c..63554400a0a3 100644 --- a/gtk4/src/auto/print_unix_dialog.rs +++ b/gtk4/src/auto/print_unix_dialog.rs @@ -3,7 +3,7 @@ // DO NOT EDIT use crate::{ - Accessible, AccessibleRole, Align, Application, Buildable, ConstraintTarget, Dialog, + ffi, Accessible, AccessibleRole, Align, Application, Buildable, ConstraintTarget, Dialog, LayoutManager, Native, Overflow, PageSetup, PrintCapabilities, PrintSettings, Printer, Root, ShortcutManager, Widget, Window, }; diff --git a/gtk4/src/auto/printer.rs b/gtk4/src/auto/printer.rs index c48bc8c5342a..3c6257b0d938 100644 --- a/gtk4/src/auto/printer.rs +++ b/gtk4/src/auto/printer.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::{PageSetup, PaperSize, PrintCapabilities}; +use crate::{ffi, PageSetup, PaperSize, PrintCapabilities}; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, diff --git a/gtk4/src/auto/progress_bar.rs b/gtk4/src/auto/progress_bar.rs index 7c559e3ca851..4e78f40b8c9f 100644 --- a/gtk4/src/auto/progress_bar.rs +++ b/gtk4/src/auto/progress_bar.rs @@ -6,7 +6,7 @@ #[cfg_attr(docsrs, doc(cfg(feature = "v4_10")))] use crate::AccessibleRange; use crate::{ - Accessible, AccessibleRole, Align, Buildable, ConstraintTarget, LayoutManager, Orientable, + ffi, Accessible, AccessibleRole, Align, Buildable, ConstraintTarget, LayoutManager, Orientable, Orientation, Overflow, Widget, }; use glib::{ diff --git a/gtk4/src/auto/property_expression.rs b/gtk4/src/auto/property_expression.rs index 2fbd1f3ec50c..ba7504cbbad3 100644 --- a/gtk4/src/auto/property_expression.rs +++ b/gtk4/src/auto/property_expression.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::Expression; +use crate::{ffi, Expression}; use glib::{prelude::*, translate::*}; glib::wrapper! { diff --git a/gtk4/src/auto/range.rs b/gtk4/src/auto/range.rs index 6b804d7e4804..6cb4d48b8d5d 100644 --- a/gtk4/src/auto/range.rs +++ b/gtk4/src/auto/range.rs @@ -5,7 +5,9 @@ #[cfg(feature = "v4_10")] #[cfg_attr(docsrs, doc(cfg(feature = "v4_10")))] use crate::AccessibleRange; -use crate::{Accessible, Adjustment, Buildable, ConstraintTarget, Orientable, ScrollType, Widget}; +use crate::{ + ffi, Accessible, Adjustment, Buildable, ConstraintTarget, Orientable, ScrollType, Widget, +}; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, diff --git a/gtk4/src/auto/recent_info.rs b/gtk4/src/auto/recent_info.rs index 942a9bfa9706..da4ee66d4b86 100644 --- a/gtk4/src/auto/recent_info.rs +++ b/gtk4/src/auto/recent_info.rs @@ -2,6 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT +use crate::ffi; use glib::translate::*; glib::wrapper! { diff --git a/gtk4/src/auto/recent_manager.rs b/gtk4/src/auto/recent_manager.rs index 5e2e24bc552e..345ef66e3c94 100644 --- a/gtk4/src/auto/recent_manager.rs +++ b/gtk4/src/auto/recent_manager.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::{RecentData, RecentInfo}; +use crate::{ffi, RecentData, RecentInfo}; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, diff --git a/gtk4/src/auto/requisition.rs b/gtk4/src/auto/requisition.rs index 6f2d8fe6c9da..3613043827f0 100644 --- a/gtk4/src/auto/requisition.rs +++ b/gtk4/src/auto/requisition.rs @@ -2,6 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT +use crate::ffi; use glib::translate::*; glib::wrapper! { diff --git a/gtk4/src/auto/revealer.rs b/gtk4/src/auto/revealer.rs index 3bf1e02e5662..a5cd906a2f74 100644 --- a/gtk4/src/auto/revealer.rs +++ b/gtk4/src/auto/revealer.rs @@ -3,7 +3,7 @@ // DO NOT EDIT use crate::{ - Accessible, AccessibleRole, Align, Buildable, ConstraintTarget, LayoutManager, Overflow, + ffi, Accessible, AccessibleRole, Align, Buildable, ConstraintTarget, LayoutManager, Overflow, RevealerTransitionType, Widget, }; use glib::{ diff --git a/gtk4/src/auto/root.rs b/gtk4/src/auto/root.rs index 02d9fcd56eba..083b5a3a872b 100644 --- a/gtk4/src/auto/root.rs +++ b/gtk4/src/auto/root.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::{Accessible, Buildable, ConstraintTarget, Native, Widget}; +use crate::{ffi, Accessible, Buildable, ConstraintTarget, Native, Widget}; use glib::{prelude::*, translate::*}; glib::wrapper! { diff --git a/gtk4/src/auto/scale.rs b/gtk4/src/auto/scale.rs index 940abc9b6077..808d980d0964 100644 --- a/gtk4/src/auto/scale.rs +++ b/gtk4/src/auto/scale.rs @@ -6,7 +6,7 @@ #[cfg_attr(docsrs, doc(cfg(feature = "v4_10")))] use crate::AccessibleRange; use crate::{ - Accessible, AccessibleRole, Adjustment, Align, Buildable, ConstraintTarget, LayoutManager, + ffi, Accessible, AccessibleRole, Adjustment, Align, Buildable, ConstraintTarget, LayoutManager, Orientable, Orientation, Overflow, PositionType, Range, Widget, }; use glib::{ diff --git a/gtk4/src/auto/scale_button.rs b/gtk4/src/auto/scale_button.rs index ed43cca9f72a..4d9f107f4711 100644 --- a/gtk4/src/auto/scale_button.rs +++ b/gtk4/src/auto/scale_button.rs @@ -6,7 +6,7 @@ #[cfg_attr(docsrs, doc(cfg(feature = "v4_10")))] use crate::AccessibleRange; use crate::{ - Accessible, AccessibleRole, Adjustment, Align, Buildable, Button, ConstraintTarget, + ffi, Accessible, AccessibleRole, Adjustment, Align, Buildable, Button, ConstraintTarget, LayoutManager, Orientable, Orientation, Overflow, Widget, }; use glib::{ diff --git a/gtk4/src/auto/scroll_info.rs b/gtk4/src/auto/scroll_info.rs index 1ed30be3ea22..e333b723a5e6 100644 --- a/gtk4/src/auto/scroll_info.rs +++ b/gtk4/src/auto/scroll_info.rs @@ -2,6 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT +use crate::ffi; use glib::translate::*; glib::wrapper! { diff --git a/gtk4/src/auto/scrollable.rs b/gtk4/src/auto/scrollable.rs index 3033303978b8..a862eb53ae1e 100644 --- a/gtk4/src/auto/scrollable.rs +++ b/gtk4/src/auto/scrollable.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::{Adjustment, Border, ScrollablePolicy}; +use crate::{ffi, Adjustment, Border, ScrollablePolicy}; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, diff --git a/gtk4/src/auto/scrollbar.rs b/gtk4/src/auto/scrollbar.rs index ac9d5b793df4..7ddbbc250b3a 100644 --- a/gtk4/src/auto/scrollbar.rs +++ b/gtk4/src/auto/scrollbar.rs @@ -6,7 +6,7 @@ #[cfg_attr(docsrs, doc(cfg(feature = "v4_10")))] use crate::AccessibleRange; use crate::{ - Accessible, AccessibleRole, Adjustment, Align, Buildable, ConstraintTarget, LayoutManager, + ffi, Accessible, AccessibleRole, Adjustment, Align, Buildable, ConstraintTarget, LayoutManager, Orientable, Orientation, Overflow, Widget, }; use glib::{ diff --git a/gtk4/src/auto/scrolled_window.rs b/gtk4/src/auto/scrolled_window.rs index f5f52f44e98f..0239ad6ede64 100644 --- a/gtk4/src/auto/scrolled_window.rs +++ b/gtk4/src/auto/scrolled_window.rs @@ -3,7 +3,7 @@ // DO NOT EDIT use crate::{ - Accessible, AccessibleRole, Adjustment, Align, Buildable, ConstraintTarget, CornerType, + ffi, Accessible, AccessibleRole, Adjustment, Align, Buildable, ConstraintTarget, CornerType, DirectionType, LayoutManager, Overflow, PolicyType, PositionType, ScrollType, Widget, }; use glib::{ diff --git a/gtk4/src/auto/search_bar.rs b/gtk4/src/auto/search_bar.rs index 2433cfede21e..f7b1159ff85d 100644 --- a/gtk4/src/auto/search_bar.rs +++ b/gtk4/src/auto/search_bar.rs @@ -3,7 +3,7 @@ // DO NOT EDIT use crate::{ - Accessible, AccessibleRole, Align, Buildable, ConstraintTarget, Editable, LayoutManager, + ffi, Accessible, AccessibleRole, Align, Buildable, ConstraintTarget, Editable, LayoutManager, Overflow, Widget, }; use glib::{ diff --git a/gtk4/src/auto/search_entry.rs b/gtk4/src/auto/search_entry.rs index e27d3c172a29..d04f320692ca 100644 --- a/gtk4/src/auto/search_entry.rs +++ b/gtk4/src/auto/search_entry.rs @@ -3,7 +3,7 @@ // DO NOT EDIT use crate::{ - Accessible, AccessibleRole, Align, Buildable, ConstraintTarget, Editable, LayoutManager, + ffi, Accessible, AccessibleRole, Align, Buildable, ConstraintTarget, Editable, LayoutManager, Overflow, Widget, }; #[cfg(feature = "v4_14")] diff --git a/gtk4/src/auto/section_model.rs b/gtk4/src/auto/section_model.rs index a633abe0cdf6..5423c8243842 100644 --- a/gtk4/src/auto/section_model.rs +++ b/gtk4/src/auto/section_model.rs @@ -2,6 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT +use crate::ffi; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, diff --git a/gtk4/src/auto/selection_filter_model.rs b/gtk4/src/auto/selection_filter_model.rs index 6374f233209b..1bb89172045a 100644 --- a/gtk4/src/auto/selection_filter_model.rs +++ b/gtk4/src/auto/selection_filter_model.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::SelectionModel; +use crate::{ffi, SelectionModel}; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, diff --git a/gtk4/src/auto/selection_model.rs b/gtk4/src/auto/selection_model.rs index ce4e53d397d2..af621ef35fae 100644 --- a/gtk4/src/auto/selection_model.rs +++ b/gtk4/src/auto/selection_model.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::Bitset; +use crate::{ffi, Bitset}; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, diff --git a/gtk4/src/auto/separator.rs b/gtk4/src/auto/separator.rs index 784b347c2bc7..151e9ac512da 100644 --- a/gtk4/src/auto/separator.rs +++ b/gtk4/src/auto/separator.rs @@ -3,7 +3,7 @@ // DO NOT EDIT use crate::{ - Accessible, AccessibleRole, Align, Buildable, ConstraintTarget, LayoutManager, Orientable, + ffi, Accessible, AccessibleRole, Align, Buildable, ConstraintTarget, LayoutManager, Orientable, Orientation, Overflow, Widget, }; use glib::{prelude::*, translate::*}; diff --git a/gtk4/src/auto/settings.rs b/gtk4/src/auto/settings.rs index 6e726dbd7494..c2a1cfde0f77 100644 --- a/gtk4/src/auto/settings.rs +++ b/gtk4/src/auto/settings.rs @@ -5,7 +5,7 @@ #[cfg(feature = "v4_16")] #[cfg_attr(docsrs, doc(cfg(feature = "v4_16")))] use crate::FontRendering; -use crate::StyleProvider; +use crate::{ffi, StyleProvider}; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, diff --git a/gtk4/src/auto/shortcut.rs b/gtk4/src/auto/shortcut.rs index dd6b62b37a8a..ddb6b856a326 100644 --- a/gtk4/src/auto/shortcut.rs +++ b/gtk4/src/auto/shortcut.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::{ShortcutAction, ShortcutTrigger}; +use crate::{ffi, ShortcutAction, ShortcutTrigger}; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, diff --git a/gtk4/src/auto/shortcut_action.rs b/gtk4/src/auto/shortcut_action.rs index f27fd7dc5df1..00df1d133f28 100644 --- a/gtk4/src/auto/shortcut_action.rs +++ b/gtk4/src/auto/shortcut_action.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::{ShortcutActionFlags, Widget}; +use crate::{ffi, ShortcutActionFlags, Widget}; use glib::{prelude::*, translate::*}; glib::wrapper! { diff --git a/gtk4/src/auto/shortcut_controller.rs b/gtk4/src/auto/shortcut_controller.rs index 1a139a0b4026..7facfc3a3230 100644 --- a/gtk4/src/auto/shortcut_controller.rs +++ b/gtk4/src/auto/shortcut_controller.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::{Buildable, EventController, Shortcut, ShortcutScope}; +use crate::{ffi, Buildable, EventController, Shortcut, ShortcutScope}; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, diff --git a/gtk4/src/auto/shortcut_label.rs b/gtk4/src/auto/shortcut_label.rs index d65f02e9a44d..ceb41f8d3ec5 100644 --- a/gtk4/src/auto/shortcut_label.rs +++ b/gtk4/src/auto/shortcut_label.rs @@ -3,7 +3,8 @@ // DO NOT EDIT use crate::{ - Accessible, AccessibleRole, Align, Buildable, ConstraintTarget, LayoutManager, Overflow, Widget, + ffi, Accessible, AccessibleRole, Align, Buildable, ConstraintTarget, LayoutManager, Overflow, + Widget, }; use glib::{ prelude::*, diff --git a/gtk4/src/auto/shortcut_manager.rs b/gtk4/src/auto/shortcut_manager.rs index 27462cb0b928..d74dc828e368 100644 --- a/gtk4/src/auto/shortcut_manager.rs +++ b/gtk4/src/auto/shortcut_manager.rs @@ -2,6 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT +use crate::ffi; use glib::prelude::*; glib::wrapper! { diff --git a/gtk4/src/auto/shortcut_trigger.rs b/gtk4/src/auto/shortcut_trigger.rs index a9277d814eb0..bc2c8a60bdcb 100644 --- a/gtk4/src/auto/shortcut_trigger.rs +++ b/gtk4/src/auto/shortcut_trigger.rs @@ -2,6 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT +use crate::ffi; use glib::{prelude::*, translate::*}; glib::wrapper! { diff --git a/gtk4/src/auto/shortcuts_group.rs b/gtk4/src/auto/shortcuts_group.rs index 4b92b57e5521..61a0c6f20ad6 100644 --- a/gtk4/src/auto/shortcuts_group.rs +++ b/gtk4/src/auto/shortcuts_group.rs @@ -6,7 +6,7 @@ #[cfg_attr(docsrs, doc(cfg(feature = "v4_14")))] use crate::ShortcutsShortcut; use crate::{ - Accessible, AccessibleRole, Align, BaselinePosition, Box, Buildable, ConstraintTarget, + ffi, Accessible, AccessibleRole, Align, BaselinePosition, Box, Buildable, ConstraintTarget, LayoutManager, Orientable, Orientation, Overflow, SizeGroup, Widget, }; use glib::{ diff --git a/gtk4/src/auto/shortcuts_section.rs b/gtk4/src/auto/shortcuts_section.rs index 2ea55798ff30..be4efbb9d8b7 100644 --- a/gtk4/src/auto/shortcuts_section.rs +++ b/gtk4/src/auto/shortcuts_section.rs @@ -6,7 +6,7 @@ #[cfg_attr(docsrs, doc(cfg(feature = "v4_14")))] use crate::ShortcutsGroup; use crate::{ - Accessible, AccessibleRole, Align, BaselinePosition, Box, Buildable, ConstraintTarget, + ffi, Accessible, AccessibleRole, Align, BaselinePosition, Box, Buildable, ConstraintTarget, LayoutManager, Orientable, Orientation, Overflow, Widget, }; use glib::{ diff --git a/gtk4/src/auto/shortcuts_shortcut.rs b/gtk4/src/auto/shortcuts_shortcut.rs index 6aeabda45042..cfa9a805f899 100644 --- a/gtk4/src/auto/shortcuts_shortcut.rs +++ b/gtk4/src/auto/shortcuts_shortcut.rs @@ -3,7 +3,7 @@ // DO NOT EDIT use crate::{ - Accessible, AccessibleRole, Align, Buildable, ConstraintTarget, LayoutManager, Overflow, + ffi, Accessible, AccessibleRole, Align, Buildable, ConstraintTarget, LayoutManager, Overflow, ShortcutType, SizeGroup, TextDirection, Widget, }; use glib::{ diff --git a/gtk4/src/auto/shortcuts_window.rs b/gtk4/src/auto/shortcuts_window.rs index ae8594fff7eb..7a47c6671e55 100644 --- a/gtk4/src/auto/shortcuts_window.rs +++ b/gtk4/src/auto/shortcuts_window.rs @@ -6,8 +6,8 @@ #[cfg_attr(docsrs, doc(cfg(feature = "v4_14")))] use crate::ShortcutsSection; use crate::{ - Accessible, AccessibleRole, Align, Application, Buildable, ConstraintTarget, LayoutManager, - Native, Overflow, Root, ShortcutManager, Widget, Window, + ffi, Accessible, AccessibleRole, Align, Application, Buildable, ConstraintTarget, + LayoutManager, Native, Overflow, Root, ShortcutManager, Widget, Window, }; use glib::{ prelude::*, diff --git a/gtk4/src/auto/signal_action.rs b/gtk4/src/auto/signal_action.rs index 38389754d0c5..bf998fee5a35 100644 --- a/gtk4/src/auto/signal_action.rs +++ b/gtk4/src/auto/signal_action.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::ShortcutAction; +use crate::{ffi, ShortcutAction}; use glib::translate::*; glib::wrapper! { diff --git a/gtk4/src/auto/signal_list_item_factory.rs b/gtk4/src/auto/signal_list_item_factory.rs index a3a98b760190..a22d310dd99c 100644 --- a/gtk4/src/auto/signal_list_item_factory.rs +++ b/gtk4/src/auto/signal_list_item_factory.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::ListItemFactory; +use crate::{ffi, ListItemFactory}; #[cfg(feature = "v4_8")] #[cfg_attr(docsrs, doc(cfg(feature = "v4_8")))] use glib::signal::{connect_raw, SignalHandlerId}; diff --git a/gtk4/src/auto/single_selection.rs b/gtk4/src/auto/single_selection.rs index 9ee8dcee9730..71c5921451c6 100644 --- a/gtk4/src/auto/single_selection.rs +++ b/gtk4/src/auto/single_selection.rs @@ -5,7 +5,7 @@ #[cfg(feature = "v4_12")] #[cfg_attr(docsrs, doc(cfg(feature = "v4_12")))] use crate::SectionModel; -use crate::SelectionModel; +use crate::{ffi, SelectionModel}; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, diff --git a/gtk4/src/auto/size_group.rs b/gtk4/src/auto/size_group.rs index 8b964043afeb..f9d578842388 100644 --- a/gtk4/src/auto/size_group.rs +++ b/gtk4/src/auto/size_group.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::{Buildable, SizeGroupMode, Widget}; +use crate::{ffi, Buildable, SizeGroupMode, Widget}; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, diff --git a/gtk4/src/auto/slice_list_model.rs b/gtk4/src/auto/slice_list_model.rs index e0851d4dab78..2de5474ccffe 100644 --- a/gtk4/src/auto/slice_list_model.rs +++ b/gtk4/src/auto/slice_list_model.rs @@ -2,6 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT +use crate::ffi; #[cfg(feature = "v4_12")] #[cfg_attr(docsrs, doc(cfg(feature = "v4_12")))] use crate::SectionModel; diff --git a/gtk4/src/auto/snapshot.rs b/gtk4/src/auto/snapshot.rs index 77612c051bcf..5113ccac370d 100644 --- a/gtk4/src/auto/snapshot.rs +++ b/gtk4/src/auto/snapshot.rs @@ -3,7 +3,7 @@ // DO NOT EDIT #![allow(deprecated)] -use crate::StyleContext; +use crate::{ffi, StyleContext}; use glib::{prelude::*, translate::*}; glib::wrapper! { diff --git a/gtk4/src/auto/sort_list_model.rs b/gtk4/src/auto/sort_list_model.rs index 71830825c95a..7c2b9dce6058 100644 --- a/gtk4/src/auto/sort_list_model.rs +++ b/gtk4/src/auto/sort_list_model.rs @@ -5,7 +5,7 @@ #[cfg(feature = "v4_12")] #[cfg_attr(docsrs, doc(cfg(feature = "v4_12")))] use crate::SectionModel; -use crate::Sorter; +use crate::{ffi, Sorter}; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, diff --git a/gtk4/src/auto/sorter.rs b/gtk4/src/auto/sorter.rs index fb0719415476..74d6ee7a12e2 100644 --- a/gtk4/src/auto/sorter.rs +++ b/gtk4/src/auto/sorter.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::{Ordering, SorterChange, SorterOrder}; +use crate::{ffi, Ordering, SorterChange, SorterOrder}; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, diff --git a/gtk4/src/auto/spin_button.rs b/gtk4/src/auto/spin_button.rs index 6aa8e474114a..54a38882d635 100644 --- a/gtk4/src/auto/spin_button.rs +++ b/gtk4/src/auto/spin_button.rs @@ -6,7 +6,7 @@ #[cfg_attr(docsrs, doc(cfg(feature = "v4_10")))] use crate::AccessibleRange; use crate::{ - Accessible, AccessibleRole, Adjustment, Align, Buildable, CellEditable, ConstraintTarget, + ffi, Accessible, AccessibleRole, Adjustment, Align, Buildable, CellEditable, ConstraintTarget, Editable, LayoutManager, Orientable, Orientation, Overflow, ScrollType, SpinButtonUpdatePolicy, SpinType, Widget, }; diff --git a/gtk4/src/auto/spinner.rs b/gtk4/src/auto/spinner.rs index 87b570a67bcf..cda481a07f53 100644 --- a/gtk4/src/auto/spinner.rs +++ b/gtk4/src/auto/spinner.rs @@ -3,7 +3,8 @@ // DO NOT EDIT use crate::{ - Accessible, AccessibleRole, Align, Buildable, ConstraintTarget, LayoutManager, Overflow, Widget, + ffi, Accessible, AccessibleRole, Align, Buildable, ConstraintTarget, LayoutManager, Overflow, + Widget, }; use glib::{ prelude::*, diff --git a/gtk4/src/auto/stack.rs b/gtk4/src/auto/stack.rs index 81d4665be36c..29de16ef3cc4 100644 --- a/gtk4/src/auto/stack.rs +++ b/gtk4/src/auto/stack.rs @@ -3,7 +3,7 @@ // DO NOT EDIT use crate::{ - Accessible, AccessibleRole, Align, Buildable, ConstraintTarget, LayoutManager, Overflow, + ffi, Accessible, AccessibleRole, Align, Buildable, ConstraintTarget, LayoutManager, Overflow, SelectionModel, StackPage, StackTransitionType, Widget, }; use glib::{ diff --git a/gtk4/src/auto/stack_page.rs b/gtk4/src/auto/stack_page.rs index 5009d892e773..1509ec10e942 100644 --- a/gtk4/src/auto/stack_page.rs +++ b/gtk4/src/auto/stack_page.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::{Accessible, Widget}; +use crate::{ffi, Accessible, Widget}; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, diff --git a/gtk4/src/auto/stack_sidebar.rs b/gtk4/src/auto/stack_sidebar.rs index 45757fbf77c5..40dc7c81e881 100644 --- a/gtk4/src/auto/stack_sidebar.rs +++ b/gtk4/src/auto/stack_sidebar.rs @@ -3,8 +3,8 @@ // DO NOT EDIT use crate::{ - Accessible, AccessibleRole, Align, Buildable, ConstraintTarget, LayoutManager, Overflow, Stack, - Widget, + ffi, Accessible, AccessibleRole, Align, Buildable, ConstraintTarget, LayoutManager, Overflow, + Stack, Widget, }; use glib::{ prelude::*, diff --git a/gtk4/src/auto/stack_switcher.rs b/gtk4/src/auto/stack_switcher.rs index 2c776e1305df..f37b80500525 100644 --- a/gtk4/src/auto/stack_switcher.rs +++ b/gtk4/src/auto/stack_switcher.rs @@ -3,7 +3,7 @@ // DO NOT EDIT use crate::{ - Accessible, AccessibleRole, Align, Buildable, ConstraintTarget, LayoutManager, Orientable, + ffi, Accessible, AccessibleRole, Align, Buildable, ConstraintTarget, LayoutManager, Orientable, Orientation, Overflow, Stack, Widget, }; use glib::{ diff --git a/gtk4/src/auto/statusbar.rs b/gtk4/src/auto/statusbar.rs index b6560c4c7379..056dca83e744 100644 --- a/gtk4/src/auto/statusbar.rs +++ b/gtk4/src/auto/statusbar.rs @@ -4,7 +4,8 @@ #![allow(deprecated)] use crate::{ - Accessible, AccessibleRole, Align, Buildable, ConstraintTarget, LayoutManager, Overflow, Widget, + ffi, Accessible, AccessibleRole, Align, Buildable, ConstraintTarget, LayoutManager, Overflow, + Widget, }; use glib::{ prelude::*, diff --git a/gtk4/src/auto/string_filter.rs b/gtk4/src/auto/string_filter.rs index 277f75ab9736..8fabdd6446d6 100644 --- a/gtk4/src/auto/string_filter.rs +++ b/gtk4/src/auto/string_filter.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::{Expression, Filter, StringFilterMatchMode}; +use crate::{ffi, Expression, Filter, StringFilterMatchMode}; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, diff --git a/gtk4/src/auto/string_list.rs b/gtk4/src/auto/string_list.rs index b0fd3493bf7c..d5fe0cd756b4 100644 --- a/gtk4/src/auto/string_list.rs +++ b/gtk4/src/auto/string_list.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::Buildable; +use crate::{ffi, Buildable}; use glib::translate::*; glib::wrapper! { diff --git a/gtk4/src/auto/string_object.rs b/gtk4/src/auto/string_object.rs index 480bc6571415..f0af826a9dda 100644 --- a/gtk4/src/auto/string_object.rs +++ b/gtk4/src/auto/string_object.rs @@ -2,6 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT +use crate::ffi; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, diff --git a/gtk4/src/auto/string_sorter.rs b/gtk4/src/auto/string_sorter.rs index 1085b36dffea..2967312926ec 100644 --- a/gtk4/src/auto/string_sorter.rs +++ b/gtk4/src/auto/string_sorter.rs @@ -5,7 +5,7 @@ #[cfg(feature = "v4_10")] #[cfg_attr(docsrs, doc(cfg(feature = "v4_10")))] use crate::Collation; -use crate::{Expression, Sorter}; +use crate::{ffi, Expression, Sorter}; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, diff --git a/gtk4/src/auto/style_context.rs b/gtk4/src/auto/style_context.rs index 9d14bd0f44a6..c63b6e857a44 100644 --- a/gtk4/src/auto/style_context.rs +++ b/gtk4/src/auto/style_context.rs @@ -3,7 +3,7 @@ // DO NOT EDIT #![allow(deprecated)] -use crate::{Border, StateFlags, StyleContextPrintFlags, StyleProvider}; +use crate::{ffi, Border, StateFlags, StyleContextPrintFlags, StyleProvider}; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, diff --git a/gtk4/src/auto/style_provider.rs b/gtk4/src/auto/style_provider.rs index 2a9e9fc182ec..8a64b8b86a29 100644 --- a/gtk4/src/auto/style_provider.rs +++ b/gtk4/src/auto/style_provider.rs @@ -2,6 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT +use crate::ffi; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, diff --git a/gtk4/src/auto/switch.rs b/gtk4/src/auto/switch.rs index a1aa30dd2fd8..2d3d5bed683c 100644 --- a/gtk4/src/auto/switch.rs +++ b/gtk4/src/auto/switch.rs @@ -3,7 +3,7 @@ // DO NOT EDIT use crate::{ - Accessible, AccessibleRole, Actionable, Align, Buildable, ConstraintTarget, LayoutManager, + ffi, Accessible, AccessibleRole, Actionable, Align, Buildable, ConstraintTarget, LayoutManager, Overflow, Widget, }; use glib::{ diff --git a/gtk4/src/auto/symbolic_paintable.rs b/gtk4/src/auto/symbolic_paintable.rs index 310c31934819..369e1246b7e8 100644 --- a/gtk4/src/auto/symbolic_paintable.rs +++ b/gtk4/src/auto/symbolic_paintable.rs @@ -2,6 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT +use crate::ffi; use glib::{prelude::*, translate::*}; glib::wrapper! { diff --git a/gtk4/src/auto/text.rs b/gtk4/src/auto/text.rs index 34cd973a83be..707560803754 100644 --- a/gtk4/src/auto/text.rs +++ b/gtk4/src/auto/text.rs @@ -6,7 +6,7 @@ #[cfg_attr(docsrs, doc(cfg(feature = "v4_14")))] use crate::AccessibleText; use crate::{ - Accessible, AccessibleRole, Align, Buildable, ConstraintTarget, Editable, EntryBuffer, + ffi, Accessible, AccessibleRole, Align, Buildable, ConstraintTarget, Editable, EntryBuffer, InputHints, InputPurpose, LayoutManager, Overflow, Widget, }; use glib::{ diff --git a/gtk4/src/auto/text_buffer.rs b/gtk4/src/auto/text_buffer.rs index 598846d605f5..8c97ec6098c1 100644 --- a/gtk4/src/auto/text_buffer.rs +++ b/gtk4/src/auto/text_buffer.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::{TextChildAnchor, TextIter, TextMark, TextTag, TextTagTable}; +use crate::{ffi, TextChildAnchor, TextIter, TextMark, TextTag, TextTagTable}; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, diff --git a/gtk4/src/auto/text_child_anchor.rs b/gtk4/src/auto/text_child_anchor.rs index 4e55a911cd57..f7da1126c24b 100644 --- a/gtk4/src/auto/text_child_anchor.rs +++ b/gtk4/src/auto/text_child_anchor.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::Widget; +use crate::{ffi, Widget}; use glib::{prelude::*, translate::*}; glib::wrapper! { diff --git a/gtk4/src/auto/text_iter.rs b/gtk4/src/auto/text_iter.rs index 3ce9a5ddcff9..0785bb68abd6 100644 --- a/gtk4/src/auto/text_iter.rs +++ b/gtk4/src/auto/text_iter.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::{TextBuffer, TextChildAnchor, TextMark, TextSearchFlags, TextTag}; +use crate::{ffi, TextBuffer, TextChildAnchor, TextMark, TextSearchFlags, TextTag}; use glib::{prelude::*, translate::*}; glib::wrapper! { diff --git a/gtk4/src/auto/text_mark.rs b/gtk4/src/auto/text_mark.rs index 9251f4fe2b34..d6cc3df15f6f 100644 --- a/gtk4/src/auto/text_mark.rs +++ b/gtk4/src/auto/text_mark.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::TextBuffer; +use crate::{ffi, TextBuffer}; use glib::{prelude::*, translate::*}; glib::wrapper! { diff --git a/gtk4/src/auto/text_tag.rs b/gtk4/src/auto/text_tag.rs index 2a4be253f3b9..dd53fc56c3bd 100644 --- a/gtk4/src/auto/text_tag.rs +++ b/gtk4/src/auto/text_tag.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::{Justification, TextDirection, WrapMode}; +use crate::{ffi, Justification, TextDirection, WrapMode}; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, diff --git a/gtk4/src/auto/text_tag_table.rs b/gtk4/src/auto/text_tag_table.rs index c9d79fd7596a..64eb1ad50da2 100644 --- a/gtk4/src/auto/text_tag_table.rs +++ b/gtk4/src/auto/text_tag_table.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::{Buildable, TextTag}; +use crate::{ffi, Buildable, TextTag}; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, diff --git a/gtk4/src/auto/text_view.rs b/gtk4/src/auto/text_view.rs index ccb83b51aae8..3b188df51227 100644 --- a/gtk4/src/auto/text_view.rs +++ b/gtk4/src/auto/text_view.rs @@ -6,7 +6,7 @@ #[cfg_attr(docsrs, doc(cfg(feature = "v4_14")))] use crate::AccessibleText; use crate::{ - Accessible, AccessibleRole, Adjustment, Align, Buildable, ConstraintTarget, DeleteType, + ffi, Accessible, AccessibleRole, Adjustment, Align, Buildable, ConstraintTarget, DeleteType, InputHints, InputPurpose, Justification, LayoutManager, MovementStep, Overflow, ScrollStep, Scrollable, ScrollablePolicy, TextBuffer, TextChildAnchor, TextExtendSelection, TextIter, TextMark, TextWindowType, Widget, WrapMode, diff --git a/gtk4/src/auto/toggle_button.rs b/gtk4/src/auto/toggle_button.rs index 0d1b72dd30fa..12ff72f57958 100644 --- a/gtk4/src/auto/toggle_button.rs +++ b/gtk4/src/auto/toggle_button.rs @@ -4,7 +4,7 @@ #![allow(deprecated)] use crate::{ - Accessible, AccessibleRole, Actionable, Align, Buildable, Button, ConstraintTarget, + ffi, Accessible, AccessibleRole, Actionable, Align, Buildable, Button, ConstraintTarget, LayoutManager, Overflow, Widget, }; use glib::{ diff --git a/gtk4/src/auto/tooltip.rs b/gtk4/src/auto/tooltip.rs index 7586099c0fae..a3c3f2c2aca4 100644 --- a/gtk4/src/auto/tooltip.rs +++ b/gtk4/src/auto/tooltip.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::Widget; +use crate::{ffi, Widget}; use glib::{prelude::*, translate::*}; glib::wrapper! { diff --git a/gtk4/src/auto/tree_drag_dest.rs b/gtk4/src/auto/tree_drag_dest.rs index 55b341112656..63042128bd5a 100644 --- a/gtk4/src/auto/tree_drag_dest.rs +++ b/gtk4/src/auto/tree_drag_dest.rs @@ -3,7 +3,7 @@ // DO NOT EDIT #![allow(deprecated)] -use crate::TreePath; +use crate::{ffi, TreePath}; use glib::{prelude::*, translate::*}; glib::wrapper! { diff --git a/gtk4/src/auto/tree_drag_source.rs b/gtk4/src/auto/tree_drag_source.rs index c9747ddb4b56..7fa64ebe41bf 100644 --- a/gtk4/src/auto/tree_drag_source.rs +++ b/gtk4/src/auto/tree_drag_source.rs @@ -3,7 +3,7 @@ // DO NOT EDIT #![allow(deprecated)] -use crate::TreePath; +use crate::{ffi, TreePath}; use glib::{prelude::*, translate::*}; glib::wrapper! { diff --git a/gtk4/src/auto/tree_expander.rs b/gtk4/src/auto/tree_expander.rs index fd5640f5f099..88acfb99f230 100644 --- a/gtk4/src/auto/tree_expander.rs +++ b/gtk4/src/auto/tree_expander.rs @@ -3,7 +3,7 @@ // DO NOT EDIT use crate::{ - Accessible, AccessibleRole, Align, Buildable, ConstraintTarget, LayoutManager, Overflow, + ffi, Accessible, AccessibleRole, Align, Buildable, ConstraintTarget, LayoutManager, Overflow, TreeListRow, Widget, }; use glib::{ diff --git a/gtk4/src/auto/tree_iter.rs b/gtk4/src/auto/tree_iter.rs index e27fc8ab1aff..443e25bc724a 100644 --- a/gtk4/src/auto/tree_iter.rs +++ b/gtk4/src/auto/tree_iter.rs @@ -2,6 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT +use crate::ffi; use glib::translate::*; glib::wrapper! { diff --git a/gtk4/src/auto/tree_list_model.rs b/gtk4/src/auto/tree_list_model.rs index 47b1974acd9c..34394aaa4700 100644 --- a/gtk4/src/auto/tree_list_model.rs +++ b/gtk4/src/auto/tree_list_model.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::TreeListRow; +use crate::{ffi, TreeListRow}; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, diff --git a/gtk4/src/auto/tree_list_row.rs b/gtk4/src/auto/tree_list_row.rs index c4e5b963857d..83be3346b3cd 100644 --- a/gtk4/src/auto/tree_list_row.rs +++ b/gtk4/src/auto/tree_list_row.rs @@ -2,6 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT +use crate::ffi; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, diff --git a/gtk4/src/auto/tree_list_row_sorter.rs b/gtk4/src/auto/tree_list_row_sorter.rs index 20dfb08af815..4ef36f7b1c3a 100644 --- a/gtk4/src/auto/tree_list_row_sorter.rs +++ b/gtk4/src/auto/tree_list_row_sorter.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::Sorter; +use crate::{ffi, Sorter}; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, diff --git a/gtk4/src/auto/tree_model.rs b/gtk4/src/auto/tree_model.rs index 8000ade39873..f0b0e4cb3ab8 100644 --- a/gtk4/src/auto/tree_model.rs +++ b/gtk4/src/auto/tree_model.rs @@ -3,7 +3,7 @@ // DO NOT EDIT #![allow(deprecated)] -use crate::{TreeIter, TreeModelFlags, TreePath}; +use crate::{ffi, TreeIter, TreeModelFlags, TreePath}; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, diff --git a/gtk4/src/auto/tree_model_filter.rs b/gtk4/src/auto/tree_model_filter.rs index 04328b72d529..1d993996b6f9 100644 --- a/gtk4/src/auto/tree_model_filter.rs +++ b/gtk4/src/auto/tree_model_filter.rs @@ -3,7 +3,7 @@ // DO NOT EDIT #![allow(deprecated)] -use crate::{TreeDragSource, TreeIter, TreeModel, TreePath}; +use crate::{ffi, TreeDragSource, TreeIter, TreeModel, TreePath}; use glib::{prelude::*, translate::*}; use std::boxed::Box as Box_; diff --git a/gtk4/src/auto/tree_model_sort.rs b/gtk4/src/auto/tree_model_sort.rs index 12719b3f0ba4..9acb63a824bd 100644 --- a/gtk4/src/auto/tree_model_sort.rs +++ b/gtk4/src/auto/tree_model_sort.rs @@ -3,7 +3,7 @@ // DO NOT EDIT #![allow(deprecated)] -use crate::{TreeDragSource, TreeIter, TreeModel, TreePath, TreeSortable}; +use crate::{ffi, TreeDragSource, TreeIter, TreeModel, TreePath, TreeSortable}; use glib::{prelude::*, translate::*}; glib::wrapper! { diff --git a/gtk4/src/auto/tree_path.rs b/gtk4/src/auto/tree_path.rs index e69d8ae5b86e..52cdd320b50f 100644 --- a/gtk4/src/auto/tree_path.rs +++ b/gtk4/src/auto/tree_path.rs @@ -2,6 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT +use crate::ffi; use glib::translate::*; glib::wrapper! { diff --git a/gtk4/src/auto/tree_row_reference.rs b/gtk4/src/auto/tree_row_reference.rs index cb36dca6c7be..8ac8bc70f31a 100644 --- a/gtk4/src/auto/tree_row_reference.rs +++ b/gtk4/src/auto/tree_row_reference.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::{TreeModel, TreePath}; +use crate::{ffi, TreeModel, TreePath}; use glib::{prelude::*, translate::*}; glib::wrapper! { diff --git a/gtk4/src/auto/tree_selection.rs b/gtk4/src/auto/tree_selection.rs index 00784a8a701a..72c88222882b 100644 --- a/gtk4/src/auto/tree_selection.rs +++ b/gtk4/src/auto/tree_selection.rs @@ -3,7 +3,7 @@ // DO NOT EDIT #![allow(deprecated)] -use crate::{SelectionMode, TreeIter, TreeModel, TreePath, TreeView}; +use crate::{ffi, SelectionMode, TreeIter, TreeModel, TreePath, TreeView}; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, diff --git a/gtk4/src/auto/tree_sortable.rs b/gtk4/src/auto/tree_sortable.rs index 179b035c9c73..0d3ce6d03c15 100644 --- a/gtk4/src/auto/tree_sortable.rs +++ b/gtk4/src/auto/tree_sortable.rs @@ -3,7 +3,7 @@ // DO NOT EDIT #![allow(deprecated)] -use crate::TreeModel; +use crate::{ffi, TreeModel}; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, diff --git a/gtk4/src/auto/tree_store.rs b/gtk4/src/auto/tree_store.rs index f2f942d6f256..22a12e72077e 100644 --- a/gtk4/src/auto/tree_store.rs +++ b/gtk4/src/auto/tree_store.rs @@ -3,7 +3,7 @@ // DO NOT EDIT #![allow(deprecated)] -use crate::{Buildable, TreeDragDest, TreeDragSource, TreeIter, TreeModel, TreeSortable}; +use crate::{ffi, Buildable, TreeDragDest, TreeDragSource, TreeIter, TreeModel, TreeSortable}; use glib::translate::*; glib::wrapper! { diff --git a/gtk4/src/auto/tree_view.rs b/gtk4/src/auto/tree_view.rs index 3b23f62d0f47..96a8b6f886ca 100644 --- a/gtk4/src/auto/tree_view.rs +++ b/gtk4/src/auto/tree_view.rs @@ -4,7 +4,7 @@ #![allow(deprecated)] use crate::{ - Accessible, AccessibleRole, Adjustment, Align, Buildable, CellRenderer, ConstraintTarget, + ffi, Accessible, AccessibleRole, Adjustment, Align, Buildable, CellRenderer, ConstraintTarget, Editable, LayoutManager, MovementStep, Overflow, Scrollable, ScrollablePolicy, Tooltip, TreeIter, TreeModel, TreePath, TreeSelection, TreeViewColumn, TreeViewDropPosition, TreeViewGridLines, Widget, diff --git a/gtk4/src/auto/tree_view_column.rs b/gtk4/src/auto/tree_view_column.rs index 88ea1b24ab0b..715b3ee2603e 100644 --- a/gtk4/src/auto/tree_view_column.rs +++ b/gtk4/src/auto/tree_view_column.rs @@ -4,7 +4,7 @@ #![allow(deprecated)] use crate::{ - Buildable, CellArea, CellLayout, CellRenderer, SortType, TreeIter, TreeModel, + ffi, Buildable, CellArea, CellLayout, CellRenderer, SortType, TreeIter, TreeModel, TreeViewColumnSizing, Widget, }; use glib::{ diff --git a/gtk4/src/auto/uri_launcher.rs b/gtk4/src/auto/uri_launcher.rs index 94ac272d257a..e67355f2961e 100644 --- a/gtk4/src/auto/uri_launcher.rs +++ b/gtk4/src/auto/uri_launcher.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::Window; +use crate::{ffi, Window}; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, diff --git a/gtk4/src/auto/versions.txt b/gtk4/src/auto/versions.txt index 4a36b94f29b0..b9c34635d65d 100644 --- a/gtk4/src/auto/versions.txt +++ b/gtk4/src/auto/versions.txt @@ -1,2 +1,2 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 839b834456d2) +Generated by gir (https://github.com/gtk-rs/gir @ 3191f1ad2c59) from gir-files (https://github.com/gtk-rs/gir-files @ 74aa91d9063d) diff --git a/gtk4/src/auto/video.rs b/gtk4/src/auto/video.rs index 6048018aaa02..88c1aa091cf4 100644 --- a/gtk4/src/auto/video.rs +++ b/gtk4/src/auto/video.rs @@ -6,8 +6,8 @@ #[cfg_attr(docsrs, doc(cfg(feature = "v4_14")))] use crate::GraphicsOffloadEnabled; use crate::{ - Accessible, AccessibleRole, Align, Buildable, ConstraintTarget, LayoutManager, MediaStream, - Overflow, Widget, + ffi, Accessible, AccessibleRole, Align, Buildable, ConstraintTarget, LayoutManager, + MediaStream, Overflow, Widget, }; use glib::{ prelude::*, diff --git a/gtk4/src/auto/viewport.rs b/gtk4/src/auto/viewport.rs index f3a17b71ab8c..893cdb10f044 100644 --- a/gtk4/src/auto/viewport.rs +++ b/gtk4/src/auto/viewport.rs @@ -6,7 +6,7 @@ #[cfg_attr(docsrs, doc(cfg(feature = "v4_12")))] use crate::ScrollInfo; use crate::{ - Accessible, AccessibleRole, Adjustment, Align, Buildable, ConstraintTarget, LayoutManager, + ffi, Accessible, AccessibleRole, Adjustment, Align, Buildable, ConstraintTarget, LayoutManager, Overflow, Scrollable, ScrollablePolicy, Widget, }; use glib::{ diff --git a/gtk4/src/auto/volume_button.rs b/gtk4/src/auto/volume_button.rs index 346064bf4591..488325e9164b 100644 --- a/gtk4/src/auto/volume_button.rs +++ b/gtk4/src/auto/volume_button.rs @@ -7,7 +7,7 @@ #[cfg_attr(docsrs, doc(cfg(feature = "v4_10")))] use crate::AccessibleRange; use crate::{ - Accessible, AccessibleRole, Adjustment, Align, Buildable, ConstraintTarget, LayoutManager, + ffi, Accessible, AccessibleRole, Adjustment, Align, Buildable, ConstraintTarget, LayoutManager, Orientable, Orientation, Overflow, ScaleButton, Widget, }; use glib::{ diff --git a/gtk4/src/auto/widget.rs b/gtk4/src/auto/widget.rs index b340b314ef58..5022a9bb7ed6 100644 --- a/gtk4/src/auto/widget.rs +++ b/gtk4/src/auto/widget.rs @@ -4,9 +4,9 @@ #![allow(deprecated)] use crate::{ - Accessible, Align, Allocation, Buildable, ConstraintTarget, DirectionType, EventController, - LayoutManager, Native, Orientation, Overflow, PickFlags, Requisition, Root, Settings, - SizeRequestMode, Snapshot, StateFlags, StyleContext, TextDirection, Tooltip, + ffi, Accessible, Align, Allocation, Buildable, ConstraintTarget, DirectionType, + EventController, LayoutManager, Native, Orientation, Overflow, PickFlags, Requisition, Root, + Settings, SizeRequestMode, Snapshot, StateFlags, StyleContext, TextDirection, Tooltip, }; use glib::{ prelude::*, diff --git a/gtk4/src/auto/widget_paintable.rs b/gtk4/src/auto/widget_paintable.rs index 9fd1c7bff8c2..5398b77b07c2 100644 --- a/gtk4/src/auto/widget_paintable.rs +++ b/gtk4/src/auto/widget_paintable.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::Widget; +use crate::{ffi, Widget}; use glib::{ prelude::*, signal::{connect_raw, SignalHandlerId}, diff --git a/gtk4/src/auto/window.rs b/gtk4/src/auto/window.rs index 7101f9250797..82603f4ea014 100644 --- a/gtk4/src/auto/window.rs +++ b/gtk4/src/auto/window.rs @@ -4,8 +4,8 @@ #![allow(deprecated)] use crate::{ - Accessible, AccessibleRole, Align, Application, Buildable, ConstraintTarget, LayoutManager, - Native, Overflow, Root, ShortcutManager, Widget, WindowGroup, + ffi, Accessible, AccessibleRole, Align, Application, Buildable, ConstraintTarget, + LayoutManager, Native, Overflow, Root, ShortcutManager, Widget, WindowGroup, }; use glib::{ prelude::*, diff --git a/gtk4/src/auto/window_controls.rs b/gtk4/src/auto/window_controls.rs index e192ea385538..a42bff6b8cd7 100644 --- a/gtk4/src/auto/window_controls.rs +++ b/gtk4/src/auto/window_controls.rs @@ -3,7 +3,7 @@ // DO NOT EDIT use crate::{ - Accessible, AccessibleRole, Align, Buildable, ConstraintTarget, LayoutManager, Overflow, + ffi, Accessible, AccessibleRole, Align, Buildable, ConstraintTarget, LayoutManager, Overflow, PackType, Widget, }; use glib::{ diff --git a/gtk4/src/auto/window_group.rs b/gtk4/src/auto/window_group.rs index 42dbb12e4467..3951ab3a6a83 100644 --- a/gtk4/src/auto/window_group.rs +++ b/gtk4/src/auto/window_group.rs @@ -2,7 +2,7 @@ // from gir-files (https://github.com/gtk-rs/gir-files) // DO NOT EDIT -use crate::Window; +use crate::{ffi, Window}; use glib::{prelude::*, translate::*}; glib::wrapper! { diff --git a/gtk4/src/auto/window_handle.rs b/gtk4/src/auto/window_handle.rs index 0bf25e0e361d..f81befd2cf59 100644 --- a/gtk4/src/auto/window_handle.rs +++ b/gtk4/src/auto/window_handle.rs @@ -3,7 +3,8 @@ // DO NOT EDIT use crate::{ - Accessible, AccessibleRole, Align, Buildable, ConstraintTarget, LayoutManager, Overflow, Widget, + ffi, Accessible, AccessibleRole, Align, Buildable, ConstraintTarget, LayoutManager, Overflow, + Widget, }; use glib::{ prelude::*, diff --git a/gtk4/sys/versions.txt b/gtk4/sys/versions.txt index 4a36b94f29b0..b9c34635d65d 100644 --- a/gtk4/sys/versions.txt +++ b/gtk4/sys/versions.txt @@ -1,2 +1,2 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 839b834456d2) +Generated by gir (https://github.com/gtk-rs/gir @ 3191f1ad2c59) from gir-files (https://github.com/gtk-rs/gir-files @ 74aa91d9063d)