mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-02 08:50:28 +00:00
Remove introspection scanner guards around autocleanups
They are not needed.
This commit is contained in:
parent
5912790f32
commit
9ebe95f4a9
@ -204,9 +204,7 @@ void gtk_about_dialog_add_credit_section (GtkAboutDialog
|
||||
const gchar *section_name,
|
||||
const gchar **people);
|
||||
|
||||
#ifndef __GI_SCANNER__
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkAboutDialog, g_object_unref)
|
||||
#endif
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
|
@ -242,9 +242,7 @@ struct _GtkAccelGroupEntry
|
||||
GQuark accel_path_quark;
|
||||
};
|
||||
|
||||
#ifndef __GI_SCANNER__
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkAccelGroup, g_object_unref)
|
||||
#endif
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
|
@ -109,9 +109,7 @@ gchar * _gtk_accel_label_class_get_accelerator_label (GtkAccelLabelClass *kla
|
||||
guint accelerator_key,
|
||||
GdkModifierType accelerator_mods);
|
||||
|
||||
#ifndef __GI_SCANNER__
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkAccelLabel, g_object_unref)
|
||||
#endif
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
|
@ -102,9 +102,7 @@ GType gtk_accel_map_get_type (void) G_GNUC_CONST;
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GtkAccelMap *gtk_accel_map_get (void);
|
||||
|
||||
#ifndef __GI_SCANNER__
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkAccelMap, g_object_unref)
|
||||
#endif
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
|
@ -162,9 +162,7 @@ GDK_AVAILABLE_IN_3_14
|
||||
GMenu * gtk_application_get_menu_by_id (GtkApplication *application,
|
||||
const gchar *id);
|
||||
|
||||
#ifndef __GI_SCANNER__
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkApplication, g_object_unref)
|
||||
#endif
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
|
@ -81,9 +81,7 @@ GtkWidget *gtk_bin_get_child (GtkBin *bin);
|
||||
void _gtk_bin_set_child (GtkBin *bin,
|
||||
GtkWidget *widget);
|
||||
|
||||
#ifndef __GI_SCANNER__
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkBin, g_object_unref)
|
||||
#endif
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
|
@ -65,9 +65,7 @@ GtkBorder *gtk_border_copy (const GtkBorder *border_);
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
void gtk_border_free (GtkBorder *border_);
|
||||
|
||||
#ifndef __GI_SCANNER__
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkBorder, gtk_border_free)
|
||||
#endif
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
|
@ -299,9 +299,7 @@ GDK_AVAILABLE_IN_ALL
|
||||
GtkWidgetPath * gtk_container_get_path_for_child (GtkContainer *container,
|
||||
GtkWidget *child);
|
||||
|
||||
#ifndef __GI_SCANNER__
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkContainer, g_object_unref)
|
||||
#endif
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
|
@ -206,9 +206,7 @@ GtkWidget * gtk_dialog_get_content_area (GtkDialog *dialog);
|
||||
GDK_AVAILABLE_IN_3_12
|
||||
GtkWidget * gtk_dialog_get_header_bar (GtkDialog *dialog);
|
||||
|
||||
#ifndef __GI_SCANNER__
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkDialog, g_object_unref)
|
||||
#endif
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
|
@ -225,9 +225,7 @@ void gtk_label_set_yalign (GtkLabel *label,
|
||||
GDK_AVAILABLE_IN_3_16
|
||||
gfloat gtk_label_get_yalign (GtkLabel *label);
|
||||
|
||||
#ifndef __GI_SCANNER__
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkLabel, g_object_unref)
|
||||
#endif
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
|
@ -313,10 +313,8 @@ void gtk_list_box_bind_model (GtkListBox
|
||||
gpointer user_data,
|
||||
GDestroyNotify user_data_free_func);
|
||||
|
||||
#ifndef __GI_SCANNER__
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkListBox, g_object_unref)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkListBoxRow, g_object_unref)
|
||||
#endif
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
|
@ -249,9 +249,7 @@ void gtk_menu_set_reserve_toggle_size (GtkMenu *menu,
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
gboolean gtk_menu_get_reserve_toggle_size (GtkMenu *menu);
|
||||
|
||||
#ifndef __GI_SCANNER__
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkMenu, g_object_unref)
|
||||
#endif
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
|
@ -130,9 +130,7 @@ void gtk_menu_shell_bind_model (GtkMenuShell *menu_shell,
|
||||
const gchar *action_namespace,
|
||||
gboolean with_separators);
|
||||
|
||||
#ifndef __GI_SCANNER__
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkMenuShell, g_object_unref)
|
||||
#endif
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
|
@ -1490,10 +1490,8 @@ void gtk_widget_set_font_map (GtkWidget *
|
||||
GDK_AVAILABLE_IN_3_18
|
||||
PangoFontMap * gtk_widget_get_font_map (GtkWidget *widget);
|
||||
|
||||
#ifndef __GI_SCANNER__
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkWidget, g_object_unref)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkRequisition, gtk_requisition_free)
|
||||
#endif
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
|
@ -497,10 +497,8 @@ gboolean gtk_window_is_maximized (GtkWindow *window);
|
||||
GDK_AVAILABLE_IN_3_14
|
||||
void gtk_window_set_interactive_debugging (gboolean enable);
|
||||
|
||||
#ifndef __GI_SCANNER__
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkWindow, g_object_unref)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkWindowGroup, g_object_unref)
|
||||
#endif
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user