1/* GTK - The GIMP Toolkit
2 * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald
3 *
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2 of the License, or (at your option) any later version.
8 *
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
13 *
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library. If not, see <http://www.gnu.org/licenses/>.
16 */
17
18#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)
19#error "Only <gtk/gtk.h> can be included directly."
20#endif
21
22#ifndef __GI_SCANNER__
23
24G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkAccessible, g_object_unref)
25G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkActionBar, g_object_unref)
26G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkActionable, g_object_unref)
27G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkAdjustment, g_object_unref)
28G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkAppChooser, g_object_unref)
29G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkAppChooserButton, g_object_unref)
30G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkAppChooserDialog, g_object_unref)
31G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkAppChooserWidget, g_object_unref)
32G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkApplicationWindow, g_object_unref)
33G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkAspectFrame, g_object_unref)
34G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkAssistant, g_object_unref)
35G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkBox, g_object_unref)
36G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkBuildable, g_object_unref)
37G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkBuilder, g_object_unref)
38G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkButton, g_object_unref)
39G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkButtonBox, g_object_unref)
40G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkCalendar, g_object_unref)
41G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkCellArea, g_object_unref)
42G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkCellAreaBox, g_object_unref)
43G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkCellAreaContext, g_object_unref)
44G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkCellEditable, g_object_unref)
45G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkCellLayout, g_object_unref)
46G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkCellRenderer, g_object_unref)
47G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkCellRendererAccel, g_object_unref)
48G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkCellRendererCombo, g_object_unref)
49G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkCellRendererPixbuf, g_object_unref)
50G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkCellRendererProgress, g_object_unref)
51G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkCellRendererSpin, g_object_unref)
52G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkCellRendererSpinner, g_object_unref)
53G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkCellRendererText, g_object_unref)
54G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkCellRendererToggle, g_object_unref)
55G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkCellView, g_object_unref)
56G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkCheckButton, g_object_unref)
57G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkCheckMenuItem, g_object_unref)
58G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkClipboard, g_object_unref)
59G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkColorButton, g_object_unref)
60G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkColorChooser, g_object_unref)
61G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkColorChooserDialog, g_object_unref)
62G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkColorChooserWidget, g_object_unref)
63G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkComboBox, g_object_unref)
64G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkComboBoxText, g_object_unref)
65G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkCssProvider, g_object_unref)
66G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkDrawingArea, g_object_unref)
67G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkEditable, g_object_unref)
68G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkEntry, g_object_unref)
69G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkEntryBuffer, g_object_unref)
70G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkEntryCompletion, g_object_unref)
71G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkEventBox, g_object_unref)
72G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkEventController, g_object_unref)
73G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkExpander, g_object_unref)
74G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkFileChooserButton, g_object_unref)
75G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkFileChooserDialog, g_object_unref)
76G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkFileChooserWidget, g_object_unref)
77G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkFileFilter, g_object_unref)
78G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkFixed, g_object_unref)
79G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkFlowBox, g_object_unref)
80G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkFlowBoxChild, g_object_unref)
81G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkFontButton, g_object_unref)
82G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkFontChooser, g_object_unref)
83G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkFontChooserDialog, g_object_unref)
84G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkFontChooserWidget, g_object_unref)
85G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkFrame, g_object_unref)
86G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkGLArea, g_object_unref)
87G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkGesture, g_object_unref)
88G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkGestureDrag, g_object_unref)
89G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkGestureLongPress, g_object_unref)
90G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkGestureMultiPress, g_object_unref)
91G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkGesturePan, g_object_unref)
92G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkGestureRotate, g_object_unref)
93G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkGestureSingle, g_object_unref)
94G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkGestureSwipe, g_object_unref)
95G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkGestureZoom, g_object_unref)
96G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkGrid, g_object_unref)
97G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkHeaderBar, g_object_unref)
98G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkIMContext, g_object_unref)
99G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkIMContextSimple, g_object_unref)
100G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkIMMulticontext, g_object_unref)
101G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkIconInfo, g_object_unref)
102G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkIconTheme, g_object_unref)
103G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkIconView, g_object_unref)
104G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkImage, g_object_unref)
105G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkInfoBar, g_object_unref)
106G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkInvisible, g_object_unref)
107G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkLayout, g_object_unref)
108G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkLevelBar, g_object_unref)
109G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkLinkButton, g_object_unref)
110G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkListStore, g_object_unref)
111G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkLockButton, g_object_unref)
112G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkMenuBar, g_object_unref)
113G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkMenuButton, g_object_unref)
114G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkMenuItem, g_object_unref)
115G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkMenuToolButton, g_object_unref)
116G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkMessageDialog, g_object_unref)
117G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkMountOperation, g_object_unref)
118G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkNotebook, g_object_unref)
119G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkOffscreenWindow, g_object_unref)
120G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkOrientable, g_object_unref)
121G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkOverlay, g_object_unref)
122G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkPageSetup, g_object_unref)
123G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkPaned, g_object_unref)
124G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkPlacesSidebar, g_object_unref)
125G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkPopover, g_object_unref)
126G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkPopoverMenu, g_object_unref)
127G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkPrintContext, g_object_unref)
128G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkPrintOperation, g_object_unref)
129G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkPrintOperationPreview, g_object_unref)
130G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkPrintSettings, g_object_unref)
131G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkProgressBar, g_object_unref)
132G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkRadioButton, g_object_unref)
133G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkRadioMenuItem, g_object_unref)
134G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkRadioToolButton, g_object_unref)
135G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkRange, g_object_unref)
136G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkRcStyle, g_object_unref)
137G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkRecentChooser, g_object_unref)
138G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkRecentChooserDialog, g_object_unref)
139G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkRecentChooserMenu, g_object_unref)
140G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkRecentChooserWidget, g_object_unref)
141G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkRecentFilter, g_object_unref)
142G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkRecentManager, g_object_unref)
143G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkRevealer, g_object_unref)
144G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkScale, g_object_unref)
145G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkScaleButton, g_object_unref)
146G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkScrollable, g_object_unref)
147G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkScrollbar, g_object_unref)
148G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkScrolledWindow, g_object_unref)
149G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkSearchBar, g_object_unref)
150G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkSearchEntry, g_object_unref)
151G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkSeparator, g_object_unref)
152G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkSeparatorMenuItem, g_object_unref)
153G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkSeparatorToolItem, g_object_unref)
154G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkSettings, g_object_unref)
155G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkStackSidebar, g_object_unref)
156G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkSizeGroup, g_object_unref)
157G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkSpinButton, g_object_unref)
158G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkSpinner, g_object_unref)
159G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkStack, g_object_unref)
160G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkStackSwitcher, g_object_unref)
161G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkStatusbar, g_object_unref)
162G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkStyle, g_object_unref)
163G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkStyleContext, g_object_unref)
164G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkStyleProperties, g_object_unref)
165G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkStyleProvider, g_object_unref)
166G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkSwitch, g_object_unref)
167G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkTextBuffer, g_object_unref)
168G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkTextChildAnchor, g_object_unref)
169G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkTextMark, g_object_unref)
170G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkTextTag, g_object_unref)
171G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkTextTagTable, g_object_unref)
172G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkTextView, g_object_unref)
173G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkToggleButton, g_object_unref)
174G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkToggleToolButton, g_object_unref)
175G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkToolButton, g_object_unref)
176G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkToolItem, g_object_unref)
177G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkToolItemGroup, g_object_unref)
178G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkToolPalette, g_object_unref)
179G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkToolShell, g_object_unref)
180G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkToolbar, g_object_unref)
181G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkTooltip, g_object_unref)
182G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkTreeDragDest, g_object_unref)
183G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkTreeDragSource, g_object_unref)
184G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkTreeModel, g_object_unref)
185G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkTreeModelFilter, g_object_unref)
186G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkTreeModelSort, g_object_unref)
187G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkTreeSelection, g_object_unref)
188G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkTreeSortable, g_object_unref)
189G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkTreeStore, g_object_unref)
190G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkTreeView, g_object_unref)
191G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkTreeViewColumn, g_object_unref)
192G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkViewport, g_object_unref)
193G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkVolumeButton, g_object_unref)
194
195G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkPaperSize, gtk_paper_size_free)
196G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkRecentInfo, gtk_recent_info_unref)
197G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkSelectionData, gtk_selection_data_free)
198G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkTargetList, gtk_target_list_unref)
199G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkTextAttributes, gtk_text_attributes_unref)
200G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkTextIter, gtk_text_iter_free)
201G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkTreeIter, gtk_tree_iter_free)
202G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkTreePath, gtk_tree_path_free)
203G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkTreeRowReference, gtk_tree_row_reference_free)
204G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkWidgetPath, gtk_widget_path_unref)
205
206#endif
207