forked from AuroraMiddleware/gtk
gtk: Dissolve gtk-autocleanup.h
Move the autocleanup declarations into their respective headers.
This commit is contained in:
parent
3688ece655
commit
f141da6b55
@ -1,171 +0,0 @@
|
||||
/* GTK - The GIMP Toolkit
|
||||
* Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 2 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)
|
||||
#error "Only <gtk/gtk.h> can be included directly."
|
||||
#endif
|
||||
|
||||
#ifndef __GI_SCANNER__
|
||||
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkActionBar, g_object_unref)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkActionable, g_object_unref)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkAdjustment, g_object_unref)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkAppChooser, g_object_unref)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkAppChooserButton, g_object_unref)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkAppChooserDialog, g_object_unref)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkAppChooserWidget, g_object_unref)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkApplicationWindow, g_object_unref)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkAspectFrame, g_object_unref)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkAssistant, g_object_unref)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkBox, g_object_unref)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkBuildable, g_object_unref)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkBuilder, g_object_unref)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkButton, g_object_unref)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkCalendar, g_object_unref)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkCellArea, g_object_unref)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkCellAreaBox, g_object_unref)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkCellAreaContext, g_object_unref)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkCellEditable, g_object_unref)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkCellLayout, g_object_unref)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkCellRenderer, g_object_unref)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkCellRendererAccel, g_object_unref)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkCellRendererCombo, g_object_unref)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkCellRendererPixbuf, g_object_unref)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkCellRendererProgress, g_object_unref)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkCellRendererSpin, g_object_unref)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkCellRendererSpinner, g_object_unref)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkCellRendererText, g_object_unref)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkCellRendererToggle, g_object_unref)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkCellView, g_object_unref)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkCheckButton, g_object_unref)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkColorButton, g_object_unref)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkColorChooser, g_object_unref)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkColorChooserDialog, g_object_unref)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkColorChooserWidget, g_object_unref)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkComboBox, g_object_unref)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkComboBoxText, g_object_unref)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkCssProvider, g_object_unref)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkDrawingArea, g_object_unref)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkEditable, g_object_unref)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkEntry, g_object_unref)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkEntryCompletion, g_object_unref)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkEventController, g_object_unref)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkExpander, g_object_unref)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkFileChooserDialog, g_object_unref)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkFileChooserWidget, g_object_unref)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkFileFilter, g_object_unref)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkFixed, g_object_unref)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkFlowBox, g_object_unref)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkFlowBoxChild, g_object_unref)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkFontButton, g_object_unref)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkFontChooser, g_object_unref)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkFontChooserDialog, g_object_unref)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkFontChooserWidget, g_object_unref)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkFrame, g_object_unref)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkGLArea, g_object_unref)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkGesture, g_object_unref)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkGestureDrag, g_object_unref)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkGestureLongPress, g_object_unref)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkGestureClick, g_object_unref)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkGesturePan, g_object_unref)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkGestureRotate, g_object_unref)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkGestureSingle, g_object_unref)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkGestureSwipe, g_object_unref)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkGestureZoom, g_object_unref)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkGrid, g_object_unref)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkGridView, g_object_unref)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkHeaderBar, g_object_unref)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkIMContext, g_object_unref)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkIMContextSimple, g_object_unref)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkIMMulticontext, g_object_unref)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkIconPaintable, g_object_unref)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkIconTheme, g_object_unref)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkIconView, g_object_unref)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkImage, g_object_unref)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkInfoBar, g_object_unref)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkLevelBar, g_object_unref)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkLinkButton, g_object_unref)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkListItem, g_object_unref)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkListItemFactory, g_object_unref)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkListStore, g_object_unref)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkLockButton, g_object_unref)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkMenuButton, g_object_unref)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkMessageDialog, g_object_unref)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkMountOperation, g_object_unref)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkNotebook, g_object_unref)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkOrientable, g_object_unref)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkOverlay, g_object_unref)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkPageSetup, g_object_unref)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkPaned, g_object_unref)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkPopover, g_object_unref)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkPopoverMenu, g_object_unref)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkPrintContext, g_object_unref)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkPrintOperation, g_object_unref)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkPrintOperationPreview, g_object_unref)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkPrintSettings, g_object_unref)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkProgressBar, g_object_unref)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkRange, g_object_unref)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkRecentManager, g_object_unref)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkRevealer, g_object_unref)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkScale, g_object_unref)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkScaleButton, g_object_unref)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkScrollable, g_object_unref)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkScrollbar, g_object_unref)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkScrolledWindow, g_object_unref)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkSearchBar, g_object_unref)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkSearchEntry, g_object_unref)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkSeparator, g_object_unref)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkSettings, g_object_unref)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkStackSidebar, g_object_unref)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkSizeGroup, g_object_unref)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkSpinButton, g_object_unref)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkSpinner, g_object_unref)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkStack, g_object_unref)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkStackSwitcher, g_object_unref)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkStatusbar, g_object_unref)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkStyleContext, g_object_unref)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkStyleProvider, g_object_unref)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkSwitch, g_object_unref)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkTextBuffer, g_object_unref)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkTextChildAnchor, g_object_unref)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkTextMark, g_object_unref)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkTextTag, g_object_unref)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkTextTagTable, g_object_unref)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkTextView, g_object_unref)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkToggleButton, g_object_unref)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkTooltip, g_object_unref)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkTreeDragDest, g_object_unref)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkTreeDragSource, g_object_unref)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkTreeModel, g_object_unref)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkTreeModelFilter, g_object_unref)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkTreeModelSort, g_object_unref)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkTreeSelection, g_object_unref)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkTreeSortable, g_object_unref)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkTreeStore, g_object_unref)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkTreeView, g_object_unref)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkTreeViewColumn, g_object_unref)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkViewport, g_object_unref)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkVolumeButton, g_object_unref)
|
||||
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkPaperSize, gtk_paper_size_free)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkRecentInfo, gtk_recent_info_unref)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkTextIter, gtk_text_iter_free)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkTreeIter, gtk_tree_iter_free)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkTreePath, gtk_tree_path_free)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkTreeRowReference, gtk_tree_row_reference_free)
|
||||
|
||||
#endif
|
@ -287,8 +287,6 @@
|
||||
#include <gtk/gtkwindowgroup.h>
|
||||
#include <gtk/gtkwindowhandle.h>
|
||||
|
||||
#include <gtk/gtk-autocleanups.h>
|
||||
|
||||
#undef __GTK_H_INSIDE__
|
||||
|
||||
#endif /* __GTK_H__ */
|
||||
|
@ -75,6 +75,8 @@ GDK_AVAILABLE_IN_ALL
|
||||
void gtk_actionable_set_detailed_action_name (GtkActionable *actionable,
|
||||
const char *detailed_action_name);
|
||||
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkActionable, g_object_unref)
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __GTK_ACTIONABLE_H__ */
|
||||
|
@ -61,6 +61,7 @@ void gtk_action_bar_set_revealed (GtkActionBar *action_bar,
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
gboolean gtk_action_bar_get_revealed (GtkActionBar *action_bar);
|
||||
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkActionBar, g_object_unref)
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
|
@ -121,6 +121,8 @@ void gtk_adjustment_configure (GtkAdjustment *adjustment,
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
double gtk_adjustment_get_minimum_increment (GtkAdjustment *adjustment);
|
||||
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkAdjustment, g_object_unref)
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __GTK_ADJUSTMENT_H__ */
|
||||
|
@ -48,6 +48,8 @@ char * gtk_app_chooser_get_content_type (GtkAppChooser *self);
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
void gtk_app_chooser_refresh (GtkAppChooser *self);
|
||||
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkAppChooser, g_object_unref)
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __GTK_APP_CHOOSER_H__ */
|
||||
|
@ -77,6 +77,8 @@ GDK_AVAILABLE_IN_ALL
|
||||
void gtk_app_chooser_button_set_modal (GtkAppChooserButton *self,
|
||||
gboolean modal);
|
||||
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkAppChooserButton, g_object_unref)
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __GTK_APP_CHOOSER_BUTTON_H__ */
|
||||
|
@ -60,6 +60,8 @@ void gtk_app_chooser_dialog_set_heading (GtkAppChooserDialog *
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
const char * gtk_app_chooser_dialog_get_heading (GtkAppChooserDialog *self);
|
||||
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkAppChooserDialog, g_object_unref)
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __GTK_APP_CHOOSER_DIALOG_H__ */
|
||||
|
@ -82,6 +82,8 @@ void gtk_app_chooser_widget_set_default_text (GtkAppChooserWidget *
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
const char * gtk_app_chooser_widget_get_default_text (GtkAppChooserWidget *self);
|
||||
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkAppChooserWidget, g_object_unref)
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __GTK_APP_CHOOSER_WIDGET_H__ */
|
||||
|
@ -82,6 +82,8 @@ GDK_AVAILABLE_IN_ALL
|
||||
GtkShortcutsWindow *
|
||||
gtk_application_window_get_help_overlay (GtkApplicationWindow *window);
|
||||
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkApplicationWindow, g_object_unref)
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __GTK_APPLICATION_WINDOW_H__ */
|
||||
|
@ -79,6 +79,8 @@ void gtk_aspect_frame_set_child (GtkAspectFrame *self,
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GtkWidget *gtk_aspect_frame_get_child (GtkAspectFrame *self);
|
||||
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkAspectFrame, g_object_unref)
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __GTK_ASPECT_FRAME_H__ */
|
||||
|
@ -180,6 +180,8 @@ GtkWidget * gtk_assistant_page_get_child (GtkAssistantPage *page);
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GListModel * gtk_assistant_get_pages (GtkAssistant *assistant);
|
||||
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkAssistant, g_object_unref)
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __GTK_ASSISTANT_H__ */
|
||||
|
@ -107,6 +107,7 @@ void gtk_box_reorder_child_after (GtkBox *box,
|
||||
GtkWidget *child,
|
||||
GtkWidget *sibling);
|
||||
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkBox, g_object_unref)
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
|
@ -260,6 +260,8 @@ void gtk_buildable_parse_context_get_position (GtkBuildableParseCo
|
||||
int *line_number,
|
||||
int *char_number);
|
||||
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkBuildable, g_object_unref)
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __GTK_BUILDABLE_H__ */
|
||||
|
@ -203,6 +203,8 @@ gboolean gtk_builder_extend_with_template (GtkBuilder *builder,
|
||||
gssize length,
|
||||
GError **error);
|
||||
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkBuilder, g_object_unref)
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __GTK_BUILDER_H__ */
|
||||
|
@ -113,6 +113,8 @@ void gtk_button_set_child (GtkButton *button,
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GtkWidget * gtk_button_get_child (GtkButton *button);
|
||||
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkButton, g_object_unref)
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __GTK_BUTTON_H__ */
|
||||
|
@ -86,6 +86,8 @@ GDK_AVAILABLE_IN_ALL
|
||||
gboolean gtk_calendar_get_day_is_marked (GtkCalendar *calendar,
|
||||
guint day);
|
||||
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkCalendar, g_object_unref)
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __GTK_CALENDAR_H__ */
|
||||
|
@ -518,6 +518,8 @@ void _gtk_cell_area_set_cell_data_func_with_proxy (GtkCellArea
|
||||
GDestroyNotify destroy,
|
||||
gpointer proxy);
|
||||
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkCellArea, g_object_unref)
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __GTK_CELL_AREA_H__ */
|
||||
|
@ -63,6 +63,8 @@ void gtk_cell_area_box_set_spacing (GtkCellAreaBox *box,
|
||||
gboolean _gtk_cell_area_box_group_visible (GtkCellAreaBox *box,
|
||||
int group_idx);
|
||||
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkCellAreaBox, g_object_unref)
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __GTK_CELL_AREA_BOX_H__ */
|
||||
|
@ -134,6 +134,8 @@ void gtk_cell_area_context_push_preferred_height (GtkCellAreaContext *co
|
||||
int minimum_height,
|
||||
int natural_height);
|
||||
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkCellAreaContext, g_object_unref)
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __GTK_CELL_AREA_CONTEXT_H__ */
|
||||
|
@ -70,6 +70,7 @@ void gtk_cell_editable_editing_done (GtkCellEditable *cell_editable);
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
void gtk_cell_editable_remove_widget (GtkCellEditable *cell_editable);
|
||||
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkCellEditable, g_object_unref)
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
|
@ -163,6 +163,8 @@ void _gtk_cell_layout_buildable_add_child (GtkBuildable *builda
|
||||
GObject *child,
|
||||
const char *type);
|
||||
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkCellLayout, g_object_unref)
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __GTK_CELL_LAYOUT_H__ */
|
||||
|
@ -306,6 +306,8 @@ GtkStateFlags gtk_cell_renderer_get_state (GtkCellRenderer *cell,
|
||||
GtkWidget *widget,
|
||||
GtkCellRendererState cell_state);
|
||||
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkCellRenderer, g_object_unref)
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __GTK_CELL_RENDERER_H__ */
|
||||
|
@ -51,6 +51,7 @@ GType gtk_cell_renderer_accel_get_type (void) G_GNUC_CONST;
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GtkCellRenderer *gtk_cell_renderer_accel_new (void);
|
||||
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkCellRendererAccel, g_object_unref)
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
|
@ -38,6 +38,8 @@ GType gtk_cell_renderer_combo_get_type (void) G_GNUC_CONST;
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GtkCellRenderer *gtk_cell_renderer_combo_new (void);
|
||||
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkCellRendererCombo, g_object_unref)
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __GTK_CELL_RENDERER_COMBO_H__ */
|
||||
|
@ -39,6 +39,7 @@ GType gtk_cell_renderer_pixbuf_get_type (void) G_GNUC_CONST;
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GtkCellRenderer *gtk_cell_renderer_pixbuf_new (void);
|
||||
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkCellRendererPixbuf, g_object_unref)
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
|
@ -45,6 +45,8 @@ GType gtk_cell_renderer_progress_get_type (void) G_GNUC_CONST;
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GtkCellRenderer* gtk_cell_renderer_progress_new (void);
|
||||
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkCellRendererProgress, g_object_unref)
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __GTK_CELL_RENDERER_PROGRESS_H__ */
|
||||
|
@ -37,6 +37,8 @@ GType gtk_cell_renderer_spin_get_type (void);
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GtkCellRenderer *gtk_cell_renderer_spin_new (void);
|
||||
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkCellRendererSpin, g_object_unref)
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __GTK_CELL_RENDERER_SPIN_H__ */
|
||||
|
@ -40,6 +40,8 @@ GType gtk_cell_renderer_spinner_get_type (void) G_GNUC_CONST;
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GtkCellRenderer *gtk_cell_renderer_spinner_new (void);
|
||||
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkCellRendererSpinner, g_object_unref)
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __GTK_CELL_RENDERER_SPINNER_H__ */
|
||||
|
@ -66,6 +66,7 @@ GDK_AVAILABLE_IN_ALL
|
||||
void gtk_cell_renderer_text_set_fixed_height_from_font (GtkCellRendererText *renderer,
|
||||
int number_of_rows);
|
||||
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkCellRendererText, g_object_unref)
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
|
@ -58,6 +58,7 @@ GDK_AVAILABLE_IN_ALL
|
||||
void gtk_cell_renderer_toggle_set_activatable (GtkCellRendererToggle *toggle,
|
||||
gboolean setting);
|
||||
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkCellRendererToggle, g_object_unref)
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
|
@ -70,6 +70,8 @@ GDK_AVAILABLE_IN_ALL
|
||||
void gtk_cell_view_set_fit_model (GtkCellView *cell_view,
|
||||
gboolean fit_model);
|
||||
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkCellView, g_object_unref)
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __GTK_CELL_VIEW_H__ */
|
||||
|
@ -101,6 +101,8 @@ GDK_AVAILABLE_IN_4_8
|
||||
void gtk_check_button_set_child (GtkCheckButton *button,
|
||||
GtkWidget *child);
|
||||
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkCheckButton, g_object_unref)
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __GTK_CHECK_BUTTON_H__ */
|
||||
|
@ -64,6 +64,8 @@ GDK_AVAILABLE_IN_ALL
|
||||
void gtk_color_button_set_modal (GtkColorButton *button,
|
||||
gboolean modal);
|
||||
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkColorButton, g_object_unref)
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __GTK_COLOR_BUTTON_H__ */
|
||||
|
@ -83,6 +83,8 @@ void gtk_color_chooser_add_palette (GtkColorChooser *chooser,
|
||||
int n_colors,
|
||||
GdkRGBA *colors);
|
||||
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkColorChooser, g_object_unref)
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __GTK_COLOR_CHOOSER_H__ */
|
||||
|
@ -39,6 +39,8 @@ GDK_AVAILABLE_IN_ALL
|
||||
GtkWidget * gtk_color_chooser_dialog_new (const char *title,
|
||||
GtkWindow *parent);
|
||||
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkColorChooserDialog, g_object_unref)
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __GTK_COLOR_CHOOSER_DIALOG_H__ */
|
||||
|
@ -38,6 +38,8 @@ GType gtk_color_chooser_widget_get_type (void) G_GNUC_CONST;
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GtkWidget * gtk_color_chooser_widget_new (void);
|
||||
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkColorChooserWidget, g_object_unref)
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __GTK_COLOR_CHOOSER_WIDGET_H__ */
|
||||
|
@ -154,6 +154,7 @@ void gtk_combo_box_set_child (GtkComboBox *combo_box,
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GtkWidget * gtk_combo_box_get_child (GtkComboBox *combo_box);
|
||||
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkComboBox, g_object_unref)
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
|
@ -71,6 +71,8 @@ void gtk_combo_box_text_prepend (GtkComboBoxText *combo_box
|
||||
const char *id,
|
||||
const char *text);
|
||||
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkComboBoxText, g_object_unref)
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __GTK_COMBO_BOX_TEXT_H__ */
|
||||
|
@ -66,6 +66,8 @@ void gtk_css_provider_load_named (GtkCssProvider *provider,
|
||||
const char *name,
|
||||
const char *variant);
|
||||
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkCssProvider, g_object_unref)
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __GTK_CSS_PROVIDER_H__ */
|
||||
|
@ -106,6 +106,8 @@ void gtk_drawing_area_set_draw_func (GtkDrawingArea
|
||||
gpointer user_data,
|
||||
GDestroyNotify destroy);
|
||||
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkDrawingArea, g_object_unref)
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __GTK_DRAWING_AREA_H__ */
|
||||
|
@ -195,6 +195,7 @@ gboolean gtk_editable_delegate_get_property (GObject *object,
|
||||
GValue *value,
|
||||
GParamSpec *pspec);
|
||||
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkEditable, g_object_unref)
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
|
@ -291,6 +291,8 @@ void gtk_entry_set_extra_menu (GtkEntry
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GMenuModel * gtk_entry_get_extra_menu (GtkEntry *entry);
|
||||
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkEntry, g_object_unref)
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __GTK_ENTRY_H__ */
|
||||
|
@ -130,6 +130,8 @@ void gtk_entry_completion_set_text_column (GtkEntryComplet
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
int gtk_entry_completion_get_text_column (GtkEntryCompletion *completion);
|
||||
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkEntryCompletion, g_object_unref)
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __GTK_ENTRY_COMPLETION_H__ */
|
||||
|
@ -81,6 +81,8 @@ GdkDevice * gtk_event_controller_get_current_event_device (GtkEventContr
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GdkModifierType gtk_event_controller_get_current_event_state (GtkEventController *controller);
|
||||
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkEventController, g_object_unref)
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __GTK_EVENT_CONTROLLER_H__ */
|
||||
|
@ -85,6 +85,7 @@ void gtk_expander_set_child (GtkExpander *expander,
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GtkWidget * gtk_expander_get_child (GtkExpander *expander);
|
||||
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkExpander, g_object_unref)
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
|
@ -43,6 +43,8 @@ GtkWidget *gtk_file_chooser_dialog_new (const char *title
|
||||
const char *first_button_text,
|
||||
...) G_GNUC_NULL_TERMINATED;
|
||||
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkFileChooserDialog, g_object_unref)
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __GTK_FILE_CHOOSER_DIALOG_H__ */
|
||||
|
@ -39,6 +39,8 @@ GType gtk_file_chooser_widget_get_type (void) G_GNUC_CONST;
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GtkWidget *gtk_file_chooser_widget_new (GtkFileChooserAction action);
|
||||
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkFileChooserWidget, g_object_unref)
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __GTK_FILE_CHOOSER_WIDGET_H__ */
|
||||
|
@ -68,6 +68,8 @@ GVariant * gtk_file_filter_to_gvariant (GtkFileFilter *filter);
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GtkFileFilter * gtk_file_filter_new_from_gvariant (GVariant *variant);
|
||||
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkFileFilter, g_object_unref)
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __GTK_FILE_FILTER_H__ */
|
||||
|
@ -91,6 +91,8 @@ GDK_AVAILABLE_IN_ALL
|
||||
GskTransform * gtk_fixed_get_child_transform (GtkFixed *fixed,
|
||||
GtkWidget *widget);
|
||||
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkFixed, g_object_unref)
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __GTK_FIXED_H__ */
|
||||
|
@ -224,6 +224,9 @@ void gtk_flow_box_set_sort_func (GtkFlowBox
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
void gtk_flow_box_invalidate_sort (GtkFlowBox *box);
|
||||
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkFlowBox, g_object_unref)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkFlowBoxChild, g_object_unref)
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
|
||||
|
@ -69,6 +69,8 @@ GDK_AVAILABLE_IN_ALL
|
||||
void gtk_font_button_set_use_size (GtkFontButton *font_button,
|
||||
gboolean use_size);
|
||||
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkFontButton, g_object_unref)
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
|
||||
|
@ -161,6 +161,8 @@ GDK_AVAILABLE_IN_ALL
|
||||
void gtk_font_chooser_set_language (GtkFontChooser *fontchooser,
|
||||
const char *language);
|
||||
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkFontChooser, g_object_unref)
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __GTK_FONT_CHOOSER_H__ */
|
||||
|
@ -38,6 +38,8 @@ GDK_AVAILABLE_IN_ALL
|
||||
GtkWidget* gtk_font_chooser_dialog_new (const char *title,
|
||||
GtkWindow *parent);
|
||||
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkFontChooserDialog, g_object_unref)
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __GTK_FONT_CHOOSER_DIALOG_H__ */
|
||||
|
@ -38,6 +38,8 @@ GType gtk_font_chooser_widget_get_type (void) G_GNUC_CONS
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GtkWidget* gtk_font_chooser_widget_new (void);
|
||||
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkFontChooserWidget, g_object_unref)
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __GTK_FONT_CHOOSER_WIDGET_H__ */
|
||||
|
@ -99,6 +99,7 @@ void gtk_frame_set_child (GtkFrame *frame,
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GtkWidget *gtk_frame_get_child (GtkFrame *frame);
|
||||
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkFrame, g_object_unref)
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
|
@ -102,6 +102,8 @@ GDK_AVAILABLE_IN_ALL
|
||||
gboolean gtk_gesture_is_grouped_with (GtkGesture *gesture,
|
||||
GtkGesture *other);
|
||||
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkGesture, g_object_unref)
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __GTK_GESTURE_H__ */
|
||||
|
@ -44,6 +44,8 @@ GType gtk_gesture_click_get_type (void) G_GNUC_CONST;
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GtkGesture * gtk_gesture_click_new (void);
|
||||
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkGestureClick, g_object_unref)
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __GTK_GESTURE_CLICK_H__ */
|
||||
|
@ -53,6 +53,8 @@ gboolean gtk_gesture_drag_get_offset (GtkGestureDrag *gesture,
|
||||
double *x,
|
||||
double *y);
|
||||
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkGestureDrag, g_object_unref)
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __GTK_GESTURE_DRAG_H__ */
|
||||
|
@ -51,7 +51,7 @@ void gtk_gesture_long_press_set_delay_factor (GtkGestureLongPress *gestu
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
double gtk_gesture_long_press_get_delay_factor (GtkGestureLongPress *gesture);
|
||||
|
||||
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkGestureLongPress, g_object_unref)
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
|
@ -51,6 +51,7 @@ GDK_AVAILABLE_IN_ALL
|
||||
void gtk_gesture_pan_set_orientation (GtkGesturePan *gesture,
|
||||
GtkOrientation orientation);
|
||||
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkGesturePan, g_object_unref)
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
|
@ -48,6 +48,8 @@ GtkGesture * gtk_gesture_rotate_new (void);
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
double gtk_gesture_rotate_get_angle_delta (GtkGestureRotate *gesture);
|
||||
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkGestureRotate, g_object_unref)
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __GTK_GESTURE_ROTATE_H__ */
|
||||
|
@ -70,6 +70,8 @@ GDK_AVAILABLE_IN_ALL
|
||||
GdkEventSequence * gtk_gesture_single_get_current_sequence
|
||||
(GtkGestureSingle *gesture);
|
||||
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkGestureSingle, g_object_unref)
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __GTK_GESTURE_SINGLE_H__ */
|
||||
|
@ -50,6 +50,8 @@ gboolean gtk_gesture_swipe_get_velocity (GtkGestureSwipe *gesture,
|
||||
double *velocity_x,
|
||||
double *velocity_y);
|
||||
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkGestureSwipe, g_object_unref)
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __GTK_GESTURE_SWIPE_H__ */
|
||||
|
@ -48,6 +48,8 @@ GtkGesture * gtk_gesture_zoom_new (void);
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
double gtk_gesture_zoom_get_scale_delta (GtkGestureZoom *gesture);
|
||||
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkGestureZoom, g_object_unref)
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __GTK_GESTURE_ZOOM_H__ */
|
||||
|
@ -122,6 +122,8 @@ void gtk_gl_area_set_error (GtkGLArea *area,
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GError * gtk_gl_area_get_error (GtkGLArea *area);
|
||||
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkGLArea, g_object_unref)
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __GTK_GL_AREA_H__ */
|
||||
|
@ -142,6 +142,8 @@ void gtk_grid_query_child (GtkGrid *grid,
|
||||
int *width,
|
||||
int *height);
|
||||
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkGrid, g_object_unref)
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __GTK_GRID_H__ */
|
||||
|
@ -79,6 +79,7 @@ void gtk_grid_view_set_single_click_activate (GtkGridView
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
gboolean gtk_grid_view_get_single_click_activate (GtkGridView *self);
|
||||
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkGridView, g_object_unref)
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
|
@ -67,6 +67,8 @@ void gtk_header_bar_set_decoration_layout (GtkHeaderBar *bar,
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
const char *gtk_header_bar_get_decoration_layout (GtkHeaderBar *bar);
|
||||
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkHeaderBar, g_object_unref)
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __GTK_HEADER_BAR_H__ */
|
||||
|
@ -154,6 +154,9 @@ const char * gtk_icon_paintable_get_icon_name (GtkIconPaintable *se
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
gboolean gtk_icon_paintable_is_symbolic (GtkIconPaintable *self);
|
||||
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkIconPaintable, g_object_unref)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkIconTheme, g_object_unref)
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __GTK_ICON_THEME_H__ */
|
||||
|
@ -282,6 +282,7 @@ void gtk_icon_view_set_tooltip_column (GtkIconView
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
int gtk_icon_view_get_tooltip_column (GtkIconView *icon_view);
|
||||
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkIconView, g_object_unref)
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
|
@ -126,6 +126,8 @@ int gtk_image_get_pixel_size (GtkImage *image);
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GtkIconSize gtk_image_get_icon_size (GtkImage *image);
|
||||
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkImage, g_object_unref)
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __GTK_IMAGE_H__ */
|
||||
|
@ -168,6 +168,8 @@ gboolean gtk_im_context_delete_surrounding (GtkIMContext *context,
|
||||
int offset,
|
||||
int n_chars);
|
||||
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkIMContext, g_object_unref)
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __GTK_IM_CONTEXT_H__ */
|
||||
|
@ -72,6 +72,7 @@ GDK_AVAILABLE_IN_ALL
|
||||
void gtk_im_context_simple_add_compose_file (GtkIMContextSimple *context_simple,
|
||||
const char *compose_file);
|
||||
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkIMContextSimple, g_object_unref)
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
|
@ -68,7 +68,9 @@ const char * gtk_im_multicontext_get_context_id (GtkIMMulticontext *context);
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
void gtk_im_multicontext_set_context_id (GtkIMMulticontext *context,
|
||||
const char *context_id);
|
||||
|
||||
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkIMMulticontext, g_object_unref)
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __GTK_IM_MULTICONTEXT_H__ */
|
||||
|
@ -105,6 +105,8 @@ void gtk_info_bar_set_revealed (GtkInfoBar *info_bar,
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
gboolean gtk_info_bar_get_revealed (GtkInfoBar *info_bar);
|
||||
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkInfoBar, g_object_unref)
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __GTK_INFO_BAR_H__ */
|
||||
|
@ -110,6 +110,8 @@ gboolean gtk_level_bar_get_offset_value (GtkLevelBar *self,
|
||||
const char *name,
|
||||
double *value);
|
||||
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkLevelBar, g_object_unref)
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __GTK_LEVEL_BAR_H__ */
|
||||
|
@ -59,6 +59,7 @@ GDK_AVAILABLE_IN_ALL
|
||||
void gtk_link_button_set_visited (GtkLinkButton *link_button,
|
||||
gboolean visited);
|
||||
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkLinkButton, g_object_unref)
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
|
@ -64,6 +64,7 @@ void gtk_list_item_set_child (GtkListItem
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GtkWidget * gtk_list_item_get_child (GtkListItem *self);
|
||||
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkListItem, g_object_unref)
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
|
@ -42,6 +42,7 @@ G_BEGIN_DECLS
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GType gtk_list_item_factory_get_type (void) G_GNUC_CONST;
|
||||
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkListItemFactory, g_object_unref)
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
|
@ -146,6 +146,7 @@ void gtk_list_store_move_before (GtkListStore *store,
|
||||
GtkTreeIter *iter,
|
||||
GtkTreeIter *position);
|
||||
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkListStore, g_object_unref)
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
|
@ -40,6 +40,7 @@ GDK_AVAILABLE_IN_ALL
|
||||
void gtk_lock_button_set_permission (GtkLockButton *button,
|
||||
GPermission *permission);
|
||||
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkLockButton, g_object_unref)
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
|
@ -127,6 +127,8 @@ void gtk_menu_button_set_child (GtkMenuButton *menu_button,
|
||||
GDK_AVAILABLE_IN_4_6
|
||||
GtkWidget * gtk_menu_button_get_child (GtkMenuButton *menu_button);
|
||||
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkMenuButton, g_object_unref)
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __GTK_MENU_BUTTON_H__ */
|
||||
|
@ -111,6 +111,8 @@ void gtk_message_dialog_format_secondary_markup (GtkMessageDialog *message
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GtkWidget *gtk_message_dialog_get_message_area (GtkMessageDialog *message_dialog);
|
||||
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkMessageDialog, g_object_unref)
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __GTK_MESSAGE_DIALOG_H__ */
|
||||
|
@ -84,6 +84,8 @@ void gtk_mount_operation_set_display(GtkMountOperation *op,
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GdkDisplay * gtk_mount_operation_get_display(GtkMountOperation *op);
|
||||
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkMountOperation, g_object_unref)
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __GTK_MOUNT_OPERATION_H__ */
|
||||
|
@ -243,6 +243,8 @@ GtkWidget *gtk_notebook_page_get_child (GtkNotebookPage *page);
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GListModel *gtk_notebook_get_pages (GtkNotebook *notebook);
|
||||
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkNotebook, g_object_unref)
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __GTK_NOTEBOOK_H__ */
|
||||
|
@ -53,6 +53,8 @@ void gtk_orientable_set_orientation (GtkOrientable *orientable,
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GtkOrientation gtk_orientable_get_orientation (GtkOrientable *orientable);
|
||||
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkOrientable, g_object_unref)
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __GTK_ORIENTABLE_H__ */
|
||||
|
@ -67,6 +67,8 @@ void gtk_overlay_set_clip_overlay (GtkOverlay *overlay,
|
||||
GtkWidget *widget,
|
||||
gboolean clip_overlay);
|
||||
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkOverlay, g_object_unref)
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __GTK_OVERLAY_H__ */
|
||||
|
@ -132,6 +132,8 @@ GVariant *gtk_page_setup_to_gvariant (GtkPageSetup *setup)
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GtkPageSetup *gtk_page_setup_new_from_gvariant (GVariant *variant);
|
||||
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkPageSetup, g_object_unref)
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __GTK_PAGE_SETUP_H__ */
|
||||
|
@ -90,6 +90,7 @@ void gtk_paned_set_wide_handle (GtkPaned *paned,
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
gboolean gtk_paned_get_wide_handle (GtkPaned *paned);
|
||||
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkPaned, g_object_unref)
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
|
@ -169,6 +169,8 @@ GtkPaperSize *gtk_paper_size_new_from_gvariant (GVariant *variant);
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GVariant *gtk_paper_size_to_gvariant (GtkPaperSize *paper_size);
|
||||
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkPaperSize, gtk_paper_size_free)
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __GTK_PAPER_SIZE_H__ */
|
||||
|
@ -124,6 +124,7 @@ void gtk_popover_set_default_widget (GtkPopover *popover,
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
void gtk_popover_present (GtkPopover *popover);
|
||||
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkPopover, g_object_unref)
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
|
@ -70,6 +70,8 @@ GDK_AVAILABLE_IN_ALL
|
||||
gboolean gtk_popover_menu_remove_child (GtkPopoverMenu *popover,
|
||||
GtkWidget *child);
|
||||
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkPopoverMenu, g_object_unref)
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __GTK_POPOVER_MENU_H__ */
|
||||
|
@ -55,6 +55,9 @@ gboolean gtk_popover_menu_bar_add_child (GtkPopoverMenuBar *bar,
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
gboolean gtk_popover_menu_bar_remove_child (GtkPopoverMenuBar *bar,
|
||||
GtkWidget *child);
|
||||
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkPopoverMenuBar, g_object_unref)
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
|
||||
|
@ -76,6 +76,8 @@ void gtk_print_context_set_cairo_context (GtkPrintContext *context,
|
||||
double dpi_x,
|
||||
double dpi_y);
|
||||
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkPrintContext, g_object_unref)
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __GTK_PRINT_CONTEXT_H__ */
|
||||
|
@ -331,6 +331,8 @@ void gtk_print_run_page_setup_dialog_async (GtkWindow
|
||||
GtkPageSetupDoneFunc done_cb,
|
||||
gpointer data);
|
||||
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkPrintOperation, g_object_unref)
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __GTK_PRINT_OPERATION_H__ */
|
||||
|
@ -78,6 +78,8 @@ GDK_AVAILABLE_IN_ALL
|
||||
gboolean gtk_print_operation_preview_is_selected (GtkPrintOperationPreview *preview,
|
||||
int page_nr);
|
||||
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkPrintOperationPreview, g_object_unref)
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __GTK_PRINT_OPERATION_PREVIEW_H__ */
|
||||
|
@ -348,6 +348,7 @@ GVariant *gtk_print_settings_to_gvariant (GtkPrintSettings
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GtkPrintSettings *gtk_print_settings_new_from_gvariant (GVariant *variant);
|
||||
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkPrintSettings, g_object_unref)
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
|
@ -83,6 +83,8 @@ void gtk_progress_bar_set_show_text (GtkProgressBar *pbar,
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
gboolean gtk_progress_bar_get_show_text (GtkProgressBar *pbar);
|
||||
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkProgressBar, g_object_unref)
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __GTK_PROGRESS_BAR_H__ */
|
||||
|
@ -147,6 +147,7 @@ void gtk_range_set_round_digits (GtkRange *range
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
int gtk_range_get_round_digits (GtkRange *range);
|
||||
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkRange, g_object_unref)
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user