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 24 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkAccessible, g_object_unref) 25 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkActionBar, g_object_unref) 26 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkActionable, g_object_unref) 27 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkAdjustment, g_object_unref) 28 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkAppChooser, g_object_unref) 29 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkAppChooserButton, g_object_unref) 30 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkAppChooserDialog, g_object_unref) 31 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkAppChooserWidget, g_object_unref) 32 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkApplicationWindow, g_object_unref) 33 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkAspectFrame, g_object_unref) 34 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkAssistant, g_object_unref) 35 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkBox, g_object_unref) 36 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkBuildable, g_object_unref) 37 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkBuilder, g_object_unref) 38 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkButton, g_object_unref) 39 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkButtonBox, g_object_unref) 40 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkCalendar, g_object_unref) 41 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkCellArea, g_object_unref) 42 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkCellAreaBox, g_object_unref) 43 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkCellAreaContext, g_object_unref) 44 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkCellEditable, g_object_unref) 45 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkCellLayout, g_object_unref) 46 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkCellRenderer, g_object_unref) 47 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkCellRendererAccel, g_object_unref) 48 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkCellRendererCombo, g_object_unref) 49 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkCellRendererPixbuf, g_object_unref) 50 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkCellRendererProgress, g_object_unref) 51 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkCellRendererSpin, g_object_unref) 52 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkCellRendererSpinner, g_object_unref) 53 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkCellRendererText, g_object_unref) 54 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkCellRendererToggle, g_object_unref) 55 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkCellView, g_object_unref) 56 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkCheckButton, g_object_unref) 57 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkCheckMenuItem, g_object_unref) 58 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkClipboard, g_object_unref) 59 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkColorButton, g_object_unref) 60 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkColorChooser, g_object_unref) 61 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkColorChooserDialog, g_object_unref) 62 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkColorChooserWidget, g_object_unref) 63 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkComboBox, g_object_unref) 64 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkComboBoxText, g_object_unref) 65 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkCssProvider, g_object_unref) 66 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkDrawingArea, g_object_unref) 67 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkEditable, g_object_unref) 68 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkEntry, g_object_unref) 69 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkEntryBuffer, g_object_unref) 70 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkEntryCompletion, g_object_unref) 71 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkEventBox, g_object_unref) 72 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkEventController, g_object_unref) 73 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkExpander, g_object_unref) 74 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkFileChooserButton, g_object_unref) 75 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkFileChooserDialog, g_object_unref) 76 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkFileChooserWidget, g_object_unref) 77 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkFileFilter, g_object_unref) 78 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkFixed, g_object_unref) 79 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkFlowBox, g_object_unref) 80 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkFlowBoxChild, g_object_unref) 81 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkFontButton, g_object_unref) 82 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkFontChooser, g_object_unref) 83 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkFontChooserDialog, g_object_unref) 84 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkFontChooserWidget, g_object_unref) 85 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkFrame, g_object_unref) 86 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkGLArea, g_object_unref) 87 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkGesture, g_object_unref) 88 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkGestureDrag, g_object_unref) 89 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkGestureLongPress, g_object_unref) 90 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkGestureMultiPress, g_object_unref) 91 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkGesturePan, g_object_unref) 92 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkGestureRotate, g_object_unref) 93 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkGestureSingle, g_object_unref) 94 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkGestureSwipe, g_object_unref) 95 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkGestureZoom, g_object_unref) 96 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkGrid, g_object_unref) 97 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkHeaderBar, g_object_unref) 98 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkIMContext, g_object_unref) 99 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkIMContextSimple, g_object_unref) 100 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkIMMulticontext, g_object_unref) 101 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkIconInfo, g_object_unref) 102 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkIconTheme, g_object_unref) 103 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkIconView, g_object_unref) 104 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkImage, g_object_unref) 105 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkInfoBar, g_object_unref) 106 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkInvisible, g_object_unref) 107 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkLayout, g_object_unref) 108 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkLevelBar, g_object_unref) 109 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkLinkButton, g_object_unref) 110 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkListStore, g_object_unref) 111 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkLockButton, g_object_unref) 112 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkMenuBar, g_object_unref) 113 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkMenuButton, g_object_unref) 114 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkMenuItem, g_object_unref) 115 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkMenuToolButton, g_object_unref) 116 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkMessageDialog, g_object_unref) 117 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkMountOperation, g_object_unref) 118 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkNotebook, g_object_unref) 119 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkOffscreenWindow, g_object_unref) 120 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkOrientable, g_object_unref) 121 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkOverlay, g_object_unref) 122 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkPageSetup, g_object_unref) 123 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkPaned, g_object_unref) 124 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkPlacesSidebar, g_object_unref) 125 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkPopover, g_object_unref) 126 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkPopoverMenu, g_object_unref) 127 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkPrintContext, g_object_unref) 128 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkPrintOperation, g_object_unref) 129 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkPrintOperationPreview, g_object_unref) 130 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkPrintSettings, g_object_unref) 131 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkProgressBar, g_object_unref) 132 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkRadioButton, g_object_unref) 133 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkRadioMenuItem, g_object_unref) 134 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkRadioToolButton, g_object_unref) 135 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkRange, g_object_unref) 136 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkRcStyle, g_object_unref) 137 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkRecentChooser, g_object_unref) 138 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkRecentChooserDialog, g_object_unref) 139 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkRecentChooserMenu, g_object_unref) 140 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkRecentChooserWidget, g_object_unref) 141 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkRecentFilter, g_object_unref) 142 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkRecentManager, g_object_unref) 143 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkRevealer, g_object_unref) 144 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkScale, g_object_unref) 145 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkScaleButton, g_object_unref) 146 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkScrollable, g_object_unref) 147 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkScrollbar, g_object_unref) 148 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkScrolledWindow, g_object_unref) 149 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkSearchBar, g_object_unref) 150 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkSearchEntry, g_object_unref) 151 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkSeparator, g_object_unref) 152 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkSeparatorMenuItem, g_object_unref) 153 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkSeparatorToolItem, g_object_unref) 154 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkSettings, g_object_unref) 155 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkStackSidebar, g_object_unref) 156 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkSizeGroup, g_object_unref) 157 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkSpinButton, g_object_unref) 158 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkSpinner, g_object_unref) 159 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkStack, g_object_unref) 160 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkStackSwitcher, g_object_unref) 161 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkStatusbar, g_object_unref) 162 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkStyle, g_object_unref) 163 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkStyleContext, g_object_unref) 164 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkStyleProperties, g_object_unref) 165 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkStyleProvider, g_object_unref) 166 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkSwitch, g_object_unref) 167 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkTextBuffer, g_object_unref) 168 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkTextChildAnchor, g_object_unref) 169 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkTextMark, g_object_unref) 170 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkTextTag, g_object_unref) 171 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkTextTagTable, g_object_unref) 172 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkTextView, g_object_unref) 173 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkToggleButton, g_object_unref) 174 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkToggleToolButton, g_object_unref) 175 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkToolButton, g_object_unref) 176 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkToolItem, g_object_unref) 177 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkToolItemGroup, g_object_unref) 178 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkToolPalette, g_object_unref) 179 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkToolShell, g_object_unref) 180 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkToolbar, g_object_unref) 181 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkTooltip, g_object_unref) 182 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkTreeDragDest, g_object_unref) 183 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkTreeDragSource, g_object_unref) 184 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkTreeModel, g_object_unref) 185 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkTreeModelFilter, g_object_unref) 186 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkTreeModelSort, g_object_unref) 187 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkTreeSelection, g_object_unref) 188 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkTreeSortable, g_object_unref) 189 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkTreeStore, g_object_unref) 190 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkTreeView, g_object_unref) 191 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkTreeViewColumn, g_object_unref) 192 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkViewport, g_object_unref) 193 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkVolumeButton, g_object_unref) 194 195 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkPaperSize, gtk_paper_size_free) 196 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkRecentInfo, gtk_recent_info_unref) 197 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkSelectionData, gtk_selection_data_free) 198 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkTargetList, gtk_target_list_unref) 199 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkTextAttributes, gtk_text_attributes_unref) 200 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkTextIter, gtk_text_iter_free) 201 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkTreeIter, gtk_tree_iter_free) 202 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkTreePath, gtk_tree_path_free) 203 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkTreeRowReference, gtk_tree_row_reference_free) 204 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkWidgetPath, gtk_widget_path_unref) 205 206 #endif 207