From a1c5a806b3985b442d78506f0afae476567e597a Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Fri, 31 Mar 2023 15:11:10 -0400 Subject: [PATCH] Convert headers to #pragma once The conversion was done by guard2one. --- gdk/broadway/broadway-output.h | 4 +--- gdk/broadway/broadway-protocol.h | 4 +--- gdk/broadway/broadway-server.h | 4 +--- gdk/broadway/gdkbroadway-server.h | 4 +--- gdk/broadway/gdkbroadway.h | 4 +--- gdk/broadway/gdkbroadwaycursor.h | 4 +--- gdk/broadway/gdkbroadwaydisplay.h | 4 +--- gdk/broadway/gdkbroadwaydisplaymanager.h | 4 +--- gdk/broadway/gdkbroadwaymonitor.h | 4 +--- gdk/broadway/gdkbroadwaysurface.h | 4 +--- gdk/broadway/gdkcairocontext-broadway.h | 4 +--- gdk/broadway/gdkdevice-broadway.h | 4 +--- gdk/broadway/gdkdisplay-broadway.h | 4 +--- gdk/broadway/gdkdrawcontext-broadway.h | 4 +--- gdk/broadway/gdkeventsource.h | 4 +--- gdk/broadway/gdkmonitor-broadway.h | 4 +--- gdk/broadway/gdkprivate-broadway.h | 4 +--- gdk/broadway/gdksurface-broadway.h | 4 +--- gdk/filetransferportalprivate.h | 4 +--- gdk/gdk.h | 4 +--- gdk/gdkapplaunchcontext.h | 4 +--- gdk/gdkapplaunchcontextprivate.h | 4 +--- gdk/gdkcairo.h | 4 +--- gdk/gdkcairocontext.h | 4 +--- gdk/gdkcairocontextprivate.h | 4 +--- gdk/gdkcairoprivate.h | 4 +--- gdk/gdkclipboard.h | 4 +--- gdk/gdkclipboardprivate.h | 4 +--- gdk/gdkcontentdeserializer.h | 4 +--- gdk/gdkcontentformats.h | 4 +--- gdk/gdkcontentformatsprivate.h | 4 +--- gdk/gdkcontentprovider.h | 4 +--- gdk/gdkcontentproviderimpl.h | 4 +--- gdk/gdkcontentproviderprivate.h | 4 +--- gdk/gdkcontentserializer.h | 4 +--- gdk/gdkcursor.h | 4 +--- gdk/gdkcursorprivate.h | 4 +--- gdk/gdkdebugprivate.h | 4 +--- gdk/gdkdevice.h | 4 +--- gdk/gdkdevicepad.h | 4 +--- gdk/gdkdevicepadprivate.h | 4 +--- gdk/gdkdeviceprivate.h | 4 +--- gdk/gdkdevicetool.h | 4 +--- gdk/gdkdevicetoolprivate.h | 4 +--- gdk/gdkdisplay.h | 4 +--- gdk/gdkdisplaymanager.h | 4 +--- gdk/gdkdisplaymanagerprivate.h | 4 +--- gdk/gdkdisplayprivate.h | 4 +--- gdk/gdkdrag.h | 4 +--- gdk/gdkdragprivate.h | 4 +--- gdk/gdkdragsurface.h | 4 +--- gdk/gdkdragsurfaceprivate.h | 4 +--- gdk/gdkdrawcontext.h | 4 +--- gdk/gdkdrawcontextprivate.h | 4 +--- gdk/gdkdrop.h | 4 +--- gdk/gdkdropprivate.h | 4 +--- gdk/gdkenums.h | 4 +--- gdk/gdkevents.h | 4 +--- gdk/gdkeventsprivate.h | 4 +--- gdk/gdkframeclock.h | 4 +--- gdk/gdkframeclockidleprivate.h | 4 +--- gdk/gdkframeclockprivate.h | 4 +--- gdk/gdkframetimings.h | 4 +--- gdk/gdkglcontext.h | 4 +--- gdk/gdkglcontextprivate.h | 4 +--- gdk/gdkgltexture.h | 4 +--- gdk/gdkgltextureprivate.h | 4 +--- gdk/gdkhslaprivate.h | 4 +--- gdk/gdkkeys.h | 4 +--- gdk/gdkkeysprivate.h | 4 +--- gdk/gdkkeysyms.h | 4 +--- gdk/gdkmemoryformatprivate.h | 4 +--- gdk/gdkmemorytexture.h | 4 +--- gdk/gdkmemorytextureprivate.h | 4 +--- gdk/gdkmonitor.h | 4 +--- gdk/gdkmonitorprivate.h | 4 +--- gdk/gdkpaintable.h | 4 +--- gdk/gdkpango.h | 4 +--- gdk/gdkpipeiostreamprivate.h | 4 +--- gdk/gdkpixbuf.h | 4 +--- gdk/gdkpopup.h | 4 +--- gdk/gdkpopuplayout.h | 4 +--- gdk/gdkpopupprivate.h | 4 +--- gdk/gdkprivate.h | 4 +--- gdk/gdkprofilerprivate.h | 4 +--- gdk/gdkrectangle.h | 4 +--- gdk/gdkrgba.h | 4 +--- gdk/gdkrgbaprivate.h | 4 +--- gdk/gdkseat.h | 4 +--- gdk/gdkseatdefaultprivate.h | 4 +--- gdk/gdkseatprivate.h | 4 +--- gdk/gdksnapshot.h | 4 +--- gdk/gdksnapshotprivate.h | 4 +--- gdk/gdksurface.h | 4 +--- gdk/gdksurfaceprivate.h | 4 +--- gdk/gdktexture.h | 4 +--- gdk/gdktexturedownloader.h | 4 +--- gdk/gdktexturedownloaderprivate.h | 4 +--- gdk/gdktextureprivate.h | 4 +--- gdk/gdktoplevel.h | 4 +--- gdk/gdktoplevellayout.h | 4 +--- gdk/gdktoplevelprivate.h | 4 +--- gdk/gdktoplevelsize.h | 4 +--- gdk/gdktoplevelsizeprivate.h | 4 +--- gdk/gdktypes.h | 4 +--- gdk/gdkvulkancontext.h | 4 +--- gdk/gdkvulkancontextprivate.h | 4 +--- gdk/loaders/gdkjpegprivate.h | 4 +--- gdk/loaders/gdkpngprivate.h | 4 +--- gdk/loaders/gdktiffprivate.h | 4 +--- gdk/macos/edgesnapping.h | 4 +--- gdk/macos/gdkdisplaylinksource.h | 4 +--- gdk/macos/gdkmacos.h | 4 +--- gdk/macos/gdkmacosbuffer-private.h | 4 +--- gdk/macos/gdkmacoscairocontext-private.h | 4 +--- gdk/macos/gdkmacosclipboard-private.h | 4 +--- gdk/macos/gdkmacoscursor-private.h | 4 +--- gdk/macos/gdkmacosdevice-private.h | 4 +--- gdk/macos/gdkmacosdevice.h | 4 +--- gdk/macos/gdkmacosdisplay-private.h | 4 +--- gdk/macos/gdkmacosdisplay.h | 4 +--- gdk/macos/gdkmacosdrag-private.h | 4 +--- gdk/macos/gdkmacosdragsurface-private.h | 4 +--- gdk/macos/gdkmacosdrop-private.h | 4 +--- gdk/macos/gdkmacoseventsource-private.h | 4 +--- gdk/macos/gdkmacosglcontext-private.h | 4 +--- gdk/macos/gdkmacosglcontext.h | 4 +--- gdk/macos/gdkmacoskeymap-private.h | 4 +--- gdk/macos/gdkmacoskeymap.h | 4 +--- gdk/macos/gdkmacosmonitor-private.h | 4 +--- gdk/macos/gdkmacosmonitor.h | 4 +--- gdk/macos/gdkmacospasteboard-private.h | 4 +--- gdk/macos/gdkmacospopupsurface-private.h | 4 +--- gdk/macos/gdkmacosseat-private.h | 4 +--- gdk/macos/gdkmacossurface-private.h | 4 +--- gdk/macos/gdkmacossurface.h | 4 +--- gdk/macos/gdkmacostoplevelsurface-private.h | 4 +--- gdk/macos/gdkmacosutils-private.h | 4 +--- gdk/wayland/cursor/os-compatibility.h | 4 +--- gdk/wayland/cursor/wayland-cursor.h | 4 +--- gdk/wayland/cursor/xcursor.h | 4 +--- gdk/wayland/gdkcairocontext-wayland.h | 4 +--- gdk/wayland/gdkclipboard-wayland.h | 4 +--- gdk/wayland/gdkdevice-wayland-private.h | 4 +--- gdk/wayland/gdkdisplay-wayland.h | 4 +--- gdk/wayland/gdkglcontext-wayland.h | 4 +--- gdk/wayland/gdkmonitor-wayland.h | 4 +--- gdk/wayland/gdkprimary-wayland.h | 4 +--- gdk/wayland/gdkprivate-wayland.h | 4 +--- gdk/wayland/gdkseat-wayland.h | 4 +--- gdk/wayland/gdkvulkancontext-wayland.h | 4 +--- gdk/wayland/gdkwayland.h | 4 +--- gdk/wayland/gdkwaylanddevice.h | 4 +--- gdk/wayland/gdkwaylanddisplay.h | 4 +--- gdk/wayland/gdkwaylandglcontext.h | 4 +--- gdk/wayland/gdkwaylandmonitor.h | 4 +--- gdk/wayland/gdkwaylandsurface.h | 4 +--- gdk/wayland/wm-button-layout-translation.h | 4 +--- gdk/win32/gdkcairocontext-win32.h | 4 +--- gdk/win32/gdkclipboard-win32.h | 4 +--- gdk/win32/gdkclipdrop-win32.h | 4 +--- gdk/win32/gdkdevice-virtual.h | 4 +--- gdk/win32/gdkdevice-win32.h | 4 +--- gdk/win32/gdkdevice-winpointer.h | 4 +--- gdk/win32/gdkdevice-wintab.h | 4 +--- gdk/win32/gdkdevicemanager-win32.h | 4 +--- gdk/win32/gdkdisplay-win32.h | 4 +--- gdk/win32/gdkglcontext-win32.h | 4 +--- gdk/win32/gdkhdataoutputstream-win32.h | 4 +--- gdk/win32/gdkinput-dmanipulation.h | 4 +--- gdk/win32/gdkinput-winpointer.h | 4 +--- gdk/win32/gdkmonitor-win32.h | 4 +--- gdk/win32/gdkprivate-win32.h | 4 +--- gdk/win32/gdksurface-win32.h | 4 +--- gdk/win32/gdkvulkancontext-win32.h | 4 +--- gdk/win32/gdkwin32.h | 4 +--- gdk/win32/gdkwin32cursor.h | 4 +--- gdk/win32/gdkwin32display.h | 4 +--- gdk/win32/gdkwin32displaymanager.h | 4 +--- gdk/win32/gdkwin32dnd-private.h | 4 +--- gdk/win32/gdkwin32dnd.h | 4 +--- gdk/win32/gdkwin32glcontext.h | 4 +--- gdk/win32/gdkwin32keys.h | 4 +--- gdk/win32/gdkwin32langnotification.h | 4 +--- gdk/win32/gdkwin32misc.h | 4 +--- gdk/win32/gdkwin32monitor.h | 4 +--- gdk/win32/gdkwin32screen.h | 4 +--- gdk/win32/gdkwin32surface.h | 4 +--- gdk/x11/MwmUtil.h | 4 +--- gdk/x11/gdkasync.h | 4 +--- gdk/x11/gdkcairocontext-x11.h | 4 +--- gdk/x11/gdkclipboard-x11.h | 4 +--- gdk/x11/gdkdevice-xi2-private.h | 4 +--- gdk/x11/gdkdevicemanagerprivate-core.h | 4 +--- gdk/x11/gdkdisplay-x11.h | 4 +--- gdk/x11/gdkeventsource.h | 4 +--- gdk/x11/gdkeventtranslator.h | 4 +--- gdk/x11/gdkglcontext-x11.h | 4 +--- gdk/x11/gdkkeys-x11.h | 4 +--- gdk/x11/gdkmonitor-x11.h | 4 +--- gdk/x11/gdkprivate-x11.h | 4 +--- gdk/x11/gdkscreen-x11.h | 4 +--- gdk/x11/gdkselectioninputstream-x11.h | 4 +--- gdk/x11/gdkselectionoutputstream-x11.h | 4 +--- gdk/x11/gdksurface-x11.h | 4 +--- gdk/x11/gdktextlistconverter-x11.h | 4 +--- gdk/x11/gdkvulkancontext-x11.h | 4 +--- gdk/x11/gdkx.h | 4 +--- gdk/x11/gdkx11applaunchcontext.h | 4 +--- gdk/x11/gdkx11device-xi2.h | 4 +--- gdk/x11/gdkx11device.h | 4 +--- gdk/x11/gdkx11devicemanager-xi2.h | 4 +--- gdk/x11/gdkx11devicemanager.h | 4 +--- gdk/x11/gdkx11display.h | 4 +--- gdk/x11/gdkx11dnd.h | 4 +--- gdk/x11/gdkx11glcontext.h | 4 +--- gdk/x11/gdkx11monitor.h | 4 +--- gdk/x11/gdkx11property.h | 4 +--- gdk/x11/gdkx11screen.h | 4 +--- gdk/x11/gdkx11selection.h | 4 +--- gdk/x11/gdkx11surface.h | 4 +--- gdk/x11/gdkx11utils.h | 4 +--- gdk/x11/xsettings-client.h | 4 +--- gsk/broadway/gskbroadwayrenderer.h | 4 +--- gsk/gl/fp16private.h | 4 +--- gsk/gl/gskglattachmentstateprivate.h | 4 +--- gsk/gl/gskglbufferprivate.h | 4 +--- gsk/gl/gskglcommandqueueprivate.h | 4 +--- gsk/gl/gskglcompilerprivate.h | 4 +--- gsk/gl/gskgldriverprivate.h | 4 +--- gsk/gl/gskglglyphlibraryprivate.h | 4 +--- gsk/gl/gskgliconlibraryprivate.h | 4 +--- gsk/gl/gskglprofilerprivate.h | 4 +--- gsk/gl/gskglprogramprivate.h | 4 +--- gsk/gl/gskglrenderer.h | 4 +--- gsk/gl/gskglrendererprivate.h | 4 +--- gsk/gl/gskglrenderjobprivate.h | 4 +--- gsk/gl/gskglshadowlibraryprivate.h | 4 +--- gsk/gl/gskgltexturelibraryprivate.h | 4 +--- gsk/gl/gskgltextureprivate.h | 4 +--- gsk/gl/gskgltypesprivate.h | 4 +--- gsk/gl/gskgluniformstateprivate.h | 4 +--- gsk/gl/inlinearray.h | 4 +--- gsk/gl/ninesliceprivate.h | 4 +--- gsk/gl/stb_rect_pack.h | 4 +--- gsk/gsk.h | 4 +--- gsk/gskcairoblurprivate.h | 4 +--- gsk/gskcairorenderer.h | 4 +--- gsk/gskdebugprivate.h | 4 +--- gsk/gskdiffprivate.h | 4 +--- gsk/gskenums.h | 4 +--- gsk/gskglshader.h | 4 +--- gsk/gskglshaderprivate.h | 4 +--- gsk/gskprivate.h | 4 +--- gsk/gskprofilerprivate.h | 4 +--- gsk/gskrenderer.h | 4 +--- gsk/gskrendererprivate.h | 4 +--- gsk/gskrendernode.h | 4 +--- gsk/gskrendernodeparserprivate.h | 4 +--- gsk/gskrendernodeprivate.h | 4 +--- gsk/gskroundedrect.h | 4 +--- gsk/gskroundedrectprivate.h | 4 +--- gsk/gsktransform.h | 4 +--- gsk/gsktransformprivate.h | 4 +--- gsk/gsktypes.h | 4 +--- gsk/vulkan/gskvulkanblendmodepipelineprivate.h | 4 +--- gsk/vulkan/gskvulkanblurpipelineprivate.h | 4 +--- gsk/vulkan/gskvulkanborderpipelineprivate.h | 4 +--- gsk/vulkan/gskvulkanboxshadowpipelineprivate.h | 4 +--- gsk/vulkan/gskvulkanbufferprivate.h | 4 +--- gsk/vulkan/gskvulkanclipprivate.h | 4 +--- gsk/vulkan/gskvulkancolorpipelineprivate.h | 4 +--- gsk/vulkan/gskvulkancolortextpipelineprivate.h | 4 +--- gsk/vulkan/gskvulkancommandpoolprivate.h | 4 +--- gsk/vulkan/gskvulkancrossfadepipelineprivate.h | 4 +--- gsk/vulkan/gskvulkaneffectpipelineprivate.h | 4 +--- gsk/vulkan/gskvulkanglyphcacheprivate.h | 4 +--- gsk/vulkan/gskvulkanimageprivate.h | 4 +--- gsk/vulkan/gskvulkanlineargradientpipelineprivate.h | 4 +--- gsk/vulkan/gskvulkanmemoryprivate.h | 4 +--- gsk/vulkan/gskvulkanpipelineprivate.h | 4 +--- gsk/vulkan/gskvulkanpushconstantsprivate.h | 4 +--- gsk/vulkan/gskvulkanrenderer.h | 4 +--- gsk/vulkan/gskvulkanrendererprivate.h | 4 +--- gsk/vulkan/gskvulkanrenderpassprivate.h | 4 +--- gsk/vulkan/gskvulkanrenderprivate.h | 4 +--- gsk/vulkan/gskvulkanshaderprivate.h | 4 +--- gsk/vulkan/gskvulkantextpipelineprivate.h | 4 +--- gsk/vulkan/gskvulkantexturepipelineprivate.h | 4 +--- gtk/compose/gtkcomposedata.h | 4 +--- gtk/css/gtkcss.h | 4 +--- gtk/css/gtkcssdataurlprivate.h | 4 +--- gtk/css/gtkcssenums.h | 4 +--- gtk/css/gtkcsserror.h | 4 +--- gtk/css/gtkcsslocation.h | 4 +--- gtk/css/gtkcsslocationprivate.h | 4 +--- gtk/css/gtkcssparserprivate.h | 4 +--- gtk/css/gtkcsssection.h | 4 +--- gtk/css/gtkcssserializerprivate.h | 4 +--- gtk/css/gtkcsstokenizerprivate.h | 4 +--- gtk/deprecated/gtkappchooser.h | 4 +--- gtk/deprecated/gtkappchooserbutton.h | 4 +--- gtk/deprecated/gtkappchooserdialog.h | 4 +--- gtk/deprecated/gtkappchooserprivate.h | 4 +--- gtk/deprecated/gtkappchooserwidget.h | 4 +--- gtk/deprecated/gtkassistant.h | 4 +--- gtk/deprecated/gtkcellarea.h | 4 +--- gtk/deprecated/gtkcellareabox.h | 4 +--- gtk/deprecated/gtkcellareaboxcontextprivate.h | 4 +--- gtk/deprecated/gtkcellareacontext.h | 4 +--- gtk/deprecated/gtkcelleditable.h | 4 +--- gtk/deprecated/gtkcelllayout.h | 4 +--- gtk/deprecated/gtkcellrenderer.h | 4 +--- gtk/deprecated/gtkcellrendereraccel.h | 4 +--- gtk/deprecated/gtkcellrenderercombo.h | 4 +--- gtk/deprecated/gtkcellrendererpixbuf.h | 4 +--- gtk/deprecated/gtkcellrendererprogress.h | 4 +--- gtk/deprecated/gtkcellrendererspin.h | 4 +--- gtk/deprecated/gtkcellrendererspinner.h | 4 +--- gtk/deprecated/gtkcellrenderertext.h | 4 +--- gtk/deprecated/gtkcellrenderertoggle.h | 4 +--- gtk/deprecated/gtkcellview.h | 4 +--- gtk/deprecated/gtkcolorbutton.h | 4 +--- gtk/deprecated/gtkcolorchooser.h | 4 +--- gtk/deprecated/gtkcolorchooserdialog.h | 4 +--- gtk/deprecated/gtkcolorchooserprivate.h | 4 +--- gtk/deprecated/gtkcolorchooserwidget.h | 4 +--- gtk/deprecated/gtkcombobox.h | 4 +--- gtk/deprecated/gtkcomboboxprivate.h | 4 +--- gtk/deprecated/gtkcomboboxtext.h | 4 +--- gtk/deprecated/gtkdialog.h | 4 +--- gtk/deprecated/gtkdialogprivate.h | 4 +--- gtk/deprecated/gtkentrycompletion.h | 4 +--- gtk/deprecated/gtkfilechooser.h | 4 +--- gtk/deprecated/gtkfilechooserdialog.h | 4 +--- gtk/deprecated/gtkfilechoosernative.h | 4 +--- gtk/deprecated/gtkfilechooserwidget.h | 4 +--- gtk/deprecated/gtkfontbutton.h | 4 +--- gtk/deprecated/gtkfontchooser.h | 4 +--- gtk/deprecated/gtkfontchooserdialog.h | 4 +--- gtk/deprecated/gtkfontchooserprivate.h | 4 +--- gtk/deprecated/gtkfontchooserwidget.h | 4 +--- gtk/deprecated/gtkiconview.h | 4 +--- gtk/deprecated/gtkiconviewprivate.h | 4 +--- gtk/deprecated/gtkinfobar.h | 4 +--- gtk/deprecated/gtkliststore.h | 4 +--- gtk/deprecated/gtklockbutton.h | 4 +--- gtk/deprecated/gtklockbuttonprivate.h | 4 +--- gtk/deprecated/gtkmessagedialog.h | 4 +--- gtk/deprecated/gtkrender.h | 4 +--- gtk/deprecated/gtkshow.h | 4 +--- gtk/deprecated/gtkstatusbar.h | 4 +--- gtk/deprecated/gtkstylecontext.h | 4 +--- gtk/deprecated/gtkstylecontextprivate.h | 4 +--- gtk/deprecated/gtktreedatalistprivate.h | 4 +--- gtk/deprecated/gtktreednd.h | 4 +--- gtk/deprecated/gtktreemodel.h | 4 +--- gtk/deprecated/gtktreemodelfilter.h | 4 +--- gtk/deprecated/gtktreemodelsort.h | 4 +--- gtk/deprecated/gtktreepopoverprivate.h | 4 +--- gtk/deprecated/gtktreeprivate.h | 4 +--- gtk/deprecated/gtktreerbtreeprivate.h | 4 +--- gtk/deprecated/gtktreeselection.h | 4 +--- gtk/deprecated/gtktreesortable.h | 4 +--- gtk/deprecated/gtktreestore.h | 4 +--- gtk/deprecated/gtktreeview.h | 4 +--- gtk/deprecated/gtktreeviewcolumn.h | 4 +--- gtk/deprecated/gtkvolumebutton.h | 4 +--- gtk/gdkpixbufutilsprivate.h | 4 +--- gtk/gsettings-mapping.h | 4 +--- gtk/gskpangoprivate.h | 4 +--- gtk/gtk.h | 4 +--- gtk/gtkaboutdialog.h | 4 +--- gtk/gtkaccelgroup.h | 4 +--- gtk/gtkaccelgroupprivate.h | 4 +--- gtk/gtkactionable.h | 4 +--- gtk/gtkactionbar.h | 4 +--- gtk/gtkactionhelperprivate.h | 4 +--- gtk/gtkactionmuxerprivate.h | 4 +--- gtk/gtkactionobservableprivate.h | 4 +--- gtk/gtkactionobserverprivate.h | 4 +--- gtk/gtkadjustment.h | 4 +--- gtk/gtkadjustmentprivate.h | 4 +--- gtk/gtkallocatedbitmaskprivate.h | 4 +--- gtk/gtkapplication.h | 4 +--- gtk/gtkapplicationaccelsprivate.h | 4 +--- gtk/gtkapplicationprivate.h | 4 +--- gtk/gtkapplicationwindow.h | 4 +--- gtk/gtkaspectframe.h | 4 +--- gtk/gtkbitmaskprivate.h | 4 +--- gtk/gtkbitset.h | 4 +--- gtk/gtkbookmarklist.h | 4 +--- gtk/gtkbookmarksmanagerprivate.h | 4 +--- gtk/gtkboolfilter.h | 4 +--- gtk/gtkborder.h | 4 +--- gtk/gtkbox.h | 4 +--- gtk/gtkbuildable.h | 4 +--- gtk/gtkbuildableprivate.h | 4 +--- gtk/gtkbuilder.h | 4 +--- gtk/gtkbuilderlistitemfactory.h | 4 +--- gtk/gtkbuilderprivate.h | 4 +--- gtk/gtkbuilderscope.h | 4 +--- gtk/gtkbuilderscopeprivate.h | 4 +--- gtk/gtkbuiltiniconprivate.h | 4 +--- gtk/gtkbutton.h | 4 +--- gtk/gtkbuttonprivate.h | 4 +--- gtk/gtkcalendar.h | 4 +--- gtk/gtkcenterbox.h | 4 +--- gtk/gtkcheckbutton.h | 4 +--- gtk/gtkcoloreditorprivate.h | 4 +--- gtk/gtkcolorpickerkwinprivate.h | 4 +--- gtk/gtkcolorpickerportalprivate.h | 4 +--- gtk/gtkcolorpickerprivate.h | 4 +--- gtk/gtkcolorpickershellprivate.h | 4 +--- gtk/gtkcolorpickerwin32private.h | 4 +--- gtk/gtkcolorplaneprivate.h | 4 +--- gtk/gtkcolorscaleprivate.h | 4 +--- gtk/gtkcolorswatchprivate.h | 4 +--- gtk/gtkcolorutils.h | 4 +--- gtk/gtkcolumnview.h | 4 +--- gtk/gtkcolumnviewcellprivate.h | 4 +--- gtk/gtkcolumnviewcolumn.h | 4 +--- gtk/gtkcolumnviewcolumnprivate.h | 4 +--- gtk/gtkcolumnviewprivate.h | 4 +--- gtk/gtkcolumnviewrowwidgetprivate.h | 4 +--- gtk/gtkcolumnviewsorter.h | 4 +--- gtk/gtkcolumnviewsorterprivate.h | 4 +--- gtk/gtkcolumnviewtitleprivate.h | 4 +--- gtk/gtkcomposetable.h | 4 +--- gtk/gtkcountingbloomfilterprivate.h | 4 +--- gtk/gtkcssanimatedstyleprivate.h | 4 +--- gtk/gtkcssanimationprivate.h | 4 +--- gtk/gtkcssarrayvalueprivate.h | 4 +--- gtk/gtkcssbgsizevalueprivate.h | 4 +--- gtk/gtkcssbordervalueprivate.h | 4 +--- gtk/gtkcssboxesimplprivate.h | 4 +--- gtk/gtkcssboxesprivate.h | 4 +--- gtk/gtkcsscalcvalueprivate.h | 4 +--- gtk/gtkcsscolorvalueprivate.h | 4 +--- gtk/gtkcsscornervalueprivate.h | 4 +--- gtk/gtkcssdimensionvalueprivate.h | 4 +--- gtk/gtkcssdynamicprivate.h | 4 +--- gtk/gtkcsseasevalueprivate.h | 4 +--- gtk/gtkcssenumvalueprivate.h | 4 +--- gtk/gtkcssfiltervalueprivate.h | 4 +--- gtk/gtkcssfontfeaturesvalueprivate.h | 4 +--- gtk/gtkcssfontvariationsvalueprivate.h | 4 +--- gtk/gtkcssimageconicprivate.h | 4 +--- gtk/gtkcssimagecrossfadeprivate.h | 4 +--- gtk/gtkcssimagefallbackprivate.h | 4 +--- gtk/gtkcssimageiconthemeprivate.h | 4 +--- gtk/gtkcssimageinvalidprivate.h | 4 +--- gtk/gtkcssimagelinearprivate.h | 4 +--- gtk/gtkcssimagepaintableprivate.h | 4 +--- gtk/gtkcssimageprivate.h | 4 +--- gtk/gtkcssimageradialprivate.h | 4 +--- gtk/gtkcssimagerecolorprivate.h | 4 +--- gtk/gtkcssimagescaledprivate.h | 4 +--- gtk/gtkcssimageurlprivate.h | 4 +--- gtk/gtkcssimagevalueprivate.h | 4 +--- gtk/gtkcssinheritvalueprivate.h | 4 +--- gtk/gtkcssinitialvalueprivate.h | 4 +--- gtk/gtkcsskeyframesprivate.h | 4 +--- gtk/gtkcsslineheightvalueprivate.h | 4 +--- gtk/gtkcsslookupprivate.h | 4 +--- gtk/gtkcssnodedeclarationprivate.h | 4 +--- gtk/gtkcssnodeprivate.h | 4 +--- gtk/gtkcssnodestylecacheprivate.h | 4 +--- gtk/gtkcssnumbervalueprivate.h | 4 +--- gtk/gtkcsspalettevalueprivate.h | 4 +--- gtk/gtkcsspositionvalueprivate.h | 4 +--- gtk/gtkcssprovider.h | 4 +--- gtk/gtkcssproviderprivate.h | 4 +--- gtk/gtkcssrepeatvalueprivate.h | 4 +--- gtk/gtkcssselectorprivate.h | 4 +--- gtk/gtkcssshadowvalueprivate.h | 4 +--- gtk/gtkcssshorthandpropertyprivate.h | 4 +--- gtk/gtkcssstaticstyleprivate.h | 4 +--- gtk/gtkcssstringvalueprivate.h | 4 +--- gtk/gtkcssstylechangeprivate.h | 4 +--- gtk/gtkcssstyleprivate.h | 4 +--- gtk/gtkcssstylepropertyprivate.h | 4 +--- gtk/gtkcsstransformvalueprivate.h | 4 +--- gtk/gtkcsstransientnodeprivate.h | 4 +--- gtk/gtkcsstransitionprivate.h | 4 +--- gtk/gtkcsstypesprivate.h | 4 +--- gtk/gtkcssunsetvalueprivate.h | 4 +--- gtk/gtkcssvalueprivate.h | 4 +--- gtk/gtkcsswidgetnodeprivate.h | 4 +--- gtk/gtkcustomfilter.h | 4 +--- gtk/gtkcustompaperunixdialog.h | 4 +--- gtk/gtkcustomsorter.h | 4 +--- gtk/gtkdebug.h | 4 +--- gtk/gtkdirectorylist.h | 4 +--- gtk/gtkdragdestprivate.h | 4 +--- gtk/gtkdragicon.h | 4 +--- gtk/gtkdragsource.h | 4 +--- gtk/gtkdragsourceprivate.h | 4 +--- gtk/gtkdrawingarea.h | 4 +--- gtk/gtkdropcontrollermotion.h | 4 +--- gtk/gtkdropdown.h | 4 +--- gtk/gtkdropprivate.h | 4 +--- gtk/gtkdroptarget.h | 4 +--- gtk/gtkdroptargetasync.h | 4 +--- gtk/gtkeditable.h | 4 +--- gtk/gtkeditablelabel.h | 4 +--- gtk/gtkentry.h | 4 +--- gtk/gtkentrybuffer.h | 4 +--- gtk/gtkentryprivate.h | 4 +--- gtk/gtkenums.h | 4 +--- gtk/gtkeventcontroller.h | 4 +--- gtk/gtkeventcontrollerfocus.h | 4 +--- gtk/gtkeventcontrollerkey.h | 4 +--- gtk/gtkeventcontrollerlegacy.h | 4 +--- gtk/gtkeventcontrollermotion.h | 4 +--- gtk/gtkeventcontrollerprivate.h | 4 +--- gtk/gtkeventcontrollerscroll.h | 4 +--- gtk/gtkexpander.h | 4 +--- gtk/gtkexpression.h | 4 +--- gtk/gtkfilechoosercellprivate.h | 4 +--- gtk/gtkfilechooserentry.h | 4 +--- gtk/gtkfilechoosererrorstackprivate.h | 4 +--- gtk/gtkfilechoosernativeprivate.h | 4 +--- gtk/gtkfilechooserprivate.h | 4 +--- gtk/gtkfilechooserutils.h | 4 +--- gtk/gtkfilechooserwidgetprivate.h | 4 +--- gtk/gtkfilefilter.h | 4 +--- gtk/gtkfilefilterprivate.h | 4 +--- gtk/gtkfilesystemmodelprivate.h | 4 +--- gtk/gtkfilethumbnail.h | 4 +--- gtk/gtkfilter.h | 4 +--- gtk/gtkfilterlistmodel.h | 4 +--- gtk/gtkfixed.h | 4 +--- gtk/gtkflattenlistmodel.h | 4 +--- gtk/gtkflowbox.h | 4 +--- gtk/gtkflowboxprivate.h | 4 +--- gtk/gtkfontchooserdialogprivate.h | 4 +--- gtk/gtkfontchooserutils.h | 4 +--- gtk/gtkfontchooserwidgetprivate.h | 4 +--- gtk/gtkframe.h | 4 +--- gtk/gtkgesture.h | 4 +--- gtk/gtkgestureclick.h | 4 +--- gtk/gtkgestureclickprivate.h | 4 +--- gtk/gtkgesturedrag.h | 4 +--- gtk/gtkgesturedragprivate.h | 4 +--- gtk/gtkgesturelongpress.h | 4 +--- gtk/gtkgesturelongpressprivate.h | 4 +--- gtk/gtkgesturepan.h | 4 +--- gtk/gtkgesturepanprivate.h | 4 +--- gtk/gtkgestureprivate.h | 4 +--- gtk/gtkgesturerotate.h | 4 +--- gtk/gtkgesturerotateprivate.h | 4 +--- gtk/gtkgesturesingle.h | 4 +--- gtk/gtkgesturesingleprivate.h | 4 +--- gtk/gtkgesturestylus.h | 4 +--- gtk/gtkgesturestylusprivate.h | 4 +--- gtk/gtkgestureswipe.h | 4 +--- gtk/gtkgestureswipeprivate.h | 4 +--- gtk/gtkgesturezoom.h | 4 +--- gtk/gtkgesturezoomprivate.h | 4 +--- gtk/gtkgizmoprivate.h | 4 +--- gtk/gtkglarea.h | 4 +--- gtk/gtkgrid.h | 4 +--- gtk/gtkgridview.h | 4 +--- gtk/gtkheaderbar.h | 4 +--- gtk/gtkheaderbarprivate.h | 4 +--- gtk/gtkiconcacheprivate.h | 4 +--- gtk/gtkiconcachevalidatorprivate.h | 4 +--- gtk/gtkiconhelperprivate.h | 4 +--- gtk/gtkicontheme.h | 4 +--- gtk/gtkiconthemeprivate.h | 4 +--- gtk/gtkimage.h | 4 +--- gtk/gtkimagedefinitionprivate.h | 4 +--- gtk/gtkimageprivate.h | 4 +--- gtk/gtkimcontext.h | 4 +--- gtk/gtkimcontextbroadway.h | 4 +--- gtk/gtkimcontextprivate.h | 4 +--- gtk/gtkimcontextquartz.h | 4 +--- gtk/gtkimcontextsimple.h | 4 +--- gtk/gtkimcontextsimpleseqs.h | 4 +--- gtk/gtkimcontextwayland.h | 4 +--- gtk/gtkimmodule.h | 4 +--- gtk/gtkimmoduleprivate.h | 4 +--- gtk/gtkimmulticontext.h | 4 +--- gtk/gtkinscription.h | 4 +--- gtk/gtkinscriptionprivate.h | 4 +--- gtk/gtkistringprivate.h | 4 +--- gtk/gtkkineticscrollingprivate.h | 4 +--- gtk/gtklabel.h | 4 +--- gtk/gtklabelprivate.h | 4 +--- gtk/gtklevelbar.h | 4 +--- gtk/gtklinkbutton.h | 4 +--- gtk/gtklistbase.h | 4 +--- gtk/gtklistbaseprivate.h | 4 +--- gtk/gtklistbox.h | 4 +--- gtk/gtklistfactorywidgetprivate.h | 4 +--- gtk/gtklistitem.h | 4 +--- gtk/gtklistitembaseprivate.h | 4 +--- gtk/gtklistitemfactory.h | 4 +--- gtk/gtklistitemfactoryprivate.h | 4 +--- gtk/gtklistitemmanagerprivate.h | 4 +--- gtk/gtklistitemprivate.h | 4 +--- gtk/gtklistitemwidgetprivate.h | 4 +--- gtk/gtklistlistmodelprivate.h | 4 +--- gtk/gtklistview.h | 4 +--- gtk/gtklistviewprivate.h | 4 +--- gtk/gtkmagnifierprivate.h | 4 +--- gtk/gtkmain.h | 4 +--- gtk/gtkmaplistmodel.h | 4 +--- gtk/gtkmediacontrols.h | 4 +--- gtk/gtkmediafile.h | 4 +--- gtk/gtkmediafileprivate.h | 4 +--- gtk/gtkmediastream.h | 4 +--- gtk/gtkmenubutton.h | 4 +--- gtk/gtkmenubuttonprivate.h | 4 +--- gtk/gtkmenusectionboxprivate.h | 4 +--- gtk/gtkmenutrackeritemprivate.h | 4 +--- gtk/gtkmenutrackerprivate.h | 4 +--- gtk/gtkmodelbuttonprivate.h | 4 +--- gtk/gtkmodulesprivate.h | 4 +--- gtk/gtkmountoperation.h | 4 +--- gtk/gtkmountoperationprivate.h | 4 +--- gtk/gtkmultifilter.h | 4 +--- gtk/gtkmultiselection.h | 4 +--- gtk/gtkmultisorter.h | 4 +--- gtk/gtknative.h | 4 +--- gtk/gtknativedialog.h | 4 +--- gtk/gtknativedialogprivate.h | 4 +--- gtk/gtknativeprivate.h | 4 +--- gtk/gtknomediafileprivate.h | 4 +--- gtk/gtknoselection.h | 4 +--- gtk/gtknotebook.h | 4 +--- gtk/gtknumericsorter.h | 4 +--- gtk/gtkorientable.h | 4 +--- gtk/gtkoverlay.h | 4 +--- gtk/gtkpadcontroller.h | 4 +--- gtk/gtkpagesetup.h | 4 +--- gtk/gtkpagesetupunixdialog.h | 4 +--- gtk/gtkpaned.h | 4 +--- gtk/gtkpanedhandleprivate.h | 4 +--- gtk/gtkpangoprivate.h | 4 +--- gtk/gtkpapersize.h | 4 +--- gtk/gtkpasswordentry.h | 4 +--- gtk/gtkpathbarprivate.h | 4 +--- gtk/gtkpicture.h | 4 +--- gtk/gtkplacessidebarprivate.h | 4 +--- gtk/gtkplacesviewprivate.h | 4 +--- gtk/gtkplacesviewrowprivate.h | 4 +--- gtk/gtkpointerfocusprivate.h | 4 +--- gtk/gtkpopover.h | 4 +--- gtk/gtkpopovercontentprivate.h | 4 +--- gtk/gtkpopovermenu.h | 4 +--- gtk/gtkpopovermenubar.h | 4 +--- gtk/gtkpopovermenubarprivate.h | 4 +--- gtk/gtkpopovermenuprivate.h | 4 +--- gtk/gtkpopoverprivate.h | 4 +--- gtk/gtkprint-win32.h | 4 +--- gtk/gtkprintbackendprivate.h | 4 +--- gtk/gtkprintcontext.h | 4 +--- gtk/gtkprinter.h | 4 +--- gtk/gtkprinteroption.h | 4 +--- gtk/gtkprinteroptionset.h | 4 +--- gtk/gtkprinteroptionwidget.h | 4 +--- gtk/gtkprinterprivate.h | 4 +--- gtk/gtkprintjob.h | 4 +--- gtk/gtkprintoperation-portal.h | 4 +--- gtk/gtkprintoperation-private.h | 4 +--- gtk/gtkprintoperation.h | 4 +--- gtk/gtkprintoperationpreview.h | 4 +--- gtk/gtkprintsettings.h | 4 +--- gtk/gtkprintunixdialog.h | 4 +--- gtk/gtkprintutils.h | 4 +--- gtk/gtkprivate.h | 4 +--- gtk/gtkprogressbar.h | 4 +--- gtk/gtkprogresstrackerprivate.h | 4 +--- gtk/gtkpropertylookuplistmodelprivate.h | 4 +--- gtk/gtkquartz.h | 4 +--- gtk/gtkquery.h | 4 +--- gtk/gtkrange.h | 4 +--- gtk/gtkrangeprivate.h | 4 +--- gtk/gtkrbtreeprivate.h | 4 +--- gtk/gtkrecentmanager.h | 4 +--- gtk/gtkrenderbackgroundprivate.h | 4 +--- gtk/gtkrenderborderprivate.h | 4 +--- gtk/gtkrendericonprivate.h | 4 +--- gtk/gtkrenderlayoutprivate.h | 4 +--- gtk/gtkrendernodepaintableprivate.h | 4 +--- gtk/gtkrevealer.h | 4 +--- gtk/gtkroot.h | 4 +--- gtk/gtkrootprivate.h | 4 +--- gtk/gtkroundedboxprivate.h | 4 +--- gtk/gtkscale.h | 4 +--- gtk/gtkscalebutton.h | 4 +--- gtk/gtkscalerprivate.h | 4 +--- gtk/gtkscrollable.h | 4 +--- gtk/gtkscrollbar.h | 4 +--- gtk/gtkscrolledwindow.h | 4 +--- gtk/gtksearchbar.h | 4 +--- gtk/gtksearchenginemodelprivate.h | 4 +--- gtk/gtksearchengineprivate.h | 4 +--- gtk/gtksearchenginequartzprivate.h | 4 +--- gtk/gtksearchenginetracker3private.h | 4 +--- gtk/gtksearchentry.h | 4 +--- gtk/gtksearchentryprivate.h | 4 +--- gtk/gtkselectionfiltermodel.h | 4 +--- gtk/gtkselectionmodel.h | 4 +--- gtk/gtkseparator.h | 4 +--- gtk/gtksettings.h | 4 +--- gtk/gtksettingsprivate.h | 4 +--- gtk/gtkshortcut.h | 4 +--- gtk/gtkshortcutaction.h | 4 +--- gtk/gtkshortcutactionprivate.h | 4 +--- gtk/gtkshortcutcontroller.h | 4 +--- gtk/gtkshortcutcontrollerprivate.h | 4 +--- gtk/gtkshortcutlabel.h | 4 +--- gtk/gtkshortcutmanager.h | 4 +--- gtk/gtkshortcutmanagerprivate.h | 4 +--- gtk/gtkshortcutsgroup.h | 4 +--- gtk/gtkshortcutssection.h | 4 +--- gtk/gtkshortcutsshortcut.h | 4 +--- gtk/gtkshortcutsshortcutprivate.h | 4 +--- gtk/gtkshortcutswindow.h | 4 +--- gtk/gtkshortcutswindowprivate.h | 4 +--- gtk/gtkshortcuttrigger.h | 4 +--- gtk/gtksidebarrowprivate.h | 4 +--- gtk/gtksignallistitemfactory.h | 4 +--- gtk/gtksingleselection.h | 4 +--- gtk/gtksizegroup-private.h | 4 +--- gtk/gtksizegroup.h | 4 +--- gtk/gtksizerequest.h | 4 +--- gtk/gtksizerequestcacheprivate.h | 4 +--- gtk/gtkslicelistmodel.h | 4 +--- gtk/gtksnapshot.h | 4 +--- gtk/gtksnapshotprivate.h | 4 +--- gtk/gtksorter.h | 4 +--- gtk/gtksorterprivate.h | 4 +--- gtk/gtksortkeysprivate.h | 4 +--- gtk/gtksortlistmodel.h | 4 +--- gtk/gtkspinbutton.h | 4 +--- gtk/gtkspinner.h | 4 +--- gtk/gtkstack.h | 4 +--- gtk/gtkstacksidebar.h | 4 +--- gtk/gtkstackswitcher.h | 4 +--- gtk/gtkstatusbarprivate.h | 4 +--- gtk/gtkstringfilter.h | 4 +--- gtk/gtkstringlist.h | 4 +--- gtk/gtkstringsorter.h | 4 +--- gtk/gtkstyleanimationprivate.h | 4 +--- gtk/gtkstylecascadeprivate.h | 4 +--- gtk/gtkstylepropertyprivate.h | 4 +--- gtk/gtkstyleprovider.h | 4 +--- gtk/gtkstyleproviderprivate.h | 4 +--- gtk/gtkswitch.h | 4 +--- gtk/gtksymbolicpaintable.h | 4 +--- gtk/gtktestutils.h | 4 +--- gtk/gtktext.h | 4 +--- gtk/gtktextattributesprivate.h | 4 +--- gtk/gtktextbtreeprivate.h | 4 +--- gtk/gtktextbuffer.h | 4 +--- gtk/gtktextbufferprivate.h | 4 +--- gtk/gtktextchild.h | 4 +--- gtk/gtktextchildprivate.h | 4 +--- gtk/gtktexthandleprivate.h | 4 +--- gtk/gtktexthistoryprivate.h | 4 +--- gtk/gtktextiter.h | 4 +--- gtk/gtktextiterprivate.h | 4 +--- gtk/gtktextlayoutprivate.h | 4 +--- gtk/gtktextlinedisplaycacheprivate.h | 4 +--- gtk/gtktextmark.h | 4 +--- gtk/gtktextmarkprivate.h | 4 +--- gtk/gtktextprivate.h | 4 +--- gtk/gtktextsegmentprivate.h | 4 +--- gtk/gtktexttag.h | 4 +--- gtk/gtktexttagprivate.h | 4 +--- gtk/gtktexttagtable.h | 4 +--- gtk/gtktexttagtableprivate.h | 4 +--- gtk/gtktexttypesprivate.h | 4 +--- gtk/gtktextutilprivate.h | 4 +--- gtk/gtktextview.h | 4 +--- gtk/gtktextviewchildprivate.h | 4 +--- gtk/gtktextviewprivate.h | 4 +--- gtk/gtktogglebutton.h | 4 +--- gtk/gtktooltip.h | 4 +--- gtk/gtktooltipprivate.h | 4 +--- gtk/gtktooltipwindowprivate.h | 4 +--- gtk/gtktrashmonitorprivate.h | 4 +--- gtk/gtktreeexpander.h | 4 +--- gtk/gtktreelistmodel.h | 4 +--- gtk/gtktreelistrowsorter.h | 4 +--- gtk/gtktypes.h | 4 +--- gtk/gtkunixprint.h | 4 +--- gtk/gtkvideo.h | 4 +--- gtk/gtkviewport.h | 4 +--- gtk/gtkwidget.h | 4 +--- gtk/gtkwidgetpaintable.h | 4 +--- gtk/gtkwidgetpaintableprivate.h | 4 +--- gtk/gtkwidgetprivate.h | 4 +--- gtk/gtkwindow.h | 4 +--- gtk/gtkwindowgroup.h | 4 +--- gtk/gtkwindowprivate.h | 4 +--- gtk/inspector/a11y.h | 4 +--- gtk/inspector/action-editor.h | 4 +--- gtk/inspector/action-holder.h | 4 +--- gtk/inspector/actions.h | 4 +--- gtk/inspector/baselineoverlay.h | 4 +--- gtk/inspector/clipboard.h | 4 +--- gtk/inspector/controllers.h | 4 +--- gtk/inspector/css-editor.h | 4 +--- gtk/inspector/css-node-tree.h | 4 +--- gtk/inspector/eventrecording.h | 4 +--- gtk/inspector/focusoverlay.h | 4 +--- gtk/inspector/fpsoverlay.h | 4 +--- gtk/inspector/general.h | 4 +--- gtk/inspector/graphdata.h | 4 +--- gtk/inspector/graphrenderer.h | 4 +--- gtk/inspector/gtkdataviewer.h | 4 +--- gtk/inspector/highlightoverlay.h | 4 +--- gtk/inspector/init.h | 4 +--- gtk/inspector/inspectoroverlay.h | 4 +--- gtk/inspector/layoutoverlay.h | 4 +--- gtk/inspector/list-data.h | 4 +--- gtk/inspector/logs.h | 4 +--- gtk/inspector/magnifier.h | 4 +--- gtk/inspector/measuregraph.h | 4 +--- gtk/inspector/menu.h | 4 +--- gtk/inspector/misc-info.h | 4 +--- gtk/inspector/object-tree.h | 4 +--- gtk/inspector/prop-editor.h | 4 +--- gtk/inspector/prop-holder.h | 4 +--- gtk/inspector/prop-list.h | 4 +--- gtk/inspector/recorder.h | 4 +--- gtk/inspector/recording.h | 4 +--- gtk/inspector/renderrecording.h | 4 +--- gtk/inspector/resource-holder.h | 4 +--- gtk/inspector/resource-list.h | 4 +--- gtk/inspector/shortcuts.h | 4 +--- gtk/inspector/size-groups.h | 4 +--- gtk/inspector/startrecording.h | 4 +--- gtk/inspector/statistics.h | 4 +--- gtk/inspector/strv-editor.h | 4 +--- gtk/inspector/tree-data.h | 4 +--- gtk/inspector/type-info.h | 4 +--- gtk/inspector/updatesoverlay.h | 4 +--- gtk/inspector/variant-editor.h | 4 +--- gtk/inspector/visual.h | 4 +--- gtk/inspector/window.h | 4 +--- gtk/language-names.h | 4 +--- gtk/timsort/gtktimsortprivate.h | 4 +--- 848 files changed, 848 insertions(+), 2544 deletions(-) diff --git a/gdk/broadway/broadway-output.h b/gdk/broadway/broadway-output.h index 58c1005727..b260e5f6c8 100644 --- a/gdk/broadway/broadway-output.h +++ b/gdk/broadway/broadway-output.h @@ -1,5 +1,4 @@ -#ifndef __BROADWAY_H__ -#define __BROADWAY_H__ +#pragma once #include #include @@ -74,4 +73,3 @@ void broadway_output_pong (BroadwayOutput *output); void broadway_output_set_show_keyboard (BroadwayOutput *output, gboolean show); -#endif /* __BROADWAY_H__ */ diff --git a/gdk/broadway/broadway-protocol.h b/gdk/broadway/broadway-protocol.h index f99e239a7e..34f87c1f6b 100644 --- a/gdk/broadway/broadway-protocol.h +++ b/gdk/broadway/broadway-protocol.h @@ -1,5 +1,4 @@ -#ifndef __BROADWAY_PROTOCOL_H__ -#define __BROADWAY_PROTOCOL_H__ +#pragma once #include @@ -370,4 +369,3 @@ typedef union { BroadwayReplyUngrabPointer ungrab_pointer; } BroadwayReply; -#endif /* __BROADWAY_PROTOCOL_H__ */ diff --git a/gdk/broadway/broadway-server.h b/gdk/broadway/broadway-server.h index dc562b7056..e72023e276 100644 --- a/gdk/broadway/broadway-server.h +++ b/gdk/broadway/broadway-server.h @@ -1,5 +1,4 @@ -#ifndef __BROADWAY_SERVER__ -#define __BROADWAY_SERVER__ +#pragma once #include "broadway-protocol.h" #include @@ -136,4 +135,3 @@ void broadway_server_surface_set_modal_hint (BroadwayServer *s gboolean modal_hint); -#endif /* __BROADWAY_SERVER__ */ diff --git a/gdk/broadway/gdkbroadway-server.h b/gdk/broadway/gdkbroadway-server.h index 3fac98a75b..2d0bdce2e3 100644 --- a/gdk/broadway/gdkbroadway-server.h +++ b/gdk/broadway/gdkbroadway-server.h @@ -1,5 +1,4 @@ -#ifndef __GDK_BROADWAY_SERVER__ -#define __GDK_BROADWAY_SERVER__ +#pragma once #include @@ -82,4 +81,3 @@ void _gdk_broadway_server_surface_set_modal_hint (GdkBroadwaySer int id, gboolean modal_hint); -#endif /* __GDK_BROADWAY_SERVER__ */ diff --git a/gdk/broadway/gdkbroadway.h b/gdk/broadway/gdkbroadway.h index 33a7bff89d..7c9c37df44 100644 --- a/gdk/broadway/gdkbroadway.h +++ b/gdk/broadway/gdkbroadway.h @@ -22,8 +22,7 @@ * GTK+ at ftp://ftp.gtk.org/pub/gtk/. */ -#ifndef __GDK_BROADWAY_H__ -#define __GDK_BROADWAY_H__ +#pragma once #include @@ -36,4 +35,3 @@ #undef __GDKBROADWAY_H_INSIDE__ -#endif /* __GDK_BROADWAY_H__ */ diff --git a/gdk/broadway/gdkbroadwaycursor.h b/gdk/broadway/gdkbroadwaycursor.h index 2ca1a76134..eff8215bc5 100644 --- a/gdk/broadway/gdkbroadwaycursor.h +++ b/gdk/broadway/gdkbroadwaycursor.h @@ -22,8 +22,7 @@ * GTK+ at ftp://ftp.gtk.org/pub/gtk/. */ -#ifndef __GDK_BROADWAY_CURSOR_H__ -#define __GDK_BROADWAY_CURSOR_H__ +#pragma once #if !defined (__GDKBROADWAY_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -52,4 +51,3 @@ GType gdk_broadway_cursor_get_type (void); G_END_DECLS -#endif /* __GDK_BROADWAY_CURSOR_H__ */ diff --git a/gdk/broadway/gdkbroadwaydisplay.h b/gdk/broadway/gdkbroadwaydisplay.h index 767b8b8a9d..99ac949320 100644 --- a/gdk/broadway/gdkbroadwaydisplay.h +++ b/gdk/broadway/gdkbroadwaydisplay.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef __GDK_BROADWAY_DISPLAY_H__ -#define __GDK_BROADWAY_DISPLAY_H__ +#pragma once #if !defined (__GDKBROADWAY_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -56,4 +55,3 @@ void gdk_broadway_display_set_surface_scale (GdkDisplay *di G_END_DECLS -#endif /* __GDK_BROADWAY_DISPLAY_H__ */ diff --git a/gdk/broadway/gdkbroadwaydisplaymanager.h b/gdk/broadway/gdkbroadwaydisplaymanager.h index ac453291df..50fca95d2e 100644 --- a/gdk/broadway/gdkbroadwaydisplaymanager.h +++ b/gdk/broadway/gdkbroadwaydisplaymanager.h @@ -17,8 +17,7 @@ * License along with this library. If not, see . */ -#ifndef __GDK_BROADWAY_DISPLAY_MANAGER_H__ -#define __GDK_BROADWAY_DISPLAY_MANAGER_H__ +#pragma once #if !defined(__GDKBROADWAY_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -43,4 +42,3 @@ GType gdk_broadway_display_manager_get_type (void); G_END_DECLS -#endif /* __GDK_BROADWAY_DISPLAY_MANAGER_H__ */ diff --git a/gdk/broadway/gdkbroadwaymonitor.h b/gdk/broadway/gdkbroadwaymonitor.h index 30bc96844b..c756fde794 100644 --- a/gdk/broadway/gdkbroadwaymonitor.h +++ b/gdk/broadway/gdkbroadwaymonitor.h @@ -19,8 +19,7 @@ * License along with this library. If not, see . */ -#ifndef __GDK_BROADWAY_MONITOR_H__ -#define __GDK_BROADWAY_MONITOR_H__ +#pragma once #if !defined (__GDKBROADWAY_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -42,5 +41,4 @@ GType gdk_broadway_monitor_get_type (void) G_GNUC_CONST; G_END_DECLS -#endif /* __GDK_BROADWAY_MONITOR_H__ */ diff --git a/gdk/broadway/gdkbroadwaysurface.h b/gdk/broadway/gdkbroadwaysurface.h index 0e937d0a8d..213a8b99de 100644 --- a/gdk/broadway/gdkbroadwaysurface.h +++ b/gdk/broadway/gdkbroadwaysurface.h @@ -22,8 +22,7 @@ * GTK+ at ftp://ftp.gtk.org/pub/gtk/. */ -#ifndef __GDK_BROADWAY_SURFACE_H__ -#define __GDK_BROADWAY_SURFACE_H__ +#pragma once #include @@ -48,4 +47,3 @@ GType gdk_broadway_surface_get_type (void); G_END_DECLS -#endif /* __GDK_BROADWAY_SURFACE_H__ */ diff --git a/gdk/broadway/gdkcairocontext-broadway.h b/gdk/broadway/gdkcairocontext-broadway.h index fb607f9c8a..a78733b2ab 100644 --- a/gdk/broadway/gdkcairocontext-broadway.h +++ b/gdk/broadway/gdkcairocontext-broadway.h @@ -16,8 +16,7 @@ * License along with this library. If not, see . */ -#ifndef __GDK_BROADWAY_CAIRO_CONTEXT__ -#define __GDK_BROADWAY_CAIRO_CONTEXT__ +#pragma once #include "gdkconfig.h" @@ -52,4 +51,3 @@ GType gdk_broadway_cairo_context_get_type (void) G_GNUC_CONST; G_END_DECLS -#endif /* __GDK_BROADWAY_CAIRO_CONTEXT__ */ diff --git a/gdk/broadway/gdkdevice-broadway.h b/gdk/broadway/gdkdevice-broadway.h index cde76b4c6e..c359e3a570 100644 --- a/gdk/broadway/gdkdevice-broadway.h +++ b/gdk/broadway/gdkdevice-broadway.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef __GDK_DEVICE_BROADWAY_H__ -#define __GDK_DEVICE_BROADWAY_H__ +#pragma once #include @@ -53,4 +52,3 @@ void gdk_broadway_device_query_state (GdkDevice *device, G_END_DECLS -#endif /* __GDK_DEVICE_BROADWAY_H__ */ diff --git a/gdk/broadway/gdkdisplay-broadway.h b/gdk/broadway/gdkdisplay-broadway.h index fddf89bb74..38fc16851b 100644 --- a/gdk/broadway/gdkdisplay-broadway.h +++ b/gdk/broadway/gdkdisplay-broadway.h @@ -19,8 +19,7 @@ * License along with this library. If not, see . */ -#ifndef __GDK_BROADWAY_DISPLAY__ -#define __GDK_BROADWAY_DISPLAY__ +#pragma once #include "gdkbroadwaydisplay.h" @@ -70,4 +69,3 @@ struct _GdkBroadwayDisplayClass G_END_DECLS -#endif /* __GDK_BROADWAY_DISPLAY__ */ diff --git a/gdk/broadway/gdkdrawcontext-broadway.h b/gdk/broadway/gdkdrawcontext-broadway.h index ccb0e0961b..017250aefe 100644 --- a/gdk/broadway/gdkdrawcontext-broadway.h +++ b/gdk/broadway/gdkdrawcontext-broadway.h @@ -16,8 +16,7 @@ * License along with this library. If not, see . */ -#ifndef __GDK_BROADWAY_DRAW_CONTEXT__ -#define __GDK_BROADWAY_DRAW_CONTEXT__ +#pragma once #include "gdkconfig.h" @@ -55,4 +54,3 @@ GdkBroadwayDrawContext *gdk_broadway_draw_context_context (GdkSurface *surface); G_END_DECLS -#endif /* __GDK_BROADWAY_DRAW_CONTEXT__ */ diff --git a/gdk/broadway/gdkeventsource.h b/gdk/broadway/gdkeventsource.h index 073b18b3c0..1ad5a8f530 100644 --- a/gdk/broadway/gdkeventsource.h +++ b/gdk/broadway/gdkeventsource.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef __GDK_BROADWAY_EVENT_SOURCE_H__ -#define __GDK_BROADWAY_EVENT_SOURCE_H__ +#pragma once #include "gdkprivate-broadway.h" @@ -29,4 +28,3 @@ GSource * _gdk_broadway_event_source_new (GdkDisplay *display); G_END_DECLS -#endif /* __GDK_BROADWAY_EVENT_SOURCE_H__ */ diff --git a/gdk/broadway/gdkmonitor-broadway.h b/gdk/broadway/gdkmonitor-broadway.h index 96b175195d..fc9b32b2c2 100644 --- a/gdk/broadway/gdkmonitor-broadway.h +++ b/gdk/broadway/gdkmonitor-broadway.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef __GDK_BROADWAY_MONITOR_PRIVATE_H__ -#define __GDK_BROADWAY_MONITOR_PRIVATE_H__ +#pragma once #include #include @@ -35,4 +34,3 @@ struct _GdkBroadwayMonitorClass { GdkMonitorClass parent_class; }; -#endif diff --git a/gdk/broadway/gdkprivate-broadway.h b/gdk/broadway/gdkprivate-broadway.h index 0437cac3bf..394b0990ab 100644 --- a/gdk/broadway/gdkprivate-broadway.h +++ b/gdk/broadway/gdkprivate-broadway.h @@ -26,8 +26,7 @@ * Private uninstalled header defining things local to X windowing code */ -#ifndef __GDK_PRIVATE_BROADWAY_H__ -#define __GDK_PRIVATE_BROADWAY_H__ +#pragma once #include #include "gdksurface-broadway.h" @@ -124,4 +123,3 @@ void _gdk_broadway_surface_resize_surface (GdkSurface *surface); void _gdk_broadway_cursor_update_theme (GdkCursor *cursor); void _gdk_broadway_cursor_display_finalize (GdkDisplay *display); -#endif /* __GDK_PRIVATE_BROADWAY_H__ */ diff --git a/gdk/broadway/gdksurface-broadway.h b/gdk/broadway/gdksurface-broadway.h index bdeb960162..7048289168 100644 --- a/gdk/broadway/gdksurface-broadway.h +++ b/gdk/broadway/gdksurface-broadway.h @@ -22,8 +22,7 @@ * GTK+ at ftp://ftp.gtk.org/pub/gtk/. */ -#ifndef __GDK_SURFACE_BROADWAY_H__ -#define __GDK_SURFACE_BROADWAY_H__ +#pragma once #include #include "gdkbroadwaysurface.h" @@ -80,4 +79,3 @@ GType gdk_surface_broadway_get_type (void); G_END_DECLS -#endif /* __GDK_SURFACE_BROADWAY_H__ */ diff --git a/gdk/filetransferportalprivate.h b/gdk/filetransferportalprivate.h index 37bc3009cf..1a4bb50952 100644 --- a/gdk/filetransferportalprivate.h +++ b/gdk/filetransferportalprivate.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef __FILE_TRANSFER_PROTOCOL_H__ -#define __FILE_TRANSFER_PROTOCOL_H__ +#pragma once void file_transfer_portal_register (void); @@ -37,4 +36,3 @@ gboolean file_transfer_portal_retrieve_files_finish (GAsyncResult *resu GError **error); -#endif diff --git a/gdk/gdk.h b/gdk/gdk.h index 4e8f31880d..49667bafce 100644 --- a/gdk/gdk.h +++ b/gdk/gdk.h @@ -22,8 +22,7 @@ * GTK+ at ftp://ftp.gtk.org/pub/gtk/. */ -#ifndef __GDK_H__ -#define __GDK_H__ +#pragma once #define __GDK_H_INSIDE__ @@ -80,4 +79,3 @@ #undef __GDK_H_INSIDE__ -#endif /* __GDK_H__ */ diff --git a/gdk/gdkapplaunchcontext.h b/gdk/gdkapplaunchcontext.h index b8e15a752e..364a2a941c 100644 --- a/gdk/gdkapplaunchcontext.h +++ b/gdk/gdkapplaunchcontext.h @@ -18,8 +18,7 @@ * Author: Alexander Larsson */ -#ifndef __GDK_APP_LAUNCH_CONTEXT_H__ -#define __GDK_APP_LAUNCH_CONTEXT_H__ +#pragma once #if !defined (__GDK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -58,4 +57,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GdkAppLaunchContext, g_object_unref) G_END_DECLS -#endif /* __GDK_APP_LAUNCH_CONTEXT_H__ */ diff --git a/gdk/gdkapplaunchcontextprivate.h b/gdk/gdkapplaunchcontextprivate.h index e4262f1b5f..147406d9da 100644 --- a/gdk/gdkapplaunchcontextprivate.h +++ b/gdk/gdkapplaunchcontextprivate.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef __GDK_APP_LAUNCH_CONTEXT_PRIVATE_H__ -#define __GDK_APP_LAUNCH_CONTEXT_PRIVATE_H__ +#pragma once #include "gdkapplaunchcontext.h" #include "gdktypes.h" @@ -43,4 +42,3 @@ struct _GdkAppLaunchContext G_END_DECLS -#endif diff --git a/gdk/gdkcairo.h b/gdk/gdkcairo.h index f2dfa3177e..24af5939d8 100644 --- a/gdk/gdkcairo.h +++ b/gdk/gdkcairo.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef __GDK_CAIRO_H__ -#define __GDK_CAIRO_H__ +#pragma once #if !defined (__GDK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -63,4 +62,3 @@ void gdk_cairo_draw_from_gl (cairo_t *cr, G_END_DECLS -#endif /* __GDK_CAIRO_H__ */ diff --git a/gdk/gdkcairocontext.h b/gdk/gdkcairocontext.h index d5e3967cfc..a230b2e663 100644 --- a/gdk/gdkcairocontext.h +++ b/gdk/gdkcairocontext.h @@ -18,8 +18,7 @@ * License along with this library. If not, see . */ -#ifndef __GDK_CAIRO_CONTEXT__ -#define __GDK_CAIRO_CONTEXT__ +#pragma once #if !defined (__GDK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -46,4 +45,3 @@ cairo_t * gdk_cairo_context_cairo_create (GdkCair G_END_DECLS -#endif /* __GDK_CAIRO_CONTEXT__ */ diff --git a/gdk/gdkcairocontextprivate.h b/gdk/gdkcairocontextprivate.h index fd45c38573..282843d301 100644 --- a/gdk/gdkcairocontextprivate.h +++ b/gdk/gdkcairocontextprivate.h @@ -18,8 +18,7 @@ * License along with this library. If not, see . */ -#ifndef __GDK_CAIRO_CONTEXT_PRIVATE__ -#define __GDK_CAIRO_CONTEXT_PRIVATE__ +#pragma once #include "gdkcairocontext.h" @@ -49,4 +48,3 @@ struct _GdkCairoContextClass G_END_DECLS -#endif /* __GDK__CAIRO_CONTEXT_PRIVATE__ */ diff --git a/gdk/gdkcairoprivate.h b/gdk/gdkcairoprivate.h index 654dec25fa..06a9eef9f2 100644 --- a/gdk/gdkcairoprivate.h +++ b/gdk/gdkcairoprivate.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef __GDK_CAIRO_PRIVATE_H__ -#define __GDK_CAIRO_PRIVATE_H__ +#pragma once #include "gdkcairo.h" @@ -36,4 +35,3 @@ cairo_region_t *gdk_cairo_region_from_clip (cairo_t *cr); G_END_DECLS -#endif /* __GDK_CAIRO_PRIVATE_H__ */ diff --git a/gdk/gdkclipboard.h b/gdk/gdkclipboard.h index f8f4178d5e..f10c95c32b 100644 --- a/gdk/gdkclipboard.h +++ b/gdk/gdkclipboard.h @@ -16,8 +16,7 @@ * License along with this library. If not, see . */ -#ifndef __GDK_CLIPBOARD_H__ -#define __GDK_CLIPBOARD_H__ +#pragma once #if !defined (__GDK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -124,4 +123,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GdkClipboard, g_object_unref) G_END_DECLS -#endif /* __GDK_CLIPBOARD_H__ */ diff --git a/gdk/gdkclipboardprivate.h b/gdk/gdkclipboardprivate.h index 5a774e4684..6ff1f38b82 100644 --- a/gdk/gdkclipboardprivate.h +++ b/gdk/gdkclipboardprivate.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef __GDK_CLIPBOARD_PRIVATE_H__ -#define __GDK_CLIPBOARD_PRIVATE_H__ +#pragma once #include @@ -82,4 +81,3 @@ gboolean gdk_clipboard_write_finish (GdkClipboard G_END_DECLS -#endif /* __GDK_CLIPBOARD_PRIVATE_H__ */ diff --git a/gdk/gdkcontentdeserializer.h b/gdk/gdkcontentdeserializer.h index 9c3946e0a1..be10880434 100644 --- a/gdk/gdkcontentdeserializer.h +++ b/gdk/gdkcontentdeserializer.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_CONTENT_DESERIALIZER_H__ -#define __GTK_CONTENT_DESERIALIZER_H__ +#pragma once #if !defined (__GDK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -103,4 +102,3 @@ gboolean gdk_content_deserialize_finish (GAsyncR G_END_DECLS -#endif /* __GDK_CONTENT_DESERIALIZER_H__ */ diff --git a/gdk/gdkcontentformats.h b/gdk/gdkcontentformats.h index 3fd1657675..ff9b116db7 100644 --- a/gdk/gdkcontentformats.h +++ b/gdk/gdkcontentformats.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_CONTENT_FORMATS_H__ -#define __GTK_CONTENT_FORMATS_H__ +#pragma once #if !defined (__GDK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -132,4 +131,3 @@ GdkFileList * gdk_file_list_new_from_array (GFile **files, G_END_DECLS -#endif /* __GTK_CONTENT_FORMATS_H__ */ diff --git a/gdk/gdkcontentformatsprivate.h b/gdk/gdkcontentformatsprivate.h index cfc8f2e75c..e6955a9f81 100644 --- a/gdk/gdkcontentformatsprivate.h +++ b/gdk/gdkcontentformatsprivate.h @@ -17,8 +17,7 @@ */ -#ifndef __GTK_CONTENT_FORMATS_PRIVATE_H__ -#define __GTK_CONTENT_FORMATS_PRIVATE_H__ +#pragma once #include "gdkcontentformats.h" @@ -29,4 +28,3 @@ G_BEGIN_DECLS G_END_DECLS -#endif /* __GTK_CONTENT_FORMATS_PRIVATE_H__ */ diff --git a/gdk/gdkcontentprovider.h b/gdk/gdkcontentprovider.h index f3e40c4ce3..9293a17aea 100644 --- a/gdk/gdkcontentprovider.h +++ b/gdk/gdkcontentprovider.h @@ -16,8 +16,7 @@ * License along with this library. If not, see . */ -#ifndef __GDK_CONTENT_PROVIDER_H__ -#define __GDK_CONTENT_PROVIDER_H__ +#pragma once #if !defined (__GDK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -116,4 +115,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GdkContentProvider, g_object_unref) G_END_DECLS -#endif /* __GDK_CONTENT_PROVIDER_H__ */ diff --git a/gdk/gdkcontentproviderimpl.h b/gdk/gdkcontentproviderimpl.h index 6490839bd5..94c3ffb6fb 100644 --- a/gdk/gdkcontentproviderimpl.h +++ b/gdk/gdkcontentproviderimpl.h @@ -16,8 +16,7 @@ * License along with this library. If not, see . */ -#ifndef __GDK_CONTENT_PROVIDER_IMPL_H__ -#define __GDK_CONTENT_PROVIDER_IMPL_H__ +#pragma once #if !defined (__GDK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -44,4 +43,3 @@ GdkContentProvider * gdk_content_provider_new_for_bytes (const c G_END_DECLS -#endif /* __GDK_CONTENT_PROVIDER_IMPL_H__ */ diff --git a/gdk/gdkcontentproviderprivate.h b/gdk/gdkcontentproviderprivate.h index 5d4d1c94fe..9440fb26e6 100644 --- a/gdk/gdkcontentproviderprivate.h +++ b/gdk/gdkcontentproviderprivate.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef __GDK_CONTENT_PROVIDER_PRIVATE_H__ -#define __GDK_CONTENT_PROVIDER_PRIVATE_H__ +#pragma once #include @@ -30,4 +29,3 @@ void gdk_content_provider_detach_clipboard (GdkContentProvi G_END_DECLS -#endif /* __GDK_CONTENT_PROVIDER_PRIVATE_H__ */ diff --git a/gdk/gdkcontentserializer.h b/gdk/gdkcontentserializer.h index f7dedccebf..1322d17a51 100644 --- a/gdk/gdkcontentserializer.h +++ b/gdk/gdkcontentserializer.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_CONTENT_SERIALIZER_H__ -#define __GTK_CONTENT_SERIALIZER_H__ +#pragma once #if !defined (__GDK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -102,4 +101,3 @@ gboolean gdk_content_serialize_finish (GAsyncR G_END_DECLS -#endif /* __GDK_CONTENT_SERIALIZER_H__ */ diff --git a/gdk/gdkcursor.h b/gdk/gdkcursor.h index 66de6e531b..f8eb2d7d9a 100644 --- a/gdk/gdkcursor.h +++ b/gdk/gdkcursor.h @@ -22,8 +22,7 @@ * GTK+ at ftp://ftp.gtk.org/pub/gtk/. */ -#ifndef __GDK_CURSOR_H__ -#define __GDK_CURSOR_H__ +#pragma once #if !defined (__GDK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -68,4 +67,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GdkCursor, g_object_unref) G_END_DECLS -#endif /* __GDK_CURSOR_H__ */ diff --git a/gdk/gdkcursorprivate.h b/gdk/gdkcursorprivate.h index aaac3169fb..7eeb6278ca 100644 --- a/gdk/gdkcursorprivate.h +++ b/gdk/gdkcursorprivate.h @@ -22,8 +22,7 @@ * GTK+ at ftp://ftp.gtk.org/pub/gtk/. */ -#ifndef __GDK_CURSOR_PRIVATE_H__ -#define __GDK_CURSOR_PRIVATE_H__ +#pragma once #include @@ -58,4 +57,3 @@ gboolean gdk_cursor_equal (gconstpointer G_END_DECLS -#endif /* __GDK_CURSOR_PRIVATE_H__ */ diff --git a/gdk/gdkdebugprivate.h b/gdk/gdkdebugprivate.h index dab4d890d2..bbcf2d4630 100644 --- a/gdk/gdkdebugprivate.h +++ b/gdk/gdkdebugprivate.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef __GDK_DEBUG_PRIVATE_H__ -#define __GDK_DEBUG_PRIVATE_H__ +#pragma once #include @@ -99,4 +98,3 @@ guint gdk_parse_debug_var (const char *variable, const GdkDebugKey *keys, guint nkeys); -#endif /* __GDK_DEBUG_PRIVATE_H__ */ diff --git a/gdk/gdkdevice.h b/gdk/gdkdevice.h index dbf29147e4..28d0c04c8b 100644 --- a/gdk/gdkdevice.h +++ b/gdk/gdkdevice.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef __GDK_DEVICE_H__ -#define __GDK_DEVICE_H__ +#pragma once #if !defined (__GDK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -131,4 +130,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GdkDevice, g_object_unref) G_END_DECLS -#endif /* __GDK_DEVICE_H__ */ diff --git a/gdk/gdkdevicepad.h b/gdk/gdkdevicepad.h index f8d6da1a76..aa6d56871c 100644 --- a/gdk/gdkdevicepad.h +++ b/gdk/gdkdevicepad.h @@ -17,8 +17,7 @@ * Author: Carlos Garnacho */ -#ifndef __GDK_DEVICE_PAD_H__ -#define __GDK_DEVICE_PAD_H__ +#pragma once #if !defined (__GDK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -71,4 +70,3 @@ int gdk_device_pad_get_feature_group (GdkDevicePad *pad, G_END_DECLS -#endif /* __GDK_DEVICE_PAD_H__ */ diff --git a/gdk/gdkdevicepadprivate.h b/gdk/gdkdevicepadprivate.h index 7a4371f9bd..8fa245d295 100644 --- a/gdk/gdkdevicepadprivate.h +++ b/gdk/gdkdevicepadprivate.h @@ -17,8 +17,7 @@ * Author: Carlos Garnacho */ -#ifndef __GDK_DEVICE_PAD_PRIVATE_H__ -#define __GDK_DEVICE_PAD_PRIVATE_H__ +#pragma once #include "gdkdevicepad.h" @@ -42,4 +41,3 @@ struct _GdkDevicePadInterface { G_END_DECLS -#endif /* __GDK_DEVICE_PAD_PRIVATE_H__ */ diff --git a/gdk/gdkdeviceprivate.h b/gdk/gdkdeviceprivate.h index bdc8ea3564..fb7eadc876 100644 --- a/gdk/gdkdeviceprivate.h +++ b/gdk/gdkdeviceprivate.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef __GDK_DEVICE_PRIVATE_H__ -#define __GDK_DEVICE_PRIVATE_H__ +#pragma once #include "gdkdevice.h" #include "gdkdevicetool.h" @@ -201,4 +200,3 @@ gboolean gdk_device_grab_info (GdkDisplay *display, G_END_DECLS -#endif /* __GDK_DEVICE_PRIVATE_H__ */ diff --git a/gdk/gdkdevicetool.h b/gdk/gdkdevicetool.h index b63f8a8d67..0accd67816 100644 --- a/gdk/gdkdevicetool.h +++ b/gdk/gdkdevicetool.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef __GDK_DEVICE_TOOL_H__ -#define __GDK_DEVICE_TOOL_H__ +#pragma once #if !defined (__GDK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -77,4 +76,3 @@ GdkAxisFlags gdk_device_tool_get_axes (GdkDeviceTool *tool); G_END_DECLS -#endif /* __GDK_DEVICE_TOOL_H__ */ diff --git a/gdk/gdkdevicetoolprivate.h b/gdk/gdkdevicetoolprivate.h index 63d06366c3..3b6446608c 100644 --- a/gdk/gdkdevicetoolprivate.h +++ b/gdk/gdkdevicetoolprivate.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef __GDK_DEVICE_TOOL_PRIVATE_H__ -#define __GDK_DEVICE_TOOL_PRIVATE_H__ +#pragma once #include "gdkdevicetool.h" @@ -45,4 +44,3 @@ GdkDeviceTool *gdk_device_tool_new (guint64 serial, G_END_DECLS -#endif /* __GDK_DEVICE_TOOL_PRIVATE_H__ */ diff --git a/gdk/gdkdisplay.h b/gdk/gdkdisplay.h index b6bfa2c6cf..54b514f8cf 100644 --- a/gdk/gdkdisplay.h +++ b/gdk/gdkdisplay.h @@ -19,8 +19,7 @@ * License along with this library. If not, see . */ -#ifndef __GDK_DISPLAY_H__ -#define __GDK_DISPLAY_H__ +#pragma once #if !defined (__GDK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -140,4 +139,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GdkDisplay, g_object_unref) G_END_DECLS -#endif /* __GDK_DISPLAY_H__ */ diff --git a/gdk/gdkdisplaymanager.h b/gdk/gdkdisplaymanager.h index c6ed7f34ad..90c1cf3c4e 100644 --- a/gdk/gdkdisplaymanager.h +++ b/gdk/gdkdisplaymanager.h @@ -22,8 +22,7 @@ * GTK+ at ftp://ftp.gtk.org/pub/gtk/. */ -#ifndef __GDK_DISPLAY_MANAGER_H__ -#define __GDK_DISPLAY_MANAGER_H__ +#pragma once #if !defined (__GDK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -61,4 +60,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GdkDisplayManager, g_object_unref) G_END_DECLS -#endif /* __GDK_DISPLAY_MANAGER_H__ */ diff --git a/gdk/gdkdisplaymanagerprivate.h b/gdk/gdkdisplaymanagerprivate.h index 5ec3f01cb7..9c063b6ef1 100644 --- a/gdk/gdkdisplaymanagerprivate.h +++ b/gdk/gdkdisplaymanagerprivate.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef __GDK_DISPLAY_MANAGER_PRIVATE_H__ -#define __GDK_DISPLAY_MANAGER_PRIVATE_H__ +#pragma once #include "gdkdisplaymanager.h" @@ -53,4 +52,3 @@ void _gdk_display_manager_remove_display (GdkDisplayManager G_END_DECLS -#endif diff --git a/gdk/gdkdisplayprivate.h b/gdk/gdkdisplayprivate.h index df88bec6ac..5fe690d9d0 100644 --- a/gdk/gdkdisplayprivate.h +++ b/gdk/gdkdisplayprivate.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef __GDK_DISPLAY_PRIVATE_H__ -#define __GDK_DISPLAY_PRIVATE_H__ +#pragma once #include "gdkdisplay.h" #include "gdksurface.h" @@ -270,4 +269,3 @@ void gdk_display_set_cursor_theme (GdkDisplay *display, G_END_DECLS -#endif /* __GDK_DISPLAY_PRIVATE_H__ */ diff --git a/gdk/gdkdrag.h b/gdk/gdkdrag.h index 0eb865a2ee..bb4dd3ceb7 100644 --- a/gdk/gdkdrag.h +++ b/gdk/gdkdrag.h @@ -22,8 +22,7 @@ * GTK+ at ftp://ftp.gtk.org/pub/gtk/. */ -#ifndef __GDK_DND_H__ -#define __GDK_DND_H__ +#pragma once #if !defined (__GDK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -103,4 +102,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GdkDrag, g_object_unref) G_END_DECLS -#endif /* __GDK_DND_H__ */ diff --git a/gdk/gdkdragprivate.h b/gdk/gdkdragprivate.h index 2532caad8b..7050072b33 100644 --- a/gdk/gdkdragprivate.h +++ b/gdk/gdkdragprivate.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef __GDK_DND_PRIVATE_H__ -#define __GDK_DND_PRIVATE_H__ +#pragma once #include "gdkdrag.h" @@ -83,4 +82,3 @@ gboolean gdk_drag_write_finish (GdkDrag *drag, G_END_DECLS -#endif diff --git a/gdk/gdkdragsurface.h b/gdk/gdkdragsurface.h index bc20416777..9ca3c6dde7 100644 --- a/gdk/gdkdragsurface.h +++ b/gdk/gdkdragsurface.h @@ -17,8 +17,7 @@ * Authors: Matthias Clasen */ -#ifndef __GDK_DRAG_SURFACE_H__ -#define __GDK_DRAG_SURFACE_H__ +#pragma once #if !defined(__GDK_H_INSIDE__) && !defined(GTK_COMPILATION) #error "Only can be included directly." @@ -40,4 +39,3 @@ gboolean gdk_drag_surface_present (GdkDragSurface *drag_surface, G_END_DECLS -#endif /* __GDK_DRAG_SURFACE_H__ */ diff --git a/gdk/gdkdragsurfaceprivate.h b/gdk/gdkdragsurfaceprivate.h index d565b8418d..01d5d1eb3b 100644 --- a/gdk/gdkdragsurfaceprivate.h +++ b/gdk/gdkdragsurfaceprivate.h @@ -1,5 +1,4 @@ -#ifndef __GDK_DRAG_SURFACE_PRIVATE_H__ -#define __GDK_DRAG_SURFACE_PRIVATE_H__ +#pragma once #include "gdkdragsurface.h" #include "gdkdragsurfacesize.h" @@ -21,4 +20,3 @@ void gdk_drag_surface_notify_compute_size (GdkDragSurface *surface, G_END_DECLS -#endif /* __GDK_DRAG_SURFACE_PRIVATE_H__ */ diff --git a/gdk/gdkdrawcontext.h b/gdk/gdkdrawcontext.h index e255c059e0..e414ede92c 100644 --- a/gdk/gdkdrawcontext.h +++ b/gdk/gdkdrawcontext.h @@ -18,8 +18,7 @@ * License along with this library. If not, see . */ -#ifndef __GDK_DRAW_CONTEXT__ -#define __GDK_DRAW_CONTEXT__ +#pragma once #if !defined (__GDK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -56,4 +55,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GdkDrawContext, g_object_unref) G_END_DECLS -#endif /* __GDK_DRAW_CONTEXT__ */ diff --git a/gdk/gdkdrawcontextprivate.h b/gdk/gdkdrawcontextprivate.h index 4674d25f30..e7ab10898c 100644 --- a/gdk/gdkdrawcontextprivate.h +++ b/gdk/gdkdrawcontextprivate.h @@ -18,8 +18,7 @@ * License along with this library. If not, see . */ -#ifndef __GDK_DRAW_CONTEXT_PRIVATE__ -#define __GDK_DRAW_CONTEXT_PRIVATE__ +#pragma once #include "gdkdrawcontext.h" @@ -55,4 +54,3 @@ void gdk_draw_context_begin_frame_full (GdkDrawContext const cairo_region_t *region); G_END_DECLS -#endif /* __GDK__DRAW_CONTEXT_PRIVATE__ */ diff --git a/gdk/gdkdrop.h b/gdk/gdkdrop.h index 6ce0e95ae3..8f4236007c 100644 --- a/gdk/gdkdrop.h +++ b/gdk/gdkdrop.h @@ -18,8 +18,7 @@ */ -#ifndef __GDK_DROP_H__ -#define __GDK_DROP_H__ +#pragma once #if !defined (__GDK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -87,4 +86,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GdkDrop, g_object_unref) G_END_DECLS -#endif /* __GDK_DROP_H__ */ diff --git a/gdk/gdkdropprivate.h b/gdk/gdkdropprivate.h index 6dbf8a0acf..2d93c5812b 100644 --- a/gdk/gdkdropprivate.h +++ b/gdk/gdkdropprivate.h @@ -17,8 +17,7 @@ * Authors: Benjamin Otte */ -#ifndef __GDK_DROP_PRIVATE_H__ -#define __GDK_DROP_PRIVATE_H__ +#pragma once #include "gdkdrop.h" @@ -81,4 +80,3 @@ void gdk_drop_emit_drop_event (GdkDrop G_END_DECLS -#endif diff --git a/gdk/gdkenums.h b/gdk/gdkenums.h index 11654a513f..783bf8906f 100644 --- a/gdk/gdkenums.h +++ b/gdk/gdkenums.h @@ -22,8 +22,7 @@ * GTK+ at ftp://ftp.gtk.org/pub/gtk/. */ -#ifndef __GDK_ENUMS_H__ -#define __GDK_ENUMS_H__ +#pragma once #if !defined (__GDK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -333,4 +332,3 @@ typedef enum { G_END_DECLS -#endif /* __GDK_ENUMS_H__ */ diff --git a/gdk/gdkevents.h b/gdk/gdkevents.h index f2b6748bfa..7b75a3f3d6 100644 --- a/gdk/gdkevents.h +++ b/gdk/gdkevents.h @@ -22,8 +22,7 @@ * GTK+ at ftp://ftp.gtk.org/pub/gtk/. */ -#ifndef __GDK_EVENTS_H__ -#define __GDK_EVENTS_H__ +#pragma once #if !defined (__GDK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -555,4 +554,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GdkEvent, gdk_event_unref) G_END_DECLS -#endif /* __GDK_EVENTS_H__ */ diff --git a/gdk/gdkeventsprivate.h b/gdk/gdkeventsprivate.h index aad8218b37..5bec813762 100644 --- a/gdk/gdkeventsprivate.h +++ b/gdk/gdkeventsprivate.h @@ -22,8 +22,7 @@ * GTK+ at ftp://ftp.gtk.org/pub/gtk/. */ -#ifndef __GDK_EVENTS_PRIVATE_H__ -#define __GDK_EVENTS_PRIVATE_H__ +#pragma once #include #include @@ -635,4 +634,3 @@ double * gdk_event_dup_axes (GdkEvent *event); G_END_DECLS -#endif /* __GDK_EVENTS_PRIVATE_H__ */ diff --git a/gdk/gdkframeclock.h b/gdk/gdkframeclock.h index 6a1013f675..f526ed2941 100644 --- a/gdk/gdkframeclock.h +++ b/gdk/gdkframeclock.h @@ -22,8 +22,7 @@ * GTK+ at ftp://ftp.gtk.org/pub/gtk/. */ -#ifndef __GDK_FRAME_CLOCK_H__ -#define __GDK_FRAME_CLOCK_H__ +#pragma once #if !defined (__GDK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -110,4 +109,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GdkFrameClock, g_object_unref) G_END_DECLS -#endif /* __GDK_FRAME_CLOCK_H__ */ diff --git a/gdk/gdkframeclockidleprivate.h b/gdk/gdkframeclockidleprivate.h index 42f765f768..108ae8704a 100644 --- a/gdk/gdkframeclockidleprivate.h +++ b/gdk/gdkframeclockidleprivate.h @@ -24,8 +24,7 @@ /* Uninstalled header, internal to GDK */ -#ifndef __GDK_FRAME_CLOCK_IDLE_H__ -#define __GDK_FRAME_CLOCK_IDLE_H__ +#pragma once #include "gdkframeclockprivate.h" @@ -62,4 +61,3 @@ GdkFrameClock *_gdk_frame_clock_idle_new (void); G_END_DECLS -#endif /* __GDK_FRAME_CLOCK_IDLE_H__ */ diff --git a/gdk/gdkframeclockprivate.h b/gdk/gdkframeclockprivate.h index 010aa4564f..e9d5b1e2b9 100644 --- a/gdk/gdkframeclockprivate.h +++ b/gdk/gdkframeclockprivate.h @@ -24,8 +24,7 @@ /* Uninstalled header, internal to GDK */ -#ifndef __GDK_FRAME_CLOCK_PRIVATE_H__ -#define __GDK_FRAME_CLOCK_PRIVATE_H__ +#pragma once #include #include @@ -129,4 +128,3 @@ void _gdk_frame_clock_emit_resume_events (GdkFrameClock *frame_clock); G_END_DECLS -#endif /* __GDK_FRAME_CLOCK_PRIVATE_H__ */ diff --git a/gdk/gdkframetimings.h b/gdk/gdkframetimings.h index 0bf7822ac2..c3cfe184a5 100644 --- a/gdk/gdkframetimings.h +++ b/gdk/gdkframetimings.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef __GDK_FRAME_TIMINGS_H__ -#define __GDK_FRAME_TIMINGS_H__ +#pragma once #if !defined (__GDK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -55,4 +54,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GdkFrameTimings, gdk_frame_timings_unref) G_END_DECLS -#endif /* __GDK_FRAME_TIMINGS_H__ */ diff --git a/gdk/gdkglcontext.h b/gdk/gdkglcontext.h index 777bfd0117..5d4b614069 100644 --- a/gdk/gdkglcontext.h +++ b/gdk/gdkglcontext.h @@ -18,8 +18,7 @@ * License along with this library. If not, see . */ -#ifndef __GDK_GL_CONTEXT_H__ -#define __GDK_GL_CONTEXT_H__ +#pragma once #if !defined (__GDK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -118,4 +117,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GdkGLContext, g_object_unref) G_END_DECLS -#endif /* __GDK_GL_CONTEXT_H__ */ diff --git a/gdk/gdkglcontextprivate.h b/gdk/gdkglcontextprivate.h index 2ed799d6f7..2f19e96b1c 100644 --- a/gdk/gdkglcontextprivate.h +++ b/gdk/gdkglcontextprivate.h @@ -18,8 +18,7 @@ * License along with this library. If not, see . */ -#ifndef __GDK_GL_CONTEXT_PRIVATE_H__ -#define __GDK_GL_CONTEXT_PRIVATE_H__ +#pragma once #include "gdkglcontext.h" #include "gdkdrawcontextprivate.h" @@ -170,4 +169,3 @@ gboolean gdk_gl_context_has_vertex_half_float (GdkGLContext G_END_DECLS -#endif /* __GDK_GL_CONTEXT_PRIVATE_H__ */ diff --git a/gdk/gdkgltexture.h b/gdk/gdkgltexture.h index a692ebdd24..55e379d8c4 100644 --- a/gdk/gdkgltexture.h +++ b/gdk/gdkgltexture.h @@ -16,8 +16,7 @@ * License along with this library. If not, see . */ -#ifndef __GDK_GL_TEXTURE_H__ -#define __GDK_GL_TEXTURE_H__ +#pragma once #if !defined (__GDK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -54,4 +53,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GdkGLTexture, g_object_unref) G_END_DECLS -#endif /* __GDK_GL_TEXTURE_H__ */ diff --git a/gdk/gdkgltextureprivate.h b/gdk/gdkgltextureprivate.h index f00fecd4bd..47fa71bd0a 100644 --- a/gdk/gdkgltextureprivate.h +++ b/gdk/gdkgltextureprivate.h @@ -1,5 +1,4 @@ -#ifndef __GDK_GL_TEXTURE_PRIVATE_H__ -#define __GDK_GL_TEXTURE_PRIVATE_H__ +#pragma once #include "gdkgltexture.h" @@ -13,4 +12,3 @@ gboolean gdk_gl_texture_has_mipmap (GdkGLTexture G_END_DECLS -#endif /* __GDK_GL_TEXTURE_PRIVATE_H__ */ diff --git a/gdk/gdkhslaprivate.h b/gdk/gdkhslaprivate.h index 8239e8e775..baf43184b0 100644 --- a/gdk/gdkhslaprivate.h +++ b/gdk/gdkhslaprivate.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_HSLA_PRIVATE_H__ -#define __GTK_HSLA_PRIVATE_H__ +#pragma once #include @@ -43,4 +42,3 @@ void _gdk_hsla_shade (GdkHSLA *dest, G_END_DECLS -#endif /* __GTK_HSLA_PRIVATE_H__ */ diff --git a/gdk/gdkkeys.h b/gdk/gdkkeys.h index 0f75a2affc..dd82c938dd 100644 --- a/gdk/gdkkeys.h +++ b/gdk/gdkkeys.h @@ -22,8 +22,7 @@ * GTK+ at ftp://ftp.gtk.org/pub/gtk/. */ -#ifndef __GDK_KEYS_H__ -#define __GDK_KEYS_H__ +#pragma once #if !defined (__GDK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -60,4 +59,3 @@ guint gdk_unicode_to_keyval (guint32 wc) G_GNUC_CONST; G_END_DECLS -#endif /* __GDK_KEYS_H__ */ diff --git a/gdk/gdkkeysprivate.h b/gdk/gdkkeysprivate.h index 29d2fcd670..ff92eeabcc 100644 --- a/gdk/gdkkeysprivate.h +++ b/gdk/gdkkeysprivate.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef __GDK_KEYS_PRIVATE_H__ -#define __GDK_KEYS_PRIVATE_H__ +#pragma once #include "gdkkeys.h" @@ -123,4 +122,3 @@ void gdk_keymap_get_cached_entries_for_keyval (GdkKeymap *keymap, G_END_DECLS -#endif diff --git a/gdk/gdkkeysyms.h b/gdk/gdkkeysyms.h index 3482d635d1..6f0480eeca 100644 --- a/gdk/gdkkeysyms.h +++ b/gdk/gdkkeysyms.h @@ -32,8 +32,7 @@ * GTK+ at ftp://ftp.gtk.org/pub/gtk/. */ -#ifndef __GDK_KEYSYMS_H__ -#define __GDK_KEYSYMS_H__ +#pragma once #define GDK_KEY_VoidSymbol 0xffffff @@ -2315,4 +2314,3 @@ #define GDK_KEY_LogWindowTree 0x1008fe24 #define GDK_KEY_LogGrabInfo 0x1008fe25 -#endif /* __GDK_KEYSYMS_H__ */ diff --git a/gdk/gdkmemoryformatprivate.h b/gdk/gdkmemoryformatprivate.h index 3618852f02..0d3a87b24d 100644 --- a/gdk/gdkmemoryformatprivate.h +++ b/gdk/gdkmemoryformatprivate.h @@ -17,8 +17,7 @@ * Authors: Benjamin Otte */ -#ifndef __GDK_MEMORY_CONVERT_PRIVATE_H__ -#define __GDK_MEMORY_CONVERT_PRIVATE_H__ +#pragma once #include "gdkenums.h" @@ -52,4 +51,3 @@ void gdk_memory_convert (guchar G_END_DECLS -#endif /* __GDK_MEMORY_CONVERT_PRIVATE_H__ */ diff --git a/gdk/gdkmemorytexture.h b/gdk/gdkmemorytexture.h index 9a76c7be82..1f56b93578 100644 --- a/gdk/gdkmemorytexture.h +++ b/gdk/gdkmemorytexture.h @@ -17,8 +17,7 @@ * Authors: Benjamin Otte */ -#ifndef __GDK_MEMORY_TEXTURE__H__ -#define __GDK_MEMORY_TEXTURE__H__ +#pragma once #if !defined (__GDK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -72,4 +71,3 @@ GdkTexture * gdk_memory_texture_new (int G_END_DECLS -#endif /* __GDK_MEMORY_TEXTURE_H__ */ diff --git a/gdk/gdkmemorytextureprivate.h b/gdk/gdkmemorytextureprivate.h index f182f7fbd9..168f05bf46 100644 --- a/gdk/gdkmemorytextureprivate.h +++ b/gdk/gdkmemorytextureprivate.h @@ -17,8 +17,7 @@ * Authors: Benjamin Otte */ -#ifndef __GDK_MEMORY_TEXTURE_PRIVATE_H__ -#define __GDK_MEMORY_TEXTURE_PRIVATE_H__ +#pragma once #include "gdkmemorytexture.h" @@ -43,4 +42,3 @@ GBytes * gdk_memory_texture_get_bytes (GdkMemoryTexture * G_END_DECLS -#endif /* __GDK_MEMORY_TEXTURE_PRIVATE_H__ */ diff --git a/gdk/gdkmonitor.h b/gdk/gdkmonitor.h index 11f91640c6..ed199cba08 100644 --- a/gdk/gdkmonitor.h +++ b/gdk/gdkmonitor.h @@ -19,8 +19,7 @@ * License along with this library. If not, see . */ -#ifndef __GDK_MONITOR_H__ -#define __GDK_MONITOR_H__ +#pragma once #if !defined (__GDK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -93,4 +92,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GdkMonitor, g_object_unref) G_END_DECLS -#endif /* __GDK_MONITOR_H__ */ diff --git a/gdk/gdkmonitorprivate.h b/gdk/gdkmonitorprivate.h index 275ae91391..2a48ae1e28 100644 --- a/gdk/gdkmonitorprivate.h +++ b/gdk/gdkmonitorprivate.h @@ -19,8 +19,7 @@ * License along with this library. If not, see . */ -#ifndef __GDK_MONITOR_PRIVATE_H__ -#define __GDK_MONITOR_PRIVATE_H__ +#pragma once #include "gdkmonitor.h" @@ -76,4 +75,3 @@ void gdk_monitor_set_description (GdkMonitor *monitor, G_END_DECLS -#endif /* __GDK_MONITOR_PRIVATE_H__ */ diff --git a/gdk/gdkpaintable.h b/gdk/gdkpaintable.h index 92847a07e3..c5c3afc325 100644 --- a/gdk/gdkpaintable.h +++ b/gdk/gdkpaintable.h @@ -17,8 +17,7 @@ * Authors: Benjamin Otte */ -#ifndef __GDK_PAINTABLE_H__ -#define __GDK_PAINTABLE_H__ +#pragma once #if !defined (__GDK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -146,4 +145,3 @@ GdkPaintable * gdk_paintable_new_empty (int G_END_DECLS -#endif /* __GDK_PAINTABLE_H__ */ diff --git a/gdk/gdkpango.h b/gdk/gdkpango.h index 5a674bc3d8..806597df2a 100644 --- a/gdk/gdkpango.h +++ b/gdk/gdkpango.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef __GDK_PANGO_H__ -#define __GDK_PANGO_H__ +#pragma once #if !defined (__GDK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -48,4 +47,3 @@ cairo_region_t *gdk_pango_layout_get_clip_region (PangoLayout *layou G_END_DECLS -#endif /* __GDK_PANGO_H__ */ diff --git a/gdk/gdkpipeiostreamprivate.h b/gdk/gdkpipeiostreamprivate.h index 50af59defe..e88154e038 100644 --- a/gdk/gdkpipeiostreamprivate.h +++ b/gdk/gdkpipeiostreamprivate.h @@ -16,8 +16,7 @@ * License along with this library. If not, see . */ -#ifndef __GDK_PIPE_IO_STREAM_H__ -#define __GDK_PIPE_IO_STREAM_H__ +#pragma once #include #include @@ -30,4 +29,3 @@ GIOStream * gdk_pipe_io_stream_new (void); G_END_DECLS -#endif /* __GDK_PIPE_IO_STREAM_H__ */ diff --git a/gdk/gdkpixbuf.h b/gdk/gdkpixbuf.h index 65db8ebbc8..b05a279935 100644 --- a/gdk/gdkpixbuf.h +++ b/gdk/gdkpixbuf.h @@ -22,8 +22,7 @@ * GTK+ at ftp://ftp.gtk.org/pub/gtk/. */ -#ifndef __GDK_PIXBUF_H__ -#define __GDK_PIXBUF_H__ +#pragma once #if !defined (__GDK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -49,4 +48,3 @@ GdkPixbuf *gdk_pixbuf_get_from_texture (GdkTexture *texture); G_END_DECLS -#endif /* __GDK_PIXBUF_H__ */ diff --git a/gdk/gdkpopup.h b/gdk/gdkpopup.h index ba8a2782a7..1b6d121203 100644 --- a/gdk/gdkpopup.h +++ b/gdk/gdkpopup.h @@ -17,8 +17,7 @@ * Authors: Matthias Clasen */ -#ifndef __GDK_POPUP_H__ -#define __GDK_POPUP_H__ +#pragma once #if !defined (__GDK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -60,4 +59,3 @@ gboolean gdk_popup_get_autohide (GdkPopup *popup); G_END_DECLS -#endif /* __GDK_POPUP_H__ */ diff --git a/gdk/gdkpopuplayout.h b/gdk/gdkpopuplayout.h index 1243323416..34a58c5850 100644 --- a/gdk/gdkpopuplayout.h +++ b/gdk/gdkpopuplayout.h @@ -16,8 +16,7 @@ * */ -#ifndef __GDK_POPUP_LAYOUT_H__ -#define __GDK_POPUP_LAYOUT_H__ +#pragma once #if !defined (__GDK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -150,4 +149,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GdkPopupLayout, gdk_popup_layout_unref) G_END_DECLS -#endif /* __GDK_POPUP_LAYOUT_H__ */ diff --git a/gdk/gdkpopupprivate.h b/gdk/gdkpopupprivate.h index 2d9c18e7c8..08617fed46 100644 --- a/gdk/gdkpopupprivate.h +++ b/gdk/gdkpopupprivate.h @@ -1,5 +1,4 @@ -#ifndef __GDK_POPUP_PRIVATE_H__ -#define __GDK_POPUP_PRIVATE_H__ +#pragma once #include "gdkpopup.h" @@ -32,4 +31,3 @@ guint gdk_popup_install_properties (GObjectClass *object_class, G_END_DECLS -#endif /* __GDK_POPUP_PRIVATE_H__ */ diff --git a/gdk/gdkprivate.h b/gdk/gdkprivate.h index b93e1800f5..e1a59c5921 100644 --- a/gdk/gdkprivate.h +++ b/gdk/gdkprivate.h @@ -1,5 +1,4 @@ -#ifndef __GDK__PRIVATE_H__ -#define __GDK__PRIVATE_H__ +#pragma once #include "gdk/gdktypes.h" @@ -42,4 +41,3 @@ g_set_str (char **str_pointer, } #endif -#endif /* __GDK__PRIVATE_H__ */ diff --git a/gdk/gdkprofilerprivate.h b/gdk/gdkprofilerprivate.h index 897f4f804e..f244b85865 100644 --- a/gdk/gdkprofilerprivate.h +++ b/gdk/gdkprofilerprivate.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef __GDK_PROFILER_PRIVATE_H__ -#define __GDK_PROFILER_PRIVATE_H__ +#pragma once #include "gdk/gdkframeclock.h" #include "gdk/gdkdisplay.h" @@ -94,4 +93,3 @@ void gdk_profiler_set_int_counter (guint id, G_END_DECLS -#endif /* __GDK_PROFILER_PRIVATE_H__ */ diff --git a/gdk/gdkrectangle.h b/gdk/gdkrectangle.h index 0f28fa6f4b..e3325aee23 100644 --- a/gdk/gdkrectangle.h +++ b/gdk/gdkrectangle.h @@ -22,8 +22,7 @@ * GTK+ at ftp://ftp.gtk.org/pub/gtk/. */ -#ifndef __GDK_RECTANGLE_H__ -#define __GDK_RECTANGLE_H__ +#pragma once #if !defined (__GDK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -61,4 +60,3 @@ GType gdk_rectangle_get_type (void) G_GNUC_CONST; G_END_DECLS -#endif /* __GDK__RECTANGLE_H__ */ diff --git a/gdk/gdkrgba.h b/gdk/gdkrgba.h index 4ecb4b7805..b8aca3dab9 100644 --- a/gdk/gdkrgba.h +++ b/gdk/gdkrgba.h @@ -22,8 +22,7 @@ * GTK+ at ftp://ftp.gtk.org/pub/gtk/. */ -#ifndef __GDK_RGBA_H__ -#define __GDK_RGBA_H__ +#pragma once #if !defined (__GDK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -73,4 +72,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GdkRGBA, gdk_rgba_free) G_END_DECLS -#endif /* __GDK_RGBA_H__ */ diff --git a/gdk/gdkrgbaprivate.h b/gdk/gdkrgbaprivate.h index 7701479bcc..b37e1f3ad9 100644 --- a/gdk/gdkrgbaprivate.h +++ b/gdk/gdkrgbaprivate.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef __GDK_RGBA_PRIVATE_H__ -#define __GDK_RGBA_PRIVATE_H__ +#pragma once #include "gdkrgba.h" @@ -41,4 +40,3 @@ gboolean gdk_rgba_parser_parse (GtkCssParser G_END_DECLS -#endif diff --git a/gdk/gdkseat.h b/gdk/gdkseat.h index 45cb9ab64f..5c4f09c770 100644 --- a/gdk/gdkseat.h +++ b/gdk/gdkseat.h @@ -17,8 +17,7 @@ * Author: Carlos Garnacho */ -#ifndef __GDK_SEAT_H__ -#define __GDK_SEAT_H__ +#pragma once #if !defined (__GDK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -90,4 +89,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GdkSeat, g_object_unref) G_END_DECLS -#endif /* __GDK_SEAT_H__ */ diff --git a/gdk/gdkseatdefaultprivate.h b/gdk/gdkseatdefaultprivate.h index 5e49ef6ec9..9886d37f7f 100644 --- a/gdk/gdkseatdefaultprivate.h +++ b/gdk/gdkseatdefaultprivate.h @@ -17,8 +17,7 @@ * Author: Carlos Garnacho */ -#ifndef __GDK_SEAT_DEFAULT_PRIVATE_H__ -#define __GDK_SEAT_DEFAULT_PRIVATE_H__ +#pragma once #include "gdkseat.h" #include "gdkseatprivate.h" @@ -61,4 +60,3 @@ void gdk_seat_default_remove_tool (GdkSeatDefault *seat, G_END_DECLS -#endif /* __GDK_SEAT_DEFAULT_PRIVATE_H__ */ diff --git a/gdk/gdkseatprivate.h b/gdk/gdkseatprivate.h index 228740dbaf..baae4c2db6 100644 --- a/gdk/gdkseatprivate.h +++ b/gdk/gdkseatprivate.h @@ -17,8 +17,7 @@ * Author: Carlos Garnacho */ -#ifndef __GDK_SEAT_PRIVATE_H__ -#define __GDK_SEAT_PRIVATE_H__ +#pragma once typedef struct _GdkSeatClass GdkSeatClass; @@ -91,4 +90,3 @@ GdkGrabStatus gdk_seat_grab (GdkSeat *seat, void gdk_seat_ungrab (GdkSeat *seat); -#endif /* __GDK_SEAT_PRIVATE_H__ */ diff --git a/gdk/gdksnapshot.h b/gdk/gdksnapshot.h index 615219c69a..31e0755bf4 100644 --- a/gdk/gdksnapshot.h +++ b/gdk/gdksnapshot.h @@ -17,8 +17,7 @@ * Authors: Benjamin Otte */ -#ifndef __GDK_SNAPSHOT_H__ -#define __GDK_SNAPSHOT_H__ +#pragma once #if !defined (__GDK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -43,4 +42,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GdkSnapshot, g_object_unref) G_END_DECLS -#endif /* __GDK_SNAPSHOT_H__ */ diff --git a/gdk/gdksnapshotprivate.h b/gdk/gdksnapshotprivate.h index b7cdc761e3..32571d40cd 100644 --- a/gdk/gdksnapshotprivate.h +++ b/gdk/gdksnapshotprivate.h @@ -1,5 +1,4 @@ -#ifndef __GDK_SNAPSHOT_PRIVATE_H__ -#define __GDK_SNAPSHOT_PRIVATE_H__ +#pragma once #include "gdksnapshot.h" @@ -20,4 +19,3 @@ struct _GdkSnapshotClass { G_END_DECLS -#endif /* __GDK_SNAPSHOT_PRIVATE_H__ */ diff --git a/gdk/gdksurface.h b/gdk/gdksurface.h index 4e083ec07b..f7f3e0273d 100644 --- a/gdk/gdksurface.h +++ b/gdk/gdksurface.h @@ -22,8 +22,7 @@ * GTK+ at ftp://ftp.gtk.org/pub/gtk/. */ -#ifndef __GDK_SURFACE_H__ -#define __GDK_SURFACE_H__ +#pragma once #if !defined (__GDK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -142,4 +141,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC (GdkSurface, g_object_unref) G_END_DECLS -#endif /* __GDK_SURFACE_H__ */ diff --git a/gdk/gdksurfaceprivate.h b/gdk/gdksurfaceprivate.h index 8847511bff..f4a37af4e3 100644 --- a/gdk/gdksurfaceprivate.h +++ b/gdk/gdksurfaceprivate.h @@ -17,8 +17,7 @@ /* Uninstalled header defining types and functions internal to GDK */ -#ifndef __GDK_SURFACE_PRIVATE_H__ -#define __GDK_SURFACE_PRIVATE_H__ +#pragma once #include #include "gdkenumtypes.h" @@ -351,4 +350,3 @@ gboolean gdk_surface_supports_edge_constraints (GdkSurface *surface); G_END_DECLS -#endif /* __GDK_SURFACE_PRIVATE_H__ */ diff --git a/gdk/gdktexture.h b/gdk/gdktexture.h index 5a28f55ad0..c79904420e 100644 --- a/gdk/gdktexture.h +++ b/gdk/gdktexture.h @@ -16,8 +16,7 @@ * License along with this library. If not, see . */ -#ifndef __GDK_TEXTURE_H__ -#define __GDK_TEXTURE_H__ +#pragma once #if !defined (__GDK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -105,4 +104,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GdkTexture, g_object_unref) G_END_DECLS -#endif /* __GDK_TEXTURE_H__ */ diff --git a/gdk/gdktexturedownloader.h b/gdk/gdktexturedownloader.h index 0bdb75b573..31d97ef17b 100644 --- a/gdk/gdktexturedownloader.h +++ b/gdk/gdktexturedownloader.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_TEXTURE_DOWNLOADER_H__ -#define __GTK_TEXTURE_DOWNLOADER_H__ +#pragma once #if !defined (__GDK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -66,4 +65,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GdkTextureDownloader, gdk_texture_downloader_free) G_END_DECLS -#endif /* __GTK_TEXTURE_DOWNLOADER_H__ */ diff --git a/gdk/gdktexturedownloaderprivate.h b/gdk/gdktexturedownloaderprivate.h index ca83889210..867788d3fb 100644 --- a/gdk/gdktexturedownloaderprivate.h +++ b/gdk/gdktexturedownloaderprivate.h @@ -17,8 +17,7 @@ */ -#ifndef __GTK_TEXTURE_DOWNLOADER_PRIVATE_H__ -#define __GTK_TEXTURE_DOWNLOADER_PRIVATE_H__ +#pragma once #include "gdktexturedownloader.h" @@ -38,4 +37,3 @@ void gdk_texture_downloader_finish (GdkTextureDown G_END_DECLS -#endif /* __GTK_TEXTURE_DOWNLOADER_PRIVATE_H__ */ diff --git a/gdk/gdktextureprivate.h b/gdk/gdktextureprivate.h index 3a2330c373..fccf380d7c 100644 --- a/gdk/gdktextureprivate.h +++ b/gdk/gdktextureprivate.h @@ -1,5 +1,4 @@ -#ifndef __GDK_TEXTURE_PRIVATE_H__ -#define __GDK_TEXTURE_PRIVATE_H__ +#pragma once #include "gdktexture.h" @@ -53,4 +52,3 @@ gpointer gdk_texture_get_render_data (GdkTexture G_END_DECLS -#endif /* __GDK_TEXTURE_PRIVATE_H__ */ diff --git a/gdk/gdktoplevel.h b/gdk/gdktoplevel.h index 346edcc77f..17b48802df 100644 --- a/gdk/gdktoplevel.h +++ b/gdk/gdktoplevel.h @@ -17,8 +17,7 @@ * Authors: Matthias Clasen */ -#ifndef __GDK_TOPLEVEL_H__ -#define __GDK_TOPLEVEL_H__ +#pragma once #if !defined(__GDK_H_INSIDE__) && !defined(GTK_COMPILATION) #error "Only can be included directly." @@ -217,4 +216,3 @@ gboolean gdk_toplevel_titlebar_gesture (GdkToplevel *toplev G_END_DECLS -#endif /* __GDK_TOPLEVEL_H__ */ diff --git a/gdk/gdktoplevellayout.h b/gdk/gdktoplevellayout.h index f1a6dc457a..aa2e1046d7 100644 --- a/gdk/gdktoplevellayout.h +++ b/gdk/gdktoplevellayout.h @@ -16,8 +16,7 @@ * */ -#ifndef __GDK_TOPLEVEL_LAYOUT_H__ -#define __GDK_TOPLEVEL_LAYOUT_H__ +#pragma once #if !defined(__GDK_H_INSIDE__) && !defined(GTK_COMPILATION) #error "Only can be included directly." @@ -82,4 +81,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GdkToplevelLayout, gdk_toplevel_layout_unref) G_END_DECLS -#endif /* __GDK_TOPLEVEL_LAYOUT_H__ */ diff --git a/gdk/gdktoplevelprivate.h b/gdk/gdktoplevelprivate.h index f202b1797f..8f0f8d6f8e 100644 --- a/gdk/gdktoplevelprivate.h +++ b/gdk/gdktoplevelprivate.h @@ -1,5 +1,4 @@ -#ifndef __GDK_TOPLEVEL_PRIVATE_H__ -#define __GDK_TOPLEVEL_PRIVATE_H__ +#pragma once #include "gdktoplevel.h" #include "gdktoplevelsizeprivate.h" @@ -87,4 +86,3 @@ void gdk_toplevel_unexport_handle (GdkToplevel *toplevel); G_END_DECLS -#endif /* __GDK_TOPLEVEL_PRIVATE_H__ */ diff --git a/gdk/gdktoplevelsize.h b/gdk/gdktoplevelsize.h index 882bd8ba43..536b1a34eb 100644 --- a/gdk/gdktoplevelsize.h +++ b/gdk/gdktoplevelsize.h @@ -16,8 +16,7 @@ * */ -#ifndef __GDK_TOPLEVEL_SIZE_H__ -#define __GDK_TOPLEVEL_SIZE_H__ +#pragma once #if !defined(__GDK_H_INSIDE__) && !defined(GTK_COMPILATION) #error "Only can be included directly." @@ -58,4 +57,3 @@ void gdk_toplevel_size_set_shadow_width (GdkToplevelSize * G_END_DECLS -#endif /* __GDK_TOPLEVEL_SIZE_H__ */ diff --git a/gdk/gdktoplevelsizeprivate.h b/gdk/gdktoplevelsizeprivate.h index bba34cc7d7..70f817ab57 100644 --- a/gdk/gdktoplevelsizeprivate.h +++ b/gdk/gdktoplevelsizeprivate.h @@ -16,8 +16,7 @@ * */ -#ifndef __GDK_TOPLEVEL_SIZE_PRIVATE_H__ -#define __GDK_TOPLEVEL_SIZE_PRIVATE_H__ +#pragma once #include "gdktoplevelsize.h" @@ -46,4 +45,3 @@ void gdk_toplevel_size_init (GdkToplevelSize *size, void gdk_toplevel_size_validate (GdkToplevelSize *size); -#endif /* __GDK_TOPLEVEL_SIZE_PRIVATE_H__ */ diff --git a/gdk/gdktypes.h b/gdk/gdktypes.h index fc3b16e3c7..69136f7ab0 100644 --- a/gdk/gdktypes.h +++ b/gdk/gdktypes.h @@ -22,8 +22,7 @@ * GTK+ at ftp://ftp.gtk.org/pub/gtk/. */ -#ifndef __GDK_TYPES_H__ -#define __GDK_TYPES_H__ +#pragma once #if !defined (__GDK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -162,4 +161,3 @@ struct _GdkKeymapKey G_END_DECLS -#endif /* __GDK_TYPES_H__ */ diff --git a/gdk/gdkvulkancontext.h b/gdk/gdkvulkancontext.h index 8f2214f3c3..d6531a414a 100644 --- a/gdk/gdkvulkancontext.h +++ b/gdk/gdkvulkancontext.h @@ -18,8 +18,7 @@ * License along with this library. If not, see . */ -#ifndef __GDK_VULKAN_CONTEXT__ -#define __GDK_VULKAN_CONTEXT__ +#pragma once #if !defined (__GDK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -81,4 +80,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GdkVulkanContext, g_object_unref) G_END_DECLS -#endif /* __GDK_VULKAN_CONTEXT__ */ diff --git a/gdk/gdkvulkancontextprivate.h b/gdk/gdkvulkancontextprivate.h index 2088edc27e..7a59485675 100644 --- a/gdk/gdkvulkancontextprivate.h +++ b/gdk/gdkvulkancontextprivate.h @@ -18,8 +18,7 @@ * License along with this library. If not, see . */ -#ifndef __GDK_VULKAN_CONTEXT_PRIVATE__ -#define __GDK_VULKAN_CONTEXT_PRIVATE__ +#pragma once #include "gdkvulkancontext.h" @@ -92,4 +91,3 @@ gdk_display_ref_vulkan (GdkDisplay *display, G_END_DECLS -#endif /* __GDK__VULKAN_CONTEXT_PRIVATE__ */ diff --git a/gdk/loaders/gdkjpegprivate.h b/gdk/loaders/gdkjpegprivate.h index 28e7b90f28..1513173d5b 100644 --- a/gdk/loaders/gdkjpegprivate.h +++ b/gdk/loaders/gdkjpegprivate.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef __GDK_JPEG_PRIVATE_H__ -#define __GDK_JPEG_PRIVATE_H__ +#pragma once #include "gdkmemorytexture.h" #include @@ -40,4 +39,3 @@ gdk_is_jpeg (GBytes *bytes) memcmp (data, JPEG_SIGNATURE, strlen (JPEG_SIGNATURE)) == 0; } -#endif diff --git a/gdk/loaders/gdkpngprivate.h b/gdk/loaders/gdkpngprivate.h index cbe073b315..45d58b7425 100644 --- a/gdk/loaders/gdkpngprivate.h +++ b/gdk/loaders/gdkpngprivate.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef __GDK_PNG_PRIVATE_H__ -#define __GDK_PNG_PRIVATE_H__ +#pragma once #include "gdktexture.h" #include @@ -40,4 +39,3 @@ gdk_is_png (GBytes *bytes) memcmp (data, PNG_SIGNATURE, strlen (PNG_SIGNATURE)) == 0; } -#endif diff --git a/gdk/loaders/gdktiffprivate.h b/gdk/loaders/gdktiffprivate.h index 839e8855f0..a085e4a270 100644 --- a/gdk/loaders/gdktiffprivate.h +++ b/gdk/loaders/gdktiffprivate.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef __GDK_TIFF_PRIVATE_H__ -#define __GDK_TIFF_PRIVATE_H__ +#pragma once #include "gdktexture.h" #include @@ -43,4 +42,3 @@ gdk_is_tiff (GBytes *bytes) memcmp (data, TIFF_SIGNATURE2, strlen (TIFF_SIGNATURE2)) == 0); } -#endif diff --git a/gdk/macos/edgesnapping.h b/gdk/macos/edgesnapping.h index b7ffd8a176..be30f75b44 100644 --- a/gdk/macos/edgesnapping.h +++ b/gdk/macos/edgesnapping.h @@ -18,8 +18,7 @@ * SPDX-License-Identifier: LGPL-2.1-or-later */ -#ifndef __EDGE_SNAPPING_H__ -#define __EDGE_SNAPPING_H__ +#pragma once #include "gdktypes.h" #include "gdkmacosutils-private.h" @@ -48,4 +47,3 @@ void _edge_snapping_set_monitor (EdgeSnapping *self, G_END_DECLS -#endif /* __EDGE_SNAPPING_H__ */ diff --git a/gdk/macos/gdkdisplaylinksource.h b/gdk/macos/gdkdisplaylinksource.h index 6f465907a2..f83b27d79d 100644 --- a/gdk/macos/gdkdisplaylinksource.h +++ b/gdk/macos/gdkdisplaylinksource.h @@ -19,8 +19,7 @@ * Christian Hergert */ -#ifndef GDK_DISPLAY_LINK_SOURCE_H -#define GDK_DISPLAY_LINK_SOURCE_H +#pragma once #include @@ -49,4 +48,3 @@ void gdk_display_link_source_unpause (GdkDisplayLinkSource *source); G_END_DECLS -#endif /* GDK_DISPLAY_LINK_SOURCE_H */ diff --git a/gdk/macos/gdkmacos.h b/gdk/macos/gdkmacos.h index 7d7d348752..bee9aa9812 100644 --- a/gdk/macos/gdkmacos.h +++ b/gdk/macos/gdkmacos.h @@ -17,8 +17,7 @@ * SPDX-License-Identifier: LGPL-2.1-or-later */ -#ifndef __GDK_MACOS_H__ -#define __GDK_MACOS_H__ +#pragma once #include @@ -29,4 +28,3 @@ #include "gdkmacosmonitor.h" #include "gdkmacossurface.h" -#endif /* __GDK_MACOS_H__ */ diff --git a/gdk/macos/gdkmacosbuffer-private.h b/gdk/macos/gdkmacosbuffer-private.h index 4b446a7212..6adf74c359 100644 --- a/gdk/macos/gdkmacosbuffer-private.h +++ b/gdk/macos/gdkmacosbuffer-private.h @@ -17,8 +17,7 @@ * SPDX-License-Identifier: LGPL-2.1-or-later */ -#ifndef __GDK_MACOS_BUFFER_PRIVATE_H__ -#define __GDK_MACOS_BUFFER_PRIVATE_H__ +#pragma once #include #include @@ -57,4 +56,3 @@ void _gdk_macos_buffer_set_flipped (GdkMacosBuffer *self, G_END_DECLS -#endif /* __GDK_MACOS_BUFFER_PRIVATE_H__ */ diff --git a/gdk/macos/gdkmacoscairocontext-private.h b/gdk/macos/gdkmacoscairocontext-private.h index 1afede8591..0d9d2a1a4e 100644 --- a/gdk/macos/gdkmacoscairocontext-private.h +++ b/gdk/macos/gdkmacoscairocontext-private.h @@ -17,8 +17,7 @@ * SPDX-License-Identifier: LGPL-2.1-or-later */ -#ifndef __GDK_MACOS_CAIRO_CONTEXT_PRIVATE_H__ -#define __GDK_MACOS_CAIRO_CONTEXT_PRIVATE_H__ +#pragma once #include "gdkcairocontextprivate.h" @@ -35,4 +34,3 @@ GType _gdk_macos_cairo_context_get_type (void) G_GNUC_CONST; G_END_DECLS -#endif /* __GDK_MACOS_CAIRO_CONTEXT_PRIVATE_H__ */ diff --git a/gdk/macos/gdkmacosclipboard-private.h b/gdk/macos/gdkmacosclipboard-private.h index ef70ee3e33..5679b13a36 100644 --- a/gdk/macos/gdkmacosclipboard-private.h +++ b/gdk/macos/gdkmacosclipboard-private.h @@ -17,8 +17,7 @@ * SPDX-License-Identifier: LGPL-2.1-or-later */ -#ifndef __GDK_MACOS_CLIPBOARD_PRIVATE_H__ -#define __GDK_MACOS_CLIPBOARD_PRIVATE_H__ +#pragma once #include @@ -45,4 +44,3 @@ void _gdk_macos_clipboard_register_drag_types (NSWindow G_END_DECLS -#endif /* __GDK_MACOS_CLIPBOARD_PRIVATE_H__ */ diff --git a/gdk/macos/gdkmacoscursor-private.h b/gdk/macos/gdkmacoscursor-private.h index b3e5bac70d..3b6e25b74b 100644 --- a/gdk/macos/gdkmacoscursor-private.h +++ b/gdk/macos/gdkmacoscursor-private.h @@ -17,8 +17,7 @@ * License along with this library. If not, see . */ -#ifndef __GDK_MACOS_CURSOR_PRIVATE_H__ -#define __GDK_MACOS_CURSOR_PRIVATE_H__ +#pragma once #include #include @@ -29,4 +28,3 @@ NSCursor *_gdk_macos_cursor_get_ns_cursor (GdkCursor *cursor); G_END_DECLS -#endif /* __GDK_MACOS_CURSOR_PRIVATE_H__ */ diff --git a/gdk/macos/gdkmacosdevice-private.h b/gdk/macos/gdkmacosdevice-private.h index 6daafa8135..683fac46e0 100644 --- a/gdk/macos/gdkmacosdevice-private.h +++ b/gdk/macos/gdkmacosdevice-private.h @@ -17,8 +17,7 @@ * SPDX-License-Identifier: LGPL-2.1-or-later */ -#ifndef __GDK_MACOS_DEVICE_PRIVATE_H__ -#define __GDK_MACOS_DEVICE_PRIVATE_H__ +#pragma once #include "gdkdeviceprivate.h" @@ -33,4 +32,3 @@ void gdk_macos_device_query_state (GdkDevice *device, G_END_DECLS -#endif /* __GDK_MACOS_DEVICE_PRIVATE_H__ */ diff --git a/gdk/macos/gdkmacosdevice.h b/gdk/macos/gdkmacosdevice.h index c81fde5d1a..e9181d5166 100644 --- a/gdk/macos/gdkmacosdevice.h +++ b/gdk/macos/gdkmacosdevice.h @@ -17,8 +17,7 @@ * SPDX-License-Identifier: LGPL-2.1-or-later */ -#ifndef __GDK_MACOS_DEVICE_H__ -#define __GDK_MACOS_DEVICE_H__ +#pragma once #if !defined (__GDKMACOS_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -40,4 +39,3 @@ GType gdk_macos_device_get_type (void); G_END_DECLS -#endif /* __GDK_MACOS_DEVICE_H__ */ diff --git a/gdk/macos/gdkmacosdisplay-private.h b/gdk/macos/gdkmacosdisplay-private.h index 9fc910ec2e..95f61bbe17 100644 --- a/gdk/macos/gdkmacosdisplay-private.h +++ b/gdk/macos/gdkmacosdisplay-private.h @@ -17,8 +17,7 @@ * SPDX-License-Identifier: LGPL-2.1-or-later */ -#ifndef __GDK_MACOS_DISPLAY_PRIVATE_H__ -#define __GDK_MACOS_DISPLAY_PRIVATE_H__ +#pragma once #include @@ -179,4 +178,3 @@ void _gdk_macos_display_position_surface (GdkMacosDisp G_END_DECLS -#endif /* __GDK_MACOS_DISPLAY_PRIVATE_H__ */ diff --git a/gdk/macos/gdkmacosdisplay.h b/gdk/macos/gdkmacosdisplay.h index 7c5730d0c7..2844c588bd 100644 --- a/gdk/macos/gdkmacosdisplay.h +++ b/gdk/macos/gdkmacosdisplay.h @@ -17,8 +17,7 @@ * SPDX-License-Identifier: LGPL-2.1-or-later */ -#ifndef __GDK_MACOS_DISPLAY_H__ -#define __GDK_MACOS_DISPLAY_H__ +#pragma once #if !defined (__GDKMACOS_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -44,4 +43,3 @@ GType gdk_macos_display_get_type (void); G_END_DECLS -#endif /* __GDK_MACOS_DISPLAY_H__ */ diff --git a/gdk/macos/gdkmacosdrag-private.h b/gdk/macos/gdkmacosdrag-private.h index bdcbbbe23d..560aee7394 100644 --- a/gdk/macos/gdkmacosdrag-private.h +++ b/gdk/macos/gdkmacosdrag-private.h @@ -17,8 +17,7 @@ * SPDX-License-Identifier: LGPL-2.1-or-later */ -#ifndef __GDK_MACOS_DRAG_PRIVATE_H__ -#define __GDK_MACOS_DRAG_PRIVATE_H__ +#pragma once #include "gdkdragprivate.h" @@ -80,4 +79,3 @@ void _gdk_macos_drag_set_actions (GdkMacosDrag *self, G_END_DECLS -#endif /* __GDK_MACOS_DRAG_PRIVATE_H__ */ diff --git a/gdk/macos/gdkmacosdragsurface-private.h b/gdk/macos/gdkmacosdragsurface-private.h index bc84e3d30f..bb9bea97e1 100644 --- a/gdk/macos/gdkmacosdragsurface-private.h +++ b/gdk/macos/gdkmacosdragsurface-private.h @@ -17,8 +17,7 @@ * SPDX-License-Identifier: LGPL-2.1-or-later */ -#ifndef __GDK_MACOS_DRAG_SURFACE_PRIVATE_H__ -#define __GDK_MACOS_DRAG_SURFACE_PRIVATE_H__ +#pragma once #include "gdkmacossurface-private.h" @@ -41,4 +40,3 @@ GdkMacosSurface *_gdk_macos_drag_surface_new (GdkMacosDisplay *display, G_END_DECLS -#endif /* __GDK_MACOS_DRAG_SURFACE_PRIVATE_H__ */ diff --git a/gdk/macos/gdkmacosdrop-private.h b/gdk/macos/gdkmacosdrop-private.h index 8472e87c23..3102b62d38 100644 --- a/gdk/macos/gdkmacosdrop-private.h +++ b/gdk/macos/gdkmacosdrop-private.h @@ -17,8 +17,7 @@ * SPDX-License-Identifier: LGPL-2.1-or-later */ -#ifndef __GDK_MACOS_DROP_PRIVATE_H__ -#define __GDK_MACOS_DROP_PRIVATE_H__ +#pragma once #include @@ -63,4 +62,3 @@ void _gdk_macos_drop_update_actions (GdkMacosDrop *self, G_END_DECLS -#endif /* __GDK_MACOS_DROP_PRIVATE_H__ */ diff --git a/gdk/macos/gdkmacoseventsource-private.h b/gdk/macos/gdkmacoseventsource-private.h index 09853a18ac..5224068875 100644 --- a/gdk/macos/gdkmacoseventsource-private.h +++ b/gdk/macos/gdkmacoseventsource-private.h @@ -17,8 +17,7 @@ * SPDX-License-Identifier: LGPL-2.1-or-later */ -#ifndef __GDK_MACOS_EVENT_SOURCE_PRIVATE_H__ -#define __GDK_MACOS_EVENT_SOURCE_PRIVATE_H__ +#pragma once #include @@ -37,4 +36,3 @@ gboolean _gdk_macos_event_source_check_pending (void); G_END_DECLS -#endif /* __GDK_MACOS_EVENT_SOURCE_PRIVATE_H__ */ diff --git a/gdk/macos/gdkmacosglcontext-private.h b/gdk/macos/gdkmacosglcontext-private.h index 7355ffef90..4e83e5cb0e 100644 --- a/gdk/macos/gdkmacosglcontext-private.h +++ b/gdk/macos/gdkmacosglcontext-private.h @@ -16,8 +16,7 @@ * License along with this library. If not, see . */ -#ifndef __GDK_MACOS_GL_CONTEXT_PRIVATE_H__ -#define __GDK_MACOS_GL_CONTEXT_PRIVATE_H__ +#pragma once #include "gdkmacosglcontext.h" @@ -56,4 +55,3 @@ struct _GdkMacosGLContextClass G_END_DECLS -#endif /* __GDK_MACOS_GL_CONTEXT_PRIVATE_H__ */ diff --git a/gdk/macos/gdkmacosglcontext.h b/gdk/macos/gdkmacosglcontext.h index e4add89502..5a2c5994ff 100644 --- a/gdk/macos/gdkmacosglcontext.h +++ b/gdk/macos/gdkmacosglcontext.h @@ -17,8 +17,7 @@ * SPDX-License-Identifier: LGPL-2.1-or-later */ -#ifndef __GDK_MACOS_GL_CONTEXT_H__ -#define __GDK_MACOS_GL_CONTEXT_H__ +#pragma once #if !defined (__GDKMACOS_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -40,4 +39,3 @@ GType gdk_macos_gl_context_get_type (void) G_GNUC_CONST; G_END_DECLS -#endif /* __GDK_MACOS_GL_CONTEXT_H__ */ diff --git a/gdk/macos/gdkmacoskeymap-private.h b/gdk/macos/gdkmacoskeymap-private.h index ac0f2dd691..8f13882b6c 100644 --- a/gdk/macos/gdkmacoskeymap-private.h +++ b/gdk/macos/gdkmacoskeymap-private.h @@ -17,8 +17,7 @@ * SPDX-License-Identifier: LGPL-2.1-or-later */ -#ifndef __GDK_MACOS_KEYMAP_PRIVATE_H__ -#define __GDK_MACOS_KEYMAP_PRIVATE_H__ +#pragma once #include @@ -34,4 +33,3 @@ gunichar _gdk_macos_keymap_get_equivalent (guint key); G_END_DECLS -#endif /* __GDK_MACOS_KEYMAP_PRIVATE_H__ */ diff --git a/gdk/macos/gdkmacoskeymap.h b/gdk/macos/gdkmacoskeymap.h index 6a8a7e288f..6530d52e9b 100644 --- a/gdk/macos/gdkmacoskeymap.h +++ b/gdk/macos/gdkmacoskeymap.h @@ -17,8 +17,7 @@ * SPDX-License-Identifier: LGPL-2.1-or-later */ -#ifndef __GDK_MACOS_KEYMAP_H__ -#define __GDK_MACOS_KEYMAP_H__ +#pragma once #if !defined (__GDKMACOS_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -40,4 +39,3 @@ GType gdk_macos_keymap_get_type (void); G_END_DECLS -#endif /* __GDK_MACOS_KEYMAP_H__ */ diff --git a/gdk/macos/gdkmacosmonitor-private.h b/gdk/macos/gdkmacosmonitor-private.h index 1a4e197f76..a1a62cbb3d 100644 --- a/gdk/macos/gdkmacosmonitor-private.h +++ b/gdk/macos/gdkmacosmonitor-private.h @@ -17,8 +17,7 @@ * SPDX-License-Identifier: LGPL-2.1-or-later */ -#ifndef __GDK_MACOS_MONITOR_PRIVATE_H__ -#define __GDK_MACOS_MONITOR_PRIVATE_H__ +#pragma once #include @@ -46,4 +45,3 @@ void _gdk_macos_monitor_clamp (GdkMacosMonitor * G_END_DECLS -#endif /* __GDK_MACOS_MONITOR_PRIVATE_H__ */ diff --git a/gdk/macos/gdkmacosmonitor.h b/gdk/macos/gdkmacosmonitor.h index b25ed9ae8b..c333520a77 100644 --- a/gdk/macos/gdkmacosmonitor.h +++ b/gdk/macos/gdkmacosmonitor.h @@ -17,8 +17,7 @@ * SPDX-License-Identifier: LGPL-2.1-or-later */ -#ifndef __GDK_MACOS_MONITOR_H__ -#define __GDK_MACOS_MONITOR_H__ +#pragma once #if !defined (__GDKMACOS_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -46,4 +45,3 @@ void gdk_macos_monitor_get_workarea (GdkMonitor *self, G_END_DECLS -#endif /* __GDK_MACOS_MONITOR_H__ */ diff --git a/gdk/macos/gdkmacospasteboard-private.h b/gdk/macos/gdkmacospasteboard-private.h index fdeb936535..cac18a8fde 100644 --- a/gdk/macos/gdkmacospasteboard-private.h +++ b/gdk/macos/gdkmacospasteboard-private.h @@ -17,8 +17,7 @@ * SPDX-License-Identifier: LGPL-2.1-or-later */ -#ifndef __GDK_MACOS_PASTEBOARD_PRIVATE_H__ -#define __GDK_MACOS_PASTEBOARD_PRIVATE_H__ +#pragma once #include #include @@ -71,4 +70,3 @@ GInputStream *_gdk_macos_pasteboard_read_finish (GObject G_END_DECLS -#endif /* __GDK_MACOS_PASTEBOARD_PRIVATE_H__ */ diff --git a/gdk/macos/gdkmacospopupsurface-private.h b/gdk/macos/gdkmacospopupsurface-private.h index 8c63d4f6a0..dfa6a77318 100644 --- a/gdk/macos/gdkmacospopupsurface-private.h +++ b/gdk/macos/gdkmacospopupsurface-private.h @@ -17,8 +17,7 @@ * SPDX-License-Identifier: LGPL-2.1-or-later */ -#ifndef __GDK_MACOS_POPUP_SURFACE_PRIVATE_H__ -#define __GDK_MACOS_POPUP_SURFACE_PRIVATE_H__ +#pragma once #include "gdkmacossurface-private.h" @@ -45,4 +44,3 @@ void _gdk_macos_popup_surface_reposition (GdkMacosPopupSurfa G_END_DECLS -#endif /* __GDK_MACOS_POPUP_SURFACE_PRIVATE_H__ */ diff --git a/gdk/macos/gdkmacosseat-private.h b/gdk/macos/gdkmacosseat-private.h index 889051e74a..fba0220044 100644 --- a/gdk/macos/gdkmacosseat-private.h +++ b/gdk/macos/gdkmacosseat-private.h @@ -17,8 +17,7 @@ * SPDX-License-Identifier: LGPL-2.1-or-later */ -#ifndef __GDK_MACOS_SEAT_PRIVATE_H__ -#define __GDK_MACOS_SEAT_PRIVATE_H__ +#pragma once #include @@ -43,4 +42,3 @@ double *_gdk_macos_seat_get_tablet_axes_from_nsevent (GdkMacosSeat *seat, G_END_DECLS -#endif /* __GDK_MACOS_SEAT_PRIVATE_H__ */ diff --git a/gdk/macos/gdkmacossurface-private.h b/gdk/macos/gdkmacossurface-private.h index 5f1f551f93..fdd08f4249 100644 --- a/gdk/macos/gdkmacossurface-private.h +++ b/gdk/macos/gdkmacossurface-private.h @@ -17,8 +17,7 @@ * SPDX-License-Identifier: LGPL-2.1-or-later */ -#ifndef __GDK_MACOS_SURFACE_PRIVATE_H__ -#define __GDK_MACOS_SURFACE_PRIVATE_H__ +#pragma once #include #include @@ -152,4 +151,3 @@ void _gdk_macos_surface_swap_buffers (GdkMacosSurface G_END_DECLS -#endif /* __GDK_MACOS_SURFACE_PRIVATE_H__ */ diff --git a/gdk/macos/gdkmacossurface.h b/gdk/macos/gdkmacossurface.h index 64ea4c733d..654dff3355 100644 --- a/gdk/macos/gdkmacossurface.h +++ b/gdk/macos/gdkmacossurface.h @@ -17,8 +17,7 @@ * SPDX-License-Identifier: LGPL-2.1-or-later */ -#ifndef __GDK_MACOS_SURFACE_H__ -#define __GDK_MACOS_SURFACE_H__ +#pragma once #if !defined (__GDKMACOS_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -42,4 +41,3 @@ gpointer gdk_macos_surface_get_native_window (GdkMacosSurface *self); G_END_DECLS -#endif /* __GDK_MACOS_SURFACE_H__ */ diff --git a/gdk/macos/gdkmacostoplevelsurface-private.h b/gdk/macos/gdkmacostoplevelsurface-private.h index 1404aa14fe..2742cf06ca 100644 --- a/gdk/macos/gdkmacostoplevelsurface-private.h +++ b/gdk/macos/gdkmacostoplevelsurface-private.h @@ -17,8 +17,7 @@ * SPDX-License-Identifier: LGPL-2.1-or-later */ -#ifndef __GDK_MACOS_TOPLEVEL_SURFACE_PRIVATE_H__ -#define __GDK_MACOS_TOPLEVEL_SURFACE_PRIVATE_H__ +#pragma once #include "gdkmacossurface-private.h" @@ -58,4 +57,3 @@ void _gdk_macos_toplevel_surface_detach_from_parent (GdkMacosTopleve G_END_DECLS -#endif /* __GDK_MACOS_TOPLEVEL_SURFACE_PRIVATE_H__ */ diff --git a/gdk/macos/gdkmacosutils-private.h b/gdk/macos/gdkmacosutils-private.h index dd8d3b296a..e81000d542 100644 --- a/gdk/macos/gdkmacosutils-private.h +++ b/gdk/macos/gdkmacosutils-private.h @@ -17,8 +17,7 @@ * SPDX-License-Identifier: LGPL-2.1-or-later */ -#ifndef __GDK_MACOS_UTILS_PRIVATE_H__ -#define __GDK_MACOS_UTILS_PRIVATE_H__ +#pragma once #include #include @@ -72,4 +71,3 @@ convert_nspoint_to_screen (NSWindow *window, #endif } -#endif /* __GDK_MACOS_UTILS_PRIVATE_H__ */ diff --git a/gdk/wayland/cursor/os-compatibility.h b/gdk/wayland/cursor/os-compatibility.h index d0e69acd93..24032f62e9 100644 --- a/gdk/wayland/cursor/os-compatibility.h +++ b/gdk/wayland/cursor/os-compatibility.h @@ -23,12 +23,10 @@ * SOFTWARE. */ -#ifndef OS_COMPATIBILITY_H -#define OS_COMPATIBILITY_H +#pragma once #include int os_create_anonymous_file(off_t size); -#endif /* OS_COMPATIBILITY_H */ diff --git a/gdk/wayland/cursor/wayland-cursor.h b/gdk/wayland/cursor/wayland-cursor.h index 6a26fa785e..72c7006c4b 100644 --- a/gdk/wayland/cursor/wayland-cursor.h +++ b/gdk/wayland/cursor/wayland-cursor.h @@ -23,8 +23,7 @@ * SOFTWARE. */ -#ifndef WAYLAND_CURSOR_H -#define WAYLAND_CURSOR_H +#pragma once #include @@ -69,4 +68,3 @@ wl_cursor_image_get_buffer(struct wl_cursor_image *image); } #endif -#endif diff --git a/gdk/wayland/cursor/xcursor.h b/gdk/wayland/cursor/xcursor.h index 34feb0cf36..c5202257fd 100644 --- a/gdk/wayland/cursor/xcursor.h +++ b/gdk/wayland/cursor/xcursor.h @@ -23,8 +23,7 @@ * SOFTWARE. */ -#ifndef XCURSOR_H -#define XCURSOR_H +#pragma once typedef int XcursorBool; typedef unsigned int XcursorUInt; @@ -58,4 +57,3 @@ xcursor_images_destroy (XcursorImages *images); XcursorImages * xcursor_load_images (const char *path, int size); -#endif diff --git a/gdk/wayland/gdkcairocontext-wayland.h b/gdk/wayland/gdkcairocontext-wayland.h index 1cad7a6547..1cbffb501f 100644 --- a/gdk/wayland/gdkcairocontext-wayland.h +++ b/gdk/wayland/gdkcairocontext-wayland.h @@ -16,8 +16,7 @@ * License along with this library. If not, see . */ -#ifndef __GDK_WAYLAND_CAIRO_CONTEXT__ -#define __GDK_WAYLAND_CAIRO_CONTEXT__ +#pragma once #include "gdkconfig.h" @@ -54,4 +53,3 @@ GType gdk_wayland_cairo_context_get_type (void) G_GNUC_CONST; G_END_DECLS -#endif /* __GDK_WAYLAND_CAIRO_CONTEXT__ */ diff --git a/gdk/wayland/gdkclipboard-wayland.h b/gdk/wayland/gdkclipboard-wayland.h index 5e5eba8a65..62e78c7893 100644 --- a/gdk/wayland/gdkclipboard-wayland.h +++ b/gdk/wayland/gdkclipboard-wayland.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef __GDK_CLIPBOARD_WAYLAND_H__ -#define __GDK_CLIPBOARD_WAYLAND_H__ +#pragma once #include "gdk/gdkclipboard.h" @@ -40,4 +39,3 @@ void gdk_wayland_clipboard_claim_remote (GdkWaylandC G_END_DECLS -#endif /* __GDK_CLIPBOARD_WAYLAND_H__ */ diff --git a/gdk/wayland/gdkdevice-wayland-private.h b/gdk/wayland/gdkdevice-wayland-private.h index 233270b4a3..d0dd4433a1 100644 --- a/gdk/wayland/gdkdevice-wayland-private.h +++ b/gdk/wayland/gdkdevice-wayland-private.h @@ -1,5 +1,4 @@ -#ifndef __GDK_DEVICE_WAYLAND_PRIVATE_H__ -#define __GDK_DEVICE_WAYLAND_PRIVATE_H__ +#pragma once #include "gdkwaylanddevice.h" #include "gdkwaylandseat.h" @@ -264,4 +263,3 @@ gboolean gdk_wayland_device_update_surface_cursor (GdkDevice *device); GdkModifierType gdk_wayland_device_get_modifiers (GdkDevice *device); -#endif diff --git a/gdk/wayland/gdkdisplay-wayland.h b/gdk/wayland/gdkdisplay-wayland.h index 213680361b..56e9e469b8 100644 --- a/gdk/wayland/gdkdisplay-wayland.h +++ b/gdk/wayland/gdkdisplay-wayland.h @@ -19,8 +19,7 @@ * License along with this library. If not, see . */ -#ifndef __GDK_WAYLAND_DISPLAY__ -#define __GDK_WAYLAND_DISPLAY__ +#pragma once #include "config.h" @@ -163,4 +162,3 @@ void gdk_wayland_display_dispatch_queue (GdkDisplay *display, G_END_DECLS -#endif /* __GDK_WAYLAND_DISPLAY__ */ diff --git a/gdk/wayland/gdkglcontext-wayland.h b/gdk/wayland/gdkglcontext-wayland.h index c35e1e6700..0c70afd4d2 100644 --- a/gdk/wayland/gdkglcontext-wayland.h +++ b/gdk/wayland/gdkglcontext-wayland.h @@ -19,8 +19,7 @@ * License along with this library. If not, see . */ -#ifndef __GDK_WAYLAND_GL_CONTEXT__ -#define __GDK_WAYLAND_GL_CONTEXT__ +#pragma once #include "gdkglcontextprivate.h" #include "gdkdisplayprivate.h" @@ -45,4 +44,3 @@ GdkGLContext * gdk_wayland_display_init_gl (GdkDisplay G_END_DECLS -#endif /* __GDK_WAYLAND_GL_CONTEXT__ */ diff --git a/gdk/wayland/gdkmonitor-wayland.h b/gdk/wayland/gdkmonitor-wayland.h index 4397075407..a9658cd8cc 100644 --- a/gdk/wayland/gdkmonitor-wayland.h +++ b/gdk/wayland/gdkmonitor-wayland.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef __GDK_WAYLAND_MONITOR_PRIVATE_H__ -#define __GDK_WAYLAND_MONITOR_PRIVATE_H__ +#pragma once #include #include "gdkwaylandmonitor.h" @@ -47,4 +46,3 @@ struct _GdkWaylandMonitorClass { GdkMonitorClass parent_class; }; -#endif diff --git a/gdk/wayland/gdkprimary-wayland.h b/gdk/wayland/gdkprimary-wayland.h index bce4dccc7b..26467bc9b2 100644 --- a/gdk/wayland/gdkprimary-wayland.h +++ b/gdk/wayland/gdkprimary-wayland.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef __GDK_PRIMARY_WAYLAND_H__ -#define __GDK_PRIMARY_WAYLAND_H__ +#pragma once #include "gdk/gdkclipboard.h" @@ -37,4 +36,3 @@ GdkClipboard * gdk_wayland_primary_new (GdkWaylandSeat G_END_DECLS -#endif /* __GDK_PRIMARY_WAYLAND_H__ */ diff --git a/gdk/wayland/gdkprivate-wayland.h b/gdk/wayland/gdkprivate-wayland.h index e010066a04..e755689887 100644 --- a/gdk/wayland/gdkprivate-wayland.h +++ b/gdk/wayland/gdkprivate-wayland.h @@ -26,8 +26,7 @@ * Private uninstalled header defining things local to the Wayland backend */ -#ifndef __GDK_PRIVATE_WAYLAND_H__ -#define __GDK_PRIVATE_WAYLAND_H__ +#pragma once #include "config.h" @@ -194,4 +193,3 @@ void gdk_wayland_surface_update_scale (GdkSurface *surface); GdkModifierType gdk_wayland_keymap_get_gdk_modifiers (GdkKeymap *keymap, guint32 mods); -#endif /* __GDK_PRIVATE_WAYLAND_H__ */ diff --git a/gdk/wayland/gdkseat-wayland.h b/gdk/wayland/gdkseat-wayland.h index 5780f2003b..acb1c2487a 100644 --- a/gdk/wayland/gdkseat-wayland.h +++ b/gdk/wayland/gdkseat-wayland.h @@ -17,8 +17,7 @@ * Author: Carlos Garnacho */ -#ifndef __GDK_WAYLAND_SEAT_H__ -#define __GDK_WAYLAND_SEAT_H__ +#pragma once #include "config.h" @@ -39,4 +38,3 @@ void gdk_wayland_seat_update_cursor_scale (GdkWaylandSeat *seat); void gdk_wayland_seat_clear_touchpoints (GdkWaylandSeat *seat, GdkSurface *surface); -#endif /* __GDK_WAYLAND_SEAT_H__ */ diff --git a/gdk/wayland/gdkvulkancontext-wayland.h b/gdk/wayland/gdkvulkancontext-wayland.h index dbcd5a81b0..f16ff2f76a 100644 --- a/gdk/wayland/gdkvulkancontext-wayland.h +++ b/gdk/wayland/gdkvulkancontext-wayland.h @@ -18,8 +18,7 @@ * along with this program. If not, see . */ -#ifndef __GDK_WAYLAND_VULKAN_CONTEXT__ -#define __GDK_WAYLAND_VULKAN_CONTEXT__ +#pragma once #include "gdkconfig.h" @@ -58,4 +57,3 @@ G_END_DECLS #endif /* !GDK_RENDERING_VULKAN */ -#endif /* __GDK_WAYLAND_VULKAN_CONTEXT__ */ diff --git a/gdk/wayland/gdkwayland.h b/gdk/wayland/gdkwayland.h index e48d6946e5..846445910e 100644 --- a/gdk/wayland/gdkwayland.h +++ b/gdk/wayland/gdkwayland.h @@ -22,8 +22,7 @@ * GTK+ at ftp://ftp.gtk.org/pub/gtk/. */ -#ifndef __GDK_WAYLAND_H__ -#define __GDK_WAYLAND_H__ +#pragma once #include @@ -40,4 +39,3 @@ #undef __GDKWAYLAND_H_INSIDE__ -#endif /* __GDK_WAYLAND_H__ */ diff --git a/gdk/wayland/gdkwaylanddevice.h b/gdk/wayland/gdkwaylanddevice.h index 1a3c119c64..b1abdc5f6e 100644 --- a/gdk/wayland/gdkwaylanddevice.h +++ b/gdk/wayland/gdkwaylanddevice.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef __GDK_WAYLAND_DEVICE_H__ -#define __GDK_WAYLAND_DEVICE_H__ +#pragma once #if !defined (__GDKWAYLAND_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -60,4 +59,3 @@ const char *gdk_wayland_device_get_node_path (GdkDevice *device); G_END_DECLS -#endif /* __GDK_WAYLAND_DEVICE_H__ */ diff --git a/gdk/wayland/gdkwaylanddisplay.h b/gdk/wayland/gdkwaylanddisplay.h index a1baf9ac41..5e5d2945dc 100644 --- a/gdk/wayland/gdkwaylanddisplay.h +++ b/gdk/wayland/gdkwaylanddisplay.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef __GDK_WAYLAND_DISPLAY_H__ -#define __GDK_WAYLAND_DISPLAY_H__ +#pragma once #if !defined (__GDKWAYLAND_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -68,4 +67,3 @@ gpointer gdk_wayland_display_get_egl_display (GdkDisplay *di G_END_DECLS -#endif /* __GDK_WAYLAND_DISPLAY_H__ */ diff --git a/gdk/wayland/gdkwaylandglcontext.h b/gdk/wayland/gdkwaylandglcontext.h index 34a1e4c2a4..7b16731be7 100644 --- a/gdk/wayland/gdkwaylandglcontext.h +++ b/gdk/wayland/gdkwaylandglcontext.h @@ -19,8 +19,7 @@ * License along with this library. If not, see . */ -#ifndef __GDK_WAYLAND_GL_CONTEXT_H__ -#define __GDK_WAYLAND_GL_CONTEXT_H__ +#pragma once #if !defined (__GDKWAYLAND_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -42,4 +41,3 @@ GType gdk_wayland_gl_context_get_type (void) G_GNUC_CONST; G_END_DECLS -#endif /* __GDK_WAYLAND_GL_CONTEXT_H__ */ diff --git a/gdk/wayland/gdkwaylandmonitor.h b/gdk/wayland/gdkwaylandmonitor.h index f856a1108d..e05719be2d 100644 --- a/gdk/wayland/gdkwaylandmonitor.h +++ b/gdk/wayland/gdkwaylandmonitor.h @@ -19,8 +19,7 @@ * License along with this library. If not, see . */ -#ifndef __GDK_WAYLAND_MONITOR_H__ -#define __GDK_WAYLAND_MONITOR_H__ +#pragma once #if !defined (__GDKWAYLAND_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -45,4 +44,3 @@ struct wl_output *gdk_wayland_monitor_get_wl_output (GdkMonitor *monitor); G_END_DECLS -#endif /* __GDK_WAYLAND_MONITOR_H__ */ diff --git a/gdk/wayland/gdkwaylandsurface.h b/gdk/wayland/gdkwaylandsurface.h index 7d9e0897b2..9c031a73a4 100644 --- a/gdk/wayland/gdkwaylandsurface.h +++ b/gdk/wayland/gdkwaylandsurface.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef __GDK_WAYLAND_SURFACE_H__ -#define __GDK_WAYLAND_SURFACE_H__ +#pragma once #if !defined (__GDKWAYLAND_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -46,4 +45,3 @@ struct wl_surface *gdk_wayland_surface_get_wl_surface (GdkSurface *s G_END_DECLS -#endif /* __GDK_WAYLAND_SURFACE_H__ */ diff --git a/gdk/wayland/wm-button-layout-translation.h b/gdk/wayland/wm-button-layout-translation.h index d4a39c84fb..eb83fcfc32 100644 --- a/gdk/wayland/wm-button-layout-translation.h +++ b/gdk/wayland/wm-button-layout-translation.h @@ -18,9 +18,7 @@ * Author: Florian Müllner */ -#ifndef __WM_BUTTON_LAYOUT_TRANSLATION__ -#define __WM_BUTTON_LAYOUT_TRANSLATION__ +#pragma once void translate_wm_button_layout_to_gtk (char *layout); -#endif diff --git a/gdk/win32/gdkcairocontext-win32.h b/gdk/win32/gdkcairocontext-win32.h index 3fd093c12d..aebca1feb8 100644 --- a/gdk/win32/gdkcairocontext-win32.h +++ b/gdk/win32/gdkcairocontext-win32.h @@ -16,8 +16,7 @@ * License along with this library. If not, see . */ -#ifndef __GDK_WIN32_CAIRO_CONTEXT__ -#define __GDK_WIN32_CAIRO_CONTEXT__ +#pragma once #include "gdkconfig.h" @@ -71,4 +70,3 @@ GType gdk_win32_cairo_context_get_type (void) G_GNUC_CONST; G_END_DECLS -#endif /* __GDK_WIN32_CAIRO_CONTEXT__ */ diff --git a/gdk/win32/gdkclipboard-win32.h b/gdk/win32/gdkclipboard-win32.h index 1152ee17da..2987becdb7 100644 --- a/gdk/win32/gdkclipboard-win32.h +++ b/gdk/win32/gdkclipboard-win32.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef __GDK_CLIPBOARD_WIN32_H__ -#define __GDK_CLIPBOARD_WIN32_H__ +#pragma once #include "gdk/gdkclipboard.h" @@ -36,4 +35,3 @@ void gdk_win32_clipboard_claim_remote (GdkWin32Clipboa G_END_DECLS -#endif /* __GDK_CLIPBOARD_WIN32_H__ */ diff --git a/gdk/win32/gdkclipdrop-win32.h b/gdk/win32/gdkclipdrop-win32.h index b71ed00107..e093b38e78 100644 --- a/gdk/win32/gdkclipdrop-win32.h +++ b/gdk/win32/gdkclipdrop-win32.h @@ -18,8 +18,7 @@ * License along with this library. If not, see . */ -#ifndef __GDK_CLIPDROP_WIN32_H__ -#define __GDK_CLIPDROP_WIN32_H__ +#pragma once G_BEGIN_DECLS @@ -275,4 +274,3 @@ void _gdk_win32_advertise_clipboard_contentformats (GTask -#endif /* __GDK_CLIPDROP_WIN32_H__ */ diff --git a/gdk/win32/gdkdevice-virtual.h b/gdk/win32/gdkdevice-virtual.h index 3a98dd05c1..d81e689d61 100644 --- a/gdk/win32/gdkdevice-virtual.h +++ b/gdk/win32/gdkdevice-virtual.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef __GDK_DEVICE_VIRTUAL_H__ -#define __GDK_DEVICE_VIRTUAL_H__ +#pragma once #include @@ -60,4 +59,3 @@ gdk_device_virtual_query_state (GdkDevice *device, G_END_DECLS -#endif /* __GDK_DEVICE_VIRTUAL_H__ */ diff --git a/gdk/win32/gdkdevice-win32.h b/gdk/win32/gdkdevice-win32.h index 478afb15bd..a131022d08 100644 --- a/gdk/win32/gdkdevice-win32.h +++ b/gdk/win32/gdkdevice-win32.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef __GDK_DEVICE_WIN32_H__ -#define __GDK_DEVICE_WIN32_H__ +#pragma once #include @@ -58,4 +57,3 @@ void _gdk_device_win32_query_state (GdkDevice *device, G_END_DECLS -#endif /* __GDK_DEVICE_WIN32_H__ */ diff --git a/gdk/win32/gdkdevice-winpointer.h b/gdk/win32/gdkdevice-winpointer.h index 70d6f042c6..4af8d55d1c 100644 --- a/gdk/win32/gdkdevice-winpointer.h +++ b/gdk/win32/gdkdevice-winpointer.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef __GDK_DEVICE_WINPOINTER_H__ -#define __GDK_DEVICE_WINPOINTER_H__ +#pragma once #include @@ -64,4 +63,3 @@ GType gdk_device_winpointer_get_type (void) G_GNUC_CONST; G_END_DECLS -#endif /* __GDK_DEVICE_WINPOINTER_H__ */ diff --git a/gdk/win32/gdkdevice-wintab.h b/gdk/win32/gdkdevice-wintab.h index bac77b5cd3..c209e91539 100644 --- a/gdk/win32/gdkdevice-wintab.h +++ b/gdk/win32/gdkdevice-wintab.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef __GDK_DEVICE_WINTAB_H__ -#define __GDK_DEVICE_WINTAB_H__ +#pragma once #include @@ -76,4 +75,3 @@ gdk_device_wintab_query_state (GdkDevice *device, G_END_DECLS -#endif /* __GDK_DEVICE_WINTAB_H__ */ diff --git a/gdk/win32/gdkdevicemanager-win32.h b/gdk/win32/gdkdevicemanager-win32.h index 26b5c761ac..b6458a9a88 100644 --- a/gdk/win32/gdkdevicemanager-win32.h +++ b/gdk/win32/gdkdevicemanager-win32.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef __GDK_DEVICE_MANAGER_WIN32_H__ -#define __GDK_DEVICE_MANAGER_WIN32_H__ +#pragma once G_BEGIN_DECLS @@ -65,4 +64,3 @@ GdkEvent * gdk_wintab_make_event (GdkDisplay *display, G_END_DECLS -#endif /* __GDK_DEVICE_MANAGER_WIN32_H__ */ diff --git a/gdk/win32/gdkdisplay-win32.h b/gdk/win32/gdkdisplay-win32.h index 19f11e5f9f..c197395422 100644 --- a/gdk/win32/gdkdisplay-win32.h +++ b/gdk/win32/gdkdisplay-win32.h @@ -19,8 +19,7 @@ #include "gdkdisplayprivate.h" -#ifndef __GDK_DISPLAY__WIN32_H__ -#define __GDK_DISPLAY__WIN32_H__ +#pragma once #include "gdkwin32screen.h" #include "gdkwin32cursor.h" @@ -196,4 +195,3 @@ struct _GdkWin32MessageFilter guint ref_count; }; -#endif /* __GDK_DISPLAY__WIN32_H__ */ diff --git a/gdk/win32/gdkglcontext-win32.h b/gdk/win32/gdkglcontext-win32.h index 787c8b1a09..8311f47768 100644 --- a/gdk/win32/gdkglcontext-win32.h +++ b/gdk/win32/gdkglcontext-win32.h @@ -18,8 +18,7 @@ * License along with this library. If not, see . */ -#ifndef __GDK_WIN32_GL_CONTEXT__ -#define __GDK_WIN32_GL_CONTEXT__ +#pragma once #ifndef DONT_INCLUDE_LIBEPOXY #include @@ -97,4 +96,3 @@ void gdk_win32_private_wglDeleteContext (HGLRC hglrc); G_END_DECLS -#endif /* __GDK_WIN32_GL_CONTEXT__ */ diff --git a/gdk/win32/gdkhdataoutputstream-win32.h b/gdk/win32/gdkhdataoutputstream-win32.h index 56fb786772..888b134fc3 100644 --- a/gdk/win32/gdkhdataoutputstream-win32.h +++ b/gdk/win32/gdkhdataoutputstream-win32.h @@ -19,8 +19,7 @@ * Christian Kellner */ -#ifndef __GDK_WIN32_HDATA_OUTPUT_STREAM_H__ -#define __GDK_WIN32_HDATA_OUTPUT_STREAM_H__ +#pragma once #include #include "gdktypes.h" @@ -60,4 +59,3 @@ HANDLE gdk_win32_hdata_output_stream_get_handle (GdkWin32HDataOutputStre G_END_DECLS -#endif /* __GDK_WIN32_HDATA_OUTPUT_STREAM_H__ */ diff --git a/gdk/win32/gdkinput-dmanipulation.h b/gdk/win32/gdkinput-dmanipulation.h index 77d603c0cf..20b5a3df09 100644 --- a/gdk/win32/gdkinput-dmanipulation.h +++ b/gdk/win32/gdkinput-dmanipulation.h @@ -18,8 +18,7 @@ * SPDX-License-Identifier: LGPL-2.1-or-later */ -#ifndef __GDK_INPUT_DMANIPULATION_H__ -#define __GDK_INPUT_DMANIPULATION_H__ +#pragma once void gdk_dmanipulation_initialize (void); @@ -29,4 +28,3 @@ void gdk_dmanipulation_finalize_surface (GdkSurface *surface); void gdk_dmanipulation_maybe_add_contact (GdkSurface *surface, MSG *msg); -#endif /* __GDK_INPUT_DMANIPULATION_H__ */ diff --git a/gdk/win32/gdkinput-winpointer.h b/gdk/win32/gdkinput-winpointer.h index 36c1a39f0d..712f066f78 100644 --- a/gdk/win32/gdkinput-winpointer.h +++ b/gdk/win32/gdkinput-winpointer.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef __GDK_INPUT_WINPOINTER_H__ -#define __GDK_INPUT_WINPOINTER_H__ +#pragma once #include "winpointer.h" @@ -40,4 +39,3 @@ gboolean gdk_winpointer_get_message_info (MSG *msg, guint32 *time_); void gdk_winpointer_interaction_ended (MSG *msg); -#endif /* __GDK_INPUT_WINPOINTER_H__ */ diff --git a/gdk/win32/gdkmonitor-win32.h b/gdk/win32/gdkmonitor-win32.h index 6bfcd2bc1f..11121a660f 100644 --- a/gdk/win32/gdkmonitor-win32.h +++ b/gdk/win32/gdkmonitor-win32.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef __GDK_WIN32_MONITOR_PRIVATE_H__ -#define __GDK_WIN32_MONITOR_PRIVATE_H__ +#pragma once #include #include @@ -54,4 +53,3 @@ struct _GdkWin32MonitorClass { int _gdk_win32_monitor_compare (GdkWin32Monitor *a, GdkWin32Monitor *b); -#endif diff --git a/gdk/win32/gdkprivate-win32.h b/gdk/win32/gdkprivate-win32.h index 230a537a0b..acde8a058c 100644 --- a/gdk/win32/gdkprivate-win32.h +++ b/gdk/win32/gdkprivate-win32.h @@ -22,8 +22,7 @@ * GTK+ at ftp://ftp.gtk.org/pub/gtk/. */ -#ifndef __GDK_PRIVATE_WIN32_H__ -#define __GDK_PRIVATE_WIN32_H__ +#pragma once #include #include @@ -464,4 +463,3 @@ void gdk_win32_set_modal_dialog_libgtk_only (HWND window); gpointer gdk_win32_handle_table_lookup_ (HWND handle); -#endif /* __GDK_PRIVATE_WIN32_H__ */ diff --git a/gdk/win32/gdksurface-win32.h b/gdk/win32/gdksurface-win32.h index 22daa8faa7..6f12eab527 100644 --- a/gdk/win32/gdksurface-win32.h +++ b/gdk/win32/gdksurface-win32.h @@ -22,8 +22,7 @@ * GTK+ at ftp://ftp.gtk.org/pub/gtk/. */ -#ifndef __GDK_SURFACE_WIN32_H__ -#define __GDK_SURFACE_WIN32_H__ +#pragma once #include "gdk/win32/gdkprivate-win32.h" #include "gdk/win32/gdkwin32cursor.h" @@ -376,4 +375,3 @@ EGLSurface gdk_win32_surface_get_egl_surface (GdkSurface *surface, G_END_DECLS -#endif /* __GDK_SURFACE_WIN32_H__ */ diff --git a/gdk/win32/gdkvulkancontext-win32.h b/gdk/win32/gdkvulkancontext-win32.h index 4084e21016..3a572b5f8a 100644 --- a/gdk/win32/gdkvulkancontext-win32.h +++ b/gdk/win32/gdkvulkancontext-win32.h @@ -19,8 +19,7 @@ * License along with this library. If not, see . */ -#ifndef __GDK_WIN32_VULKAN_CONTEXT__ -#define __GDK_WIN32_VULKAN_CONTEXT__ +#pragma once #include "gdkconfig.h" @@ -59,4 +58,3 @@ G_END_DECLS #endif /* !GDK_RENDERING_VULKAN */ -#endif /* __GDK_WIN32_VULKAN_CONTEXT__ */ diff --git a/gdk/win32/gdkwin32.h b/gdk/win32/gdkwin32.h index 739624d84c..ed4a7749cd 100644 --- a/gdk/win32/gdkwin32.h +++ b/gdk/win32/gdkwin32.h @@ -22,8 +22,7 @@ * GTK+ at ftp://ftp.gtk.org/pub/gtk/. */ -#ifndef __GDK_WIN32_H__ -#define __GDK_WIN32_H__ +#pragma once #define __GDKWIN32_H_INSIDE__ @@ -39,4 +38,3 @@ #undef __GDKWIN32_H_INSIDE__ -#endif /* __GDK_WIN32_H__ */ diff --git a/gdk/win32/gdkwin32cursor.h b/gdk/win32/gdkwin32cursor.h index a9f4676623..6ffb3c5d95 100644 --- a/gdk/win32/gdkwin32cursor.h +++ b/gdk/win32/gdkwin32cursor.h @@ -22,8 +22,7 @@ * GTK+ at ftp://ftp.gtk.org/pub/gtk/. */ -#ifndef __GDK_WIN32_CURSOR_H__ -#define __GDK_WIN32_CURSOR_H__ +#pragma once #if !defined (__GDKWIN32_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -83,4 +82,3 @@ void _gdk_win32_display_hcursor_unref (GdkWin32Display *display G_END_DECLS -#endif /* __GDK_WIN32_CURSOR_H__ */ diff --git a/gdk/win32/gdkwin32display.h b/gdk/win32/gdkwin32display.h index 8f59750421..72ca5d17c0 100644 --- a/gdk/win32/gdkwin32display.h +++ b/gdk/win32/gdkwin32display.h @@ -22,8 +22,7 @@ * GTK+ at ftp://ftp.gtk.org/pub/gtk/. */ -#ifndef __GDK_WIN32_DISPLAY_H__ -#define __GDK_WIN32_DISPLAY_H__ +#pragma once #if !defined (__GDKWIN32_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -110,4 +109,3 @@ gpointer gdk_win32_display_get_egl_display (GdkDisplay *display); G_END_DECLS -#endif /* __GDK_WIN32_DISPLAY_H__ */ diff --git a/gdk/win32/gdkwin32displaymanager.h b/gdk/win32/gdkwin32displaymanager.h index ce7e9ffb1c..c9c159b69c 100644 --- a/gdk/win32/gdkwin32displaymanager.h +++ b/gdk/win32/gdkwin32displaymanager.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef __GDK_WIN32_DISPLAY_MANAGER_H__ -#define __GDK_WIN32_DISPLAY_MANAGER_H__ +#pragma once #if !defined (__GDKWIN32_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -45,4 +44,3 @@ GType gdk_win32_display_manager_get_type (void); G_END_DECLS -#endif /* __GDK_WIN32_DISPLAY_MANAGER_H__ */ diff --git a/gdk/win32/gdkwin32dnd-private.h b/gdk/win32/gdkwin32dnd-private.h index a9c2d254fb..fb27da7a23 100644 --- a/gdk/win32/gdkwin32dnd-private.h +++ b/gdk/win32/gdkwin32dnd-private.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef __GDK_WIN32_DND_PRIVATE_H__ -#define __GDK_WIN32_DND_PRIVATE_H__ +#pragma once #if !defined (__GDKWIN32_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -99,4 +98,3 @@ GdkDrag *_gdk_win32_find_drag_for_dest_window (HWND dest_window) G_END_DECLS -#endif /* __GDK_WIN32_DND_PRIVATE_H__ */ diff --git a/gdk/win32/gdkwin32dnd.h b/gdk/win32/gdkwin32dnd.h index a40aea7d96..862566564d 100644 --- a/gdk/win32/gdkwin32dnd.h +++ b/gdk/win32/gdkwin32dnd.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef __GDK_WIN32_DND_H__ -#define __GDK_WIN32_DND_H__ +#pragma once #if !defined (__GDKWIN32_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -45,4 +44,3 @@ GType gdk_win32_drag_get_type (void); G_END_DECLS -#endif /* __GDK_WIN32_DRAG_H__ */ diff --git a/gdk/win32/gdkwin32glcontext.h b/gdk/win32/gdkwin32glcontext.h index 825841a0bd..0135fda4f7 100644 --- a/gdk/win32/gdkwin32glcontext.h +++ b/gdk/win32/gdkwin32glcontext.h @@ -18,8 +18,7 @@ * License along with this library. If not, see . */ -#ifndef __GDK_WIN32_GL_CONTEXT_H__ -#define __GDK_WIN32_GL_CONTEXT_H__ +#pragma once #if !defined (__GDKWIN32_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -46,4 +45,3 @@ gboolean gdk_win32_display_get_wgl_version (GdkDisplay *display, G_END_DECLS -#endif /* __GDK_WIN32_GL_CONTEXT_H__ */ diff --git a/gdk/win32/gdkwin32keys.h b/gdk/win32/gdkwin32keys.h index 469ad49e2e..a15b01d22c 100644 --- a/gdk/win32/gdkwin32keys.h +++ b/gdk/win32/gdkwin32keys.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef __GDK_WIN32_KEYS_H__ -#define __GDK_WIN32_KEYS_H__ +#pragma once #if !defined (__GDKWIN32_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -63,4 +62,3 @@ GType gdk_win32_keymap_get_type (void); G_END_DECLS -#endif /* __GDK_WIN32_KEYMAP_H__ */ diff --git a/gdk/win32/gdkwin32langnotification.h b/gdk/win32/gdkwin32langnotification.h index c67e18fc0e..dbba23e0ee 100644 --- a/gdk/win32/gdkwin32langnotification.h +++ b/gdk/win32/gdkwin32langnotification.h @@ -17,10 +17,8 @@ * License along with this library. If not, see . */ -#ifndef __GDK_WIN32_LANGNOTIFICATION_H__ -#define __GDK_WIN32_LANGNOTIFICATION_H__ +#pragma once void _gdk_win32_lang_notification_init (void); void _gdk_win32_lang_notification_exit (void); -#endif \ No newline at end of file diff --git a/gdk/win32/gdkwin32misc.h b/gdk/win32/gdkwin32misc.h index e51d3424c8..b6cd98345e 100644 --- a/gdk/win32/gdkwin32misc.h +++ b/gdk/win32/gdkwin32misc.h @@ -23,8 +23,7 @@ * GTK+ at ftp://ftp.gtk.org/pub/gtk/. */ -#ifndef __GDK_WIN32_MISC_H__ -#define __GDK_WIN32_MISC_H__ +#pragma once #if !defined (__GDKWIN32_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -86,4 +85,3 @@ GdkSurface * gdk_win32_surface_lookup_for_display (GdkDisplay *display, G_END_DECLS -#endif /* __GDK_WIN32_MISC_H__ */ diff --git a/gdk/win32/gdkwin32monitor.h b/gdk/win32/gdkwin32monitor.h index cbbf246f3e..d2e6c61589 100644 --- a/gdk/win32/gdkwin32monitor.h +++ b/gdk/win32/gdkwin32monitor.h @@ -20,8 +20,7 @@ * License along with this library. If not, see . */ -#ifndef __GDK_WIN32_MONITOR_H__ -#define __GDK_WIN32_MONITOR_H__ +#pragma once #if !defined (__GDKWIN32_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -50,4 +49,3 @@ void gdk_win32_monitor_get_workarea (GdkMonitor *monitor, G_END_DECLS -#endif /* __GDK_WIN32_MONITOR_H__ */ diff --git a/gdk/win32/gdkwin32screen.h b/gdk/win32/gdkwin32screen.h index fa2b8daff8..d98161905d 100644 --- a/gdk/win32/gdkwin32screen.h +++ b/gdk/win32/gdkwin32screen.h @@ -22,8 +22,7 @@ * GTK+ at ftp://ftp.gtk.org/pub/gtk/. */ -#ifndef __GDK_WIN32_SCREEN_H__ -#define __GDK_WIN32_SCREEN_H__ +#pragma once #if !defined (__GDKWIN32_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -48,4 +47,3 @@ GType gdk_win32_screen_get_type (void); G_END_DECLS -#endif /* __GDK_WIN32_SCREEN_H__ */ diff --git a/gdk/win32/gdkwin32surface.h b/gdk/win32/gdkwin32surface.h index 655abd0113..7766ebd656 100644 --- a/gdk/win32/gdkwin32surface.h +++ b/gdk/win32/gdkwin32surface.h @@ -22,8 +22,7 @@ * GTK+ at ftp://ftp.gtk.org/pub/gtk/. */ -#ifndef __GDK_WIN32_SURFACE_H__ -#define __GDK_WIN32_SURFACE_H__ +#pragma once #if !defined (__GDKWIN32_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -56,4 +55,3 @@ void gdk_win32_surface_set_urgency_hint (GdkSurface *surface, G_END_DECLS -#endif /* __GDK_X11_SURFACE_H__ */ diff --git a/gdk/x11/MwmUtil.h b/gdk/x11/MwmUtil.h index 5985b4551d..e91b0f5687 100644 --- a/gdk/x11/MwmUtil.h +++ b/gdk/x11/MwmUtil.h @@ -29,8 +29,7 @@ * when sizeof(long) == 8. **/ -#ifndef MWMUTIL_H_INCLUDED -#define MWMUTIL_H_INCLUDED +#pragma once #include @@ -131,4 +130,3 @@ typedef PropMotifWmInfo PropMwmInfo; G_END_DECLS -#endif /* MWMUTIL_H_INCLUDED */ diff --git a/gdk/x11/gdkasync.h b/gdk/x11/gdkasync.h index 009c2fae79..dc84562cc5 100644 --- a/gdk/x11/gdkasync.h +++ b/gdk/x11/gdkasync.h @@ -16,8 +16,7 @@ * License along with this library. If not, see . */ -#ifndef __GDK_ASYNC_H__ -#define __GDK_ASYNC_H__ +#pragma once #include "gdkdisplay.h" #include @@ -66,4 +65,3 @@ void _gdk_x11_roundtrip_async (GdkDisplay *display, G_END_DECLS -#endif /* __GDK_ASYNC_H__ */ diff --git a/gdk/x11/gdkcairocontext-x11.h b/gdk/x11/gdkcairocontext-x11.h index 34c84bf1e8..66412eb8ea 100644 --- a/gdk/x11/gdkcairocontext-x11.h +++ b/gdk/x11/gdkcairocontext-x11.h @@ -18,8 +18,7 @@ * License along with this library. If not, see . */ -#ifndef __GDK_X11_CAIRO_CONTEXT__ -#define __GDK_X11_CAIRO_CONTEXT__ +#pragma once #include "gdkconfig.h" @@ -55,4 +54,3 @@ GType gdk_x11_cairo_context_get_type (void) G_GNUC_CONST; G_END_DECLS -#endif /* __GDK_X11_CAIRO_CONTEXT__ */ diff --git a/gdk/x11/gdkclipboard-x11.h b/gdk/x11/gdkclipboard-x11.h index 9eeea4a0c6..705c350dc0 100644 --- a/gdk/x11/gdkclipboard-x11.h +++ b/gdk/x11/gdkclipboard-x11.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef __GDK_CLIPBOARD_X11_H__ -#define __GDK_CLIPBOARD_X11_H__ +#pragma once #include "gdk/gdkclipboard.h" @@ -44,4 +43,3 @@ Atom * gdk_x11_clipboard_formats_to_atoms (GdkDisplay G_END_DECLS -#endif /* __GDK_CLIPBOARD_X11_H__ */ diff --git a/gdk/x11/gdkdevice-xi2-private.h b/gdk/x11/gdkdevice-xi2-private.h index b99a6735d5..c78a776a7e 100644 --- a/gdk/x11/gdkdevice-xi2-private.h +++ b/gdk/x11/gdkdevice-xi2-private.h @@ -18,8 +18,7 @@ * License along with this library; if not, see . */ -#ifndef __GDK_DEVICE_XI2_PRIVATE_H__ -#define __GDK_DEVICE_XI2_PRIVATE_H__ +#pragma once #include "gdkx11device-xi2.h" @@ -37,4 +36,3 @@ void gdk_x11_device_xi2_set_device_type (GdkX11DeviceXI2 *device, G_END_DECLS -#endif diff --git a/gdk/x11/gdkdevicemanagerprivate-core.h b/gdk/x11/gdkdevicemanagerprivate-core.h index 47ea27dfd1..fa81e8c397 100644 --- a/gdk/x11/gdkdevicemanagerprivate-core.h +++ b/gdk/x11/gdkdevicemanagerprivate-core.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef __GDK_DEVICE_MANAGER_PRIVATE_CORE_H__ -#define __GDK_DEVICE_MANAGER_PRIVATE_CORE_H__ +#pragma once #include @@ -47,4 +46,3 @@ void _gdk_device_manager_core_handle_focus (GdkSurface *w G_END_DECLS -#endif /* __GDK_DEVICE_MANAGER_PRIVATE_CORE_H__ */ diff --git a/gdk/x11/gdkdisplay-x11.h b/gdk/x11/gdkdisplay-x11.h index 654a708231..0ac0e685a3 100644 --- a/gdk/x11/gdkdisplay-x11.h +++ b/gdk/x11/gdkdisplay-x11.h @@ -19,8 +19,7 @@ * License along with this library. If not, see . */ -#ifndef __GDK_X11_DISPLAY__ -#define __GDK_X11_DISPLAY__ +#pragma once #include "gdkdisplayprivate.h" #include "gdkkeys.h" @@ -178,4 +177,3 @@ GdkFilterReturn _gdk_wm_protocols_filter (const XEvent *xevent, G_END_DECLS -#endif /* __GDK_X11_DISPLAY__ */ diff --git a/gdk/x11/gdkeventsource.h b/gdk/x11/gdkeventsource.h index 1344231525..e8a7ec591f 100644 --- a/gdk/x11/gdkeventsource.h +++ b/gdk/x11/gdkeventsource.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef __GDK_X11_EVENT_SOURCE_H__ -#define __GDK_X11_EVENT_SOURCE_H__ +#pragma once #include "gdkeventtranslator.h" #include "gdkx11display.h" @@ -44,4 +43,3 @@ gboolean gdk_event_source_xevent (GdkX11Display *x11_display, G_END_DECLS -#endif /* __GDK_X11_EVENT_SOURCE_H__ */ diff --git a/gdk/x11/gdkeventtranslator.h b/gdk/x11/gdkeventtranslator.h index 4fcec6db03..2a4fcbad64 100644 --- a/gdk/x11/gdkeventtranslator.h +++ b/gdk/x11/gdkeventtranslator.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef __GDK_EVENT_TRANSLATOR_H__ -#define __GDK_EVENT_TRANSLATOR_H__ +#pragma once #include "gdktypes.h" #include "gdkdisplay.h" @@ -67,4 +66,3 @@ GdkSurface * _gdk_x11_event_translator_get_surface (GdkEventTranslator G_END_DECLS -#endif /* __GDK_EVENT_TRANSLATOR_H__ */ diff --git a/gdk/x11/gdkglcontext-x11.h b/gdk/x11/gdkglcontext-x11.h index 10b94ca54b..dc2fa38249 100644 --- a/gdk/x11/gdkglcontext-x11.h +++ b/gdk/x11/gdkglcontext-x11.h @@ -18,8 +18,7 @@ * License along with this library. If not, see . */ -#ifndef __GDK_X11_GL_CONTEXT__ -#define __GDK_X11_GL_CONTEXT__ +#pragma once #include "gdkx11glcontext.h" @@ -80,4 +79,3 @@ GType gdk_x11_gl_context_egl_get_type (void) G_GNUC_CO G_END_DECLS -#endif /* __GDK_X11_GL_CONTEXT__ */ diff --git a/gdk/x11/gdkkeys-x11.h b/gdk/x11/gdkkeys-x11.h index db53da0dcc..46c86db949 100644 --- a/gdk/x11/gdkkeys-x11.h +++ b/gdk/x11/gdkkeys-x11.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef __GDK_X11_KEYS_H__ -#define __GDK_X11_KEYS_H__ +#pragma once #include #include @@ -46,4 +45,3 @@ gboolean gdk_x11_keymap_key_is_modifier (GdkKeymap *keymap, guint keycode); G_END_DECLS -#endif /* __GDK_X11_KEYMAP_H__ */ diff --git a/gdk/x11/gdkmonitor-x11.h b/gdk/x11/gdkmonitor-x11.h index de8b1dc4bb..c138f0295e 100644 --- a/gdk/x11/gdkmonitor-x11.h +++ b/gdk/x11/gdkmonitor-x11.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef __GDK_X11_MONITOR_PRIVATE_H__ -#define __GDK_X11_MONITOR_PRIVATE_H__ +#pragma once #include #include @@ -40,4 +39,3 @@ struct _GdkX11MonitorClass { GdkMonitorClass parent_class; }; -#endif diff --git a/gdk/x11/gdkprivate-x11.h b/gdk/x11/gdkprivate-x11.h index 74a5155096..cf095b6cb2 100644 --- a/gdk/x11/gdkprivate-x11.h +++ b/gdk/x11/gdkprivate-x11.h @@ -26,8 +26,7 @@ * Private uninstalled header defining things local to X windowing code */ -#ifndef __GDK_PRIVATE_X11_H__ -#define __GDK_PRIVATE_X11_H__ +#pragma once #include "gdkcursor.h" #include "gdkx.h" @@ -267,4 +266,3 @@ extern const int _gdk_x11_event_mask_table_size; #define GDK_SURFACE_XID(win) (GDK_X11_SURFACE (win)->xid) #define GDK_SCREEN_XDISPLAY(screen) (GDK_X11_SCREEN (screen)->xdisplay) -#endif /* __GDK_PRIVATE_X11_H__ */ diff --git a/gdk/x11/gdkscreen-x11.h b/gdk/x11/gdkscreen-x11.h index 2d9c8ae677..d3775b23e5 100644 --- a/gdk/x11/gdkscreen-x11.h +++ b/gdk/x11/gdkscreen-x11.h @@ -19,8 +19,7 @@ * License along with this library. If not, see . */ -#ifndef __GDK_X11_SCREEN__ -#define __GDK_X11_SCREEN__ +#pragma once #include "gdkx11screen.h" #include @@ -110,4 +109,3 @@ _gdk_x11_screen_get_xft_setting (GdkX11Screen *screen, G_END_DECLS -#endif /* __GDK_X11_SCREEN__ */ diff --git a/gdk/x11/gdkselectioninputstream-x11.h b/gdk/x11/gdkselectioninputstream-x11.h index 18c0763025..465563c00c 100644 --- a/gdk/x11/gdkselectioninputstream-x11.h +++ b/gdk/x11/gdkselectioninputstream-x11.h @@ -19,8 +19,7 @@ * Christian Kellner */ -#ifndef __GDK_X11_SELECTION_INPUT_STREAM_H__ -#define __GDK_X11_SELECTION_INPUT_STREAM_H__ +#pragma once #include #include "gdktypes.h" @@ -66,4 +65,3 @@ GInputStream * gdk_x11_selection_input_stream_new_finish (GAsyncResult G_END_DECLS -#endif /* __GDK_X11_SELECTION_INPUT_STREAM_H__ */ diff --git a/gdk/x11/gdkselectionoutputstream-x11.h b/gdk/x11/gdkselectionoutputstream-x11.h index 03a0d30029..bbc02251b8 100644 --- a/gdk/x11/gdkselectionoutputstream-x11.h +++ b/gdk/x11/gdkselectionoutputstream-x11.h @@ -19,8 +19,7 @@ * Christian Kellner */ -#ifndef __GDK_X11_SELECTION_OUTPUT_STREAM_H__ -#define __GDK_X11_SELECTION_OUTPUT_STREAM_H__ +#pragma once #include #include "gdktypes.h" @@ -66,4 +65,3 @@ void gdk_x11_selection_output_streams_create (GdkDisplay G_END_DECLS -#endif /* __GDK_X11_SELECTION_OUTPUT_STREAM_H__ */ diff --git a/gdk/x11/gdksurface-x11.h b/gdk/x11/gdksurface-x11.h index f338ccfc21..c548cd206a 100644 --- a/gdk/x11/gdksurface-x11.h +++ b/gdk/x11/gdksurface-x11.h @@ -22,8 +22,7 @@ * GTK+ at ftp://ftp.gtk.org/pub/gtk/. */ -#ifndef __GDK_X11_SURFACE__ -#define __GDK_X11_SURFACE__ +#pragma once #include "gdksurfaceprivate.h" #include "gdkx11surface.h" @@ -211,4 +210,3 @@ void gdk_x11_surface_check_monitor (GdkSurface *surface, G_END_DECLS -#endif /* __GDK_X11_SURFACE__ */ diff --git a/gdk/x11/gdktextlistconverter-x11.h b/gdk/x11/gdktextlistconverter-x11.h index 473c518eb5..c183b93f65 100644 --- a/gdk/x11/gdktextlistconverter-x11.h +++ b/gdk/x11/gdktextlistconverter-x11.h @@ -18,8 +18,7 @@ * Author: Benjamin Otte */ -#ifndef __GDK_X11_TEXT_LIST_CONVERTER_H__ -#define __GDK_X11_TEXT_LIST_CONVERTER_H__ +#pragma once #include #include @@ -44,4 +43,3 @@ GConverter * gdk_x11_text_list_converter_from_utf8_new (GdkDisplay G_END_DECLS -#endif /* __GDK_X11_TEXT_LIST_CONVERTER_H__ */ diff --git a/gdk/x11/gdkvulkancontext-x11.h b/gdk/x11/gdkvulkancontext-x11.h index c2364a8d3a..8b997bda23 100644 --- a/gdk/x11/gdkvulkancontext-x11.h +++ b/gdk/x11/gdkvulkancontext-x11.h @@ -18,8 +18,7 @@ * License along with this library. If not, see . */ -#ifndef __GDK_X11_VULKAN_CONTEXT__ -#define __GDK_X11_VULKAN_CONTEXT__ +#pragma once #include "gdkconfig.h" @@ -58,4 +57,3 @@ G_END_DECLS #endif /* !GDK_RENDERING_VULKAN */ -#endif /* __GDK_X11_VULKAN_CONTEXT__ */ diff --git a/gdk/x11/gdkx.h b/gdk/x11/gdkx.h index c94f52fbb8..6bef6b6de8 100644 --- a/gdk/x11/gdkx.h +++ b/gdk/x11/gdkx.h @@ -22,8 +22,7 @@ * GTK+ at ftp://ftp.gtk.org/pub/gtk/. */ -#ifndef __GDK_X_H__ -#define __GDK_X_H__ +#pragma once #include @@ -51,4 +50,3 @@ #undef __GDKX_H_INSIDE__ -#endif /* __GDK_X_H__ */ diff --git a/gdk/x11/gdkx11applaunchcontext.h b/gdk/x11/gdkx11applaunchcontext.h index a1ef85af54..aa0b45f10c 100644 --- a/gdk/x11/gdkx11applaunchcontext.h +++ b/gdk/x11/gdkx11applaunchcontext.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef __GDK_X11_APP_LAUNCH_CONTEXT_H__ -#define __GDK_X11_APP_LAUNCH_CONTEXT_H__ +#pragma once #if !defined (__GDKX_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -45,4 +44,3 @@ GType gdk_x11_app_launch_context_get_type (void); G_END_DECLS -#endif /* __GDK_X11_APP_LAUNCH_CONTEXT_H__ */ diff --git a/gdk/x11/gdkx11device-xi2.h b/gdk/x11/gdkx11device-xi2.h index bc06e71952..a5d078b4f4 100644 --- a/gdk/x11/gdkx11device-xi2.h +++ b/gdk/x11/gdkx11device-xi2.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef __GDK_X11_DEVICE_XI2_H__ -#define __GDK_X11_DEVICE_XI2_H__ +#pragma once #include @@ -43,4 +42,3 @@ GType gdk_x11_device_xi2_get_type (void) G_GNUC_CONST; G_END_DECLS -#endif /* __GDK_X11_DEVICE_XI2_H__ */ diff --git a/gdk/x11/gdkx11device.h b/gdk/x11/gdkx11device.h index 956375dfab..de7dd23895 100644 --- a/gdk/x11/gdkx11device.h +++ b/gdk/x11/gdkx11device.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef __GDK_X11_DEVICE_H__ -#define __GDK_X11_DEVICE_H__ +#pragma once #if !defined (__GDKX_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -31,4 +30,3 @@ int gdk_x11_device_get_id (GdkDevice *device); G_END_DECLS -#endif /* __GDK_X11_DEVICE_H__ */ diff --git a/gdk/x11/gdkx11devicemanager-xi2.h b/gdk/x11/gdkx11devicemanager-xi2.h index 9538f56f2c..ee7c2ab995 100644 --- a/gdk/x11/gdkx11devicemanager-xi2.h +++ b/gdk/x11/gdkx11devicemanager-xi2.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef __GDK_X11_DEVICE_MANAGER_XI2_H__ -#define __GDK_X11_DEVICE_MANAGER_XI2_H__ +#pragma once #include @@ -39,4 +38,3 @@ GType gdk_x11_device_manager_xi2_get_type (void) G_GNUC_CONST; G_END_DECLS -#endif /* __GDK_X11_DEVICE_MANAGER_XI2_H__ */ diff --git a/gdk/x11/gdkx11devicemanager.h b/gdk/x11/gdkx11devicemanager.h index 6f07b331a2..9b9f2a798a 100644 --- a/gdk/x11/gdkx11devicemanager.h +++ b/gdk/x11/gdkx11devicemanager.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef __GDK_X11_DEVICE_MANAGER_H__ -#define __GDK_X11_DEVICE_MANAGER_H__ +#pragma once #if !defined (__GDKX_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -36,4 +35,3 @@ GdkDevice * gdk_x11_device_manager_lookup (GdkX11DeviceManagerXI2 *device_manage G_END_DECLS -#endif /* __GDK_X11_DEVICE_MANAGER_H__ */ diff --git a/gdk/x11/gdkx11display.h b/gdk/x11/gdkx11display.h index 46b7627db5..2df0c48899 100644 --- a/gdk/x11/gdkx11display.h +++ b/gdk/x11/gdkx11display.h @@ -22,8 +22,7 @@ * GTK+ at ftp://ftp.gtk.org/pub/gtk/. */ -#ifndef __GDK_X11_DISPLAY_H__ -#define __GDK_X11_DISPLAY_H__ +#pragma once #if !defined (__GDKX_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -133,4 +132,3 @@ GdkSurface * gdk_x11_display_get_default_group (GdkDisplay *display); G_END_DECLS -#endif /* __GDK_X11_DISPLAY_H__ */ diff --git a/gdk/x11/gdkx11dnd.h b/gdk/x11/gdkx11dnd.h index 4da3d31652..36c607de25 100644 --- a/gdk/x11/gdkx11dnd.h +++ b/gdk/x11/gdkx11dnd.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef __GDK_X11_DND_H__ -#define __GDK_X11_DND_H__ +#pragma once #if !defined (__GDKX_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -45,4 +44,3 @@ GType gdk_x11_drag_get_type (void); G_END_DECLS -#endif /* __GDK_X11_DRAG_H__ */ diff --git a/gdk/x11/gdkx11glcontext.h b/gdk/x11/gdkx11glcontext.h index 173f6acac7..36c4445644 100644 --- a/gdk/x11/gdkx11glcontext.h +++ b/gdk/x11/gdkx11glcontext.h @@ -18,8 +18,7 @@ * License along with this library. If not, see . */ -#ifndef __GDK_X11_GL_CONTEXT_H__ -#define __GDK_X11_GL_CONTEXT_H__ +#pragma once #if !defined (__GDKX_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -53,4 +52,3 @@ gpointer gdk_x11_display_get_egl_display (GdkDisplay *display); G_END_DECLS -#endif /* __GDK_X11_GL_CONTEXT_H__ */ diff --git a/gdk/x11/gdkx11monitor.h b/gdk/x11/gdkx11monitor.h index ddfa8a3f61..51e65646f4 100644 --- a/gdk/x11/gdkx11monitor.h +++ b/gdk/x11/gdkx11monitor.h @@ -19,8 +19,7 @@ * License along with this library. If not, see . */ -#ifndef __GDK_X11_MONITOR_H__ -#define __GDK_X11_MONITOR_H__ +#pragma once #if !defined (__GDKX_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -49,4 +48,3 @@ void gdk_x11_monitor_get_workarea (GdkMonitor *monitor, G_END_DECLS -#endif /* __GDK_X11_MONITOR_H__ */ diff --git a/gdk/x11/gdkx11property.h b/gdk/x11/gdkx11property.h index 905711cb76..e2b8ea3593 100644 --- a/gdk/x11/gdkx11property.h +++ b/gdk/x11/gdkx11property.h @@ -22,8 +22,7 @@ * GTK+ at ftp://ftp.gtk.org/pub/gtk/. */ -#ifndef __GDK_X11_PROPERTY_H__ -#define __GDK_X11_PROPERTY_H__ +#pragma once #if !defined (__GDKX_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -45,4 +44,3 @@ const char * gdk_x11_get_xatom_name_for_display (GdkDisplay *display, G_END_DECLS -#endif /* __GDK_X11_PROPERTY_H__ */ diff --git a/gdk/x11/gdkx11screen.h b/gdk/x11/gdkx11screen.h index f18ddfeef8..86cac3f088 100644 --- a/gdk/x11/gdkx11screen.h +++ b/gdk/x11/gdkx11screen.h @@ -22,8 +22,7 @@ * GTK+ at ftp://ftp.gtk.org/pub/gtk/. */ -#ifndef __GDK_X11_SCREEN_H__ -#define __GDK_X11_SCREEN_H__ +#pragma once #if !defined (__GDKX_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -72,4 +71,3 @@ guint32 gdk_x11_screen_get_current_desktop (GdkX11Screen *screen); G_END_DECLS -#endif /* __GDK_X11_SCREEN_H__ */ diff --git a/gdk/x11/gdkx11selection.h b/gdk/x11/gdkx11selection.h index 2b012e0685..7fcf0985a7 100644 --- a/gdk/x11/gdkx11selection.h +++ b/gdk/x11/gdkx11selection.h @@ -22,8 +22,7 @@ * GTK+ at ftp://ftp.gtk.org/pub/gtk/. */ -#ifndef __GDK_X11_SELECTION_H__ -#define __GDK_X11_SELECTION_H__ +#pragma once #if !defined (__GDKX_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -64,4 +63,3 @@ void gdk_x11_free_compound_text (guchar *ctext); G_END_DECLS -#endif /* __GDK_X11_SELECTION_H__ */ diff --git a/gdk/x11/gdkx11surface.h b/gdk/x11/gdkx11surface.h index 32fa80db76..228b59ab8b 100644 --- a/gdk/x11/gdkx11surface.h +++ b/gdk/x11/gdkx11surface.h @@ -22,8 +22,7 @@ * GTK+ at ftp://ftp.gtk.org/pub/gtk/. */ -#ifndef __GDK_X11_SURFACE_H__ -#define __GDK_X11_SURFACE_H__ +#pragma once #if !defined (__GDKX_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -124,4 +123,3 @@ GdkSurface * gdk_x11_surface_get_group (GdkSurface *surface); G_END_DECLS -#endif /* __GDK_X11_SURFACE_H__ */ diff --git a/gdk/x11/gdkx11utils.h b/gdk/x11/gdkx11utils.h index 0ed21dfefb..a1d17f1427 100644 --- a/gdk/x11/gdkx11utils.h +++ b/gdk/x11/gdkx11utils.h @@ -22,8 +22,7 @@ * GTK+ at ftp://ftp.gtk.org/pub/gtk/. */ -#ifndef __GDK_X11_UTILS_H__ -#define __GDK_X11_UTILS_H__ +#pragma once #if !defined (__GDKX_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -58,4 +57,3 @@ G_BEGIN_DECLS G_END_DECLS -#endif /* __GDK_X11_UTILS_H__ */ diff --git a/gdk/x11/xsettings-client.h b/gdk/x11/xsettings-client.h index aab28d7732..6faa2146c8 100644 --- a/gdk/x11/xsettings-client.h +++ b/gdk/x11/xsettings-client.h @@ -20,8 +20,7 @@ * * Author: Owen Taylor, Red Hat, Inc. */ -#ifndef XSETTINGS_CLIENT_H -#define XSETTINGS_CLIENT_H +#pragma once #include #include @@ -36,4 +35,3 @@ GdkFilterReturn gdk_xsettings_manager_window_filter (const XEvent *xevent, gpointer data); -#endif /* XSETTINGS_CLIENT_H */ diff --git a/gsk/broadway/gskbroadwayrenderer.h b/gsk/broadway/gskbroadwayrenderer.h index 9e8d3dbe0b..ac16f326ea 100644 --- a/gsk/broadway/gskbroadwayrenderer.h +++ b/gsk/broadway/gskbroadwayrenderer.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef __GSK_BROADWAY_RENDERER_H__ -#define __GSK_BROADWAY_RENDERER_H__ +#pragma once #include #include @@ -49,4 +48,3 @@ G_END_DECLS #endif /* GDK_WINDOWING_BROADWAY */ -#endif /* __GSK_BROADWAY_RENDERER_H__ */ diff --git a/gsk/gl/fp16private.h b/gsk/gl/fp16private.h index fbb95cdc1b..faeeaa2d81 100644 --- a/gsk/gl/fp16private.h +++ b/gsk/gl/fp16private.h @@ -18,8 +18,7 @@ * SPDX-License-Identifier: LGPL-2.1-or-later */ -#ifndef __FP16_PRIVATE_H__ -#define __FP16_PRIVATE_H__ +#pragma once #include @@ -73,4 +72,3 @@ void half_to_float_c (const guint16 *h, G_END_DECLS -#endif diff --git a/gsk/gl/gskglattachmentstateprivate.h b/gsk/gl/gskglattachmentstateprivate.h index e2fdb621c6..67141b0452 100644 --- a/gsk/gl/gskglattachmentstateprivate.h +++ b/gsk/gl/gskglattachmentstateprivate.h @@ -18,8 +18,7 @@ * SPDX-License-Identifier: LGPL-2.1-or-later */ -#ifndef __GSK_GL_ATTACHMENT_STATE_PRIVATE_H__ -#define __GSK_GL_ATTACHMENT_STATE_PRIVATE_H__ +#pragma once #include "gskgltypesprivate.h" @@ -96,4 +95,3 @@ void gsk_gl_attachment_state_bind_framebuffer (GskGLAttachmentS G_END_DECLS -#endif /* __GSK_GL_ATTACHMENT_STATE_PRIVATE_H__ */ diff --git a/gsk/gl/gskglbufferprivate.h b/gsk/gl/gskglbufferprivate.h index 3f783898f0..fa4e65cc37 100644 --- a/gsk/gl/gskglbufferprivate.h +++ b/gsk/gl/gskglbufferprivate.h @@ -18,8 +18,7 @@ * SPDX-License-Identifier: LGPL-2.1-or-later */ -#ifndef __GSK_GL_BUFFER_PRIVATE_H__ -#define __GSK_GL_BUFFER_PRIVATE_H__ +#pragma once #include "gskgltypesprivate.h" @@ -79,4 +78,3 @@ gsk_gl_buffer_get_offset (GskGLBuffer *buffer) G_END_DECLS -#endif /* __GSK_GL_BUFFER_PRIVATE_H__ */ diff --git a/gsk/gl/gskglcommandqueueprivate.h b/gsk/gl/gskglcommandqueueprivate.h index cab15afbaa..c946eb9803 100644 --- a/gsk/gl/gskglcommandqueueprivate.h +++ b/gsk/gl/gskglcommandqueueprivate.h @@ -18,8 +18,7 @@ * SPDX-License-Identifier: LGPL-2.1-or-later */ -#ifndef __GSK_GL_COMMAND_QUEUE_PRIVATE_H__ -#define __GSK_GL_COMMAND_QUEUE_PRIVATE_H__ +#pragma once #include @@ -374,4 +373,3 @@ gsk_gl_command_queue_bind_framebuffer (GskGLCommandQueue *self, G_END_DECLS -#endif /* __GSK_GL_COMMAND_QUEUE_PRIVATE_H__ */ diff --git a/gsk/gl/gskglcompilerprivate.h b/gsk/gl/gskglcompilerprivate.h index 54f3e00836..82a2dda81a 100644 --- a/gsk/gl/gskglcompilerprivate.h +++ b/gsk/gl/gskglcompilerprivate.h @@ -18,8 +18,7 @@ * SPDX-License-Identifier: LGPL-2.1-or-later */ -#ifndef __GSK_GL_COMPILER_PRIVATE_H__ -#define __GSK_GL_COMPILER_PRIVATE_H__ +#pragma once #include "gskgltypesprivate.h" @@ -67,4 +66,3 @@ GskGLProgram * gsk_gl_compiler_compile (GskGLCompiler * G_END_DECLS -#endif /* __GSK_GL_COMPILER_PRIVATE_H__ */ diff --git a/gsk/gl/gskgldriverprivate.h b/gsk/gl/gskgldriverprivate.h index 2945aaa4e7..15340b0a1b 100644 --- a/gsk/gl/gskgldriverprivate.h +++ b/gsk/gl/gskgldriverprivate.h @@ -18,8 +18,7 @@ * SPDX-License-Identifier: LGPL-2.1-or-later */ -#ifndef __GSK_GL_DRIVER_PRIVATE_H__ -#define __GSK_GL_DRIVER_PRIVATE_H__ +#pragma once #include @@ -242,4 +241,3 @@ gsk_gl_driver_slice_texture (GskGLDriver *self, G_END_DECLS -#endif /* __GSK_GL_DRIVER_PRIVATE_H__ */ diff --git a/gsk/gl/gskglglyphlibraryprivate.h b/gsk/gl/gskglglyphlibraryprivate.h index 42692f34e6..b3022b4630 100644 --- a/gsk/gl/gskglglyphlibraryprivate.h +++ b/gsk/gl/gskglglyphlibraryprivate.h @@ -18,8 +18,7 @@ * SPDX-License-Identifier: LGPL-2.1-or-later */ -#ifndef __GSK_GL_GLYPH_LIBRARY_PRIVATE_H__ -#define __GSK_GL_GLYPH_LIBRARY_PRIVATE_H__ +#pragma once #include @@ -102,4 +101,3 @@ gsk_gl_glyph_library_lookup_or_add (GskGLGlyphLibrary *self, G_END_DECLS -#endif /* __GSK_GL_GLYPH_LIBRARY_PRIVATE_H__ */ diff --git a/gsk/gl/gskgliconlibraryprivate.h b/gsk/gl/gskgliconlibraryprivate.h index 8c34aec2f1..dc99b546ce 100644 --- a/gsk/gl/gskgliconlibraryprivate.h +++ b/gsk/gl/gskgliconlibraryprivate.h @@ -18,8 +18,7 @@ * SPDX-License-Identifier: LGPL-2.1-or-later */ -#ifndef __GSK_GL_ICON_LIBRARY_PRIVATE_H__ -#define __GSK_GL_ICON_LIBRARY_PRIVATE_H__ +#pragma once #include @@ -57,4 +56,3 @@ gsk_gl_icon_library_lookup_or_add (GskGLIconLibrary *self, G_END_DECLS -#endif /* __GSK_GL_ICON_LIBRARY_PRIVATE_H__ */ diff --git a/gsk/gl/gskglprofilerprivate.h b/gsk/gl/gskglprofilerprivate.h index 5b2a24b09f..3aa0650c11 100644 --- a/gsk/gl/gskglprofilerprivate.h +++ b/gsk/gl/gskglprofilerprivate.h @@ -1,5 +1,4 @@ -#ifndef __GSK_GL_PROFILER_PRIVATE_H__ -#define __GSK_GL_PROFILER_PRIVATE_H__ +#pragma once #include @@ -15,4 +14,3 @@ guint64 gsk_gl_profiler_end_gpu_region (GskGLProfiler *profiler G_END_DECLS -#endif /* __GSK_GL_PROFILER_PRIVATE_H__ */ diff --git a/gsk/gl/gskglprogramprivate.h b/gsk/gl/gskglprogramprivate.h index 4947fb1a32..50c191eb4b 100644 --- a/gsk/gl/gskglprogramprivate.h +++ b/gsk/gl/gskglprogramprivate.h @@ -18,8 +18,7 @@ * SPDX-License-Identifier: LGPL-2.1-or-later */ -#ifndef __GSK_GL_PROGRAM_PRIVATE_H__ -#define __GSK_GL_PROGRAM_PRIVATE_H__ +#pragma once #include "gskgltypesprivate.h" @@ -301,4 +300,3 @@ gsk_gl_program_set_uniform_matrix (GskGLProgram *self, G_END_DECLS -#endif /* __GSK_GL_PROGRAM_PRIVATE_H__ */ diff --git a/gsk/gl/gskglrenderer.h b/gsk/gl/gskglrenderer.h index 818848479f..feb793ef29 100644 --- a/gsk/gl/gskglrenderer.h +++ b/gsk/gl/gskglrenderer.h @@ -18,8 +18,7 @@ * SPDX-License-Identifier: LGPL-2.1-or-later */ -#ifndef __GSK_GL_RENDERER_H__ -#define __GSK_GL_RENDERER_H__ +#pragma once #include @@ -47,4 +46,3 @@ GDK_DEPRECATED_IN_4_4_FOR (gsk_gl_renderer_new) GskRenderer *gsk_ngl_renderer_new (void); G_END_DECLS -#endif /* __GSK_GL_RENDERER__ */ diff --git a/gsk/gl/gskglrendererprivate.h b/gsk/gl/gskglrendererprivate.h index df23e0705f..59a7222e71 100644 --- a/gsk/gl/gskglrendererprivate.h +++ b/gsk/gl/gskglrendererprivate.h @@ -18,8 +18,7 @@ * SPDX-License-Identifier: LGPL-2.1-or-later */ -#ifndef __GSK_GL_RENDERER_PRIVATE_H__ -#define __GSK_GL_RENDERER_PRIVATE_H__ +#pragma once #include "gskglrenderer.h" @@ -31,4 +30,3 @@ gboolean gsk_gl_renderer_try_compile_gl_shader (GskGLRenderer *renderer, G_END_DECLS -#endif /* __GSK_GL_RENDERER_PRIVATE_H__ */ diff --git a/gsk/gl/gskglrenderjobprivate.h b/gsk/gl/gskglrenderjobprivate.h index 3b92215d3a..c340bf1490 100644 --- a/gsk/gl/gskglrenderjobprivate.h +++ b/gsk/gl/gskglrenderjobprivate.h @@ -18,8 +18,7 @@ * SPDX-License-Identifier: LGPL-2.1-or-later */ -#ifndef __GSK_GL_RENDER_JOB_H__ -#define __GSK_GL_RENDER_JOB_H__ +#pragma once #include "gskgltypesprivate.h" @@ -37,4 +36,3 @@ void gsk_gl_render_job_render_flipped (GskGLRenderJob *job void gsk_gl_render_job_set_debug_fallback (GskGLRenderJob *job, gboolean debug_fallback); -#endif /* __GSK_GL_RENDER_JOB_H__ */ diff --git a/gsk/gl/gskglshadowlibraryprivate.h b/gsk/gl/gskglshadowlibraryprivate.h index a328674731..3c3c77c9e3 100644 --- a/gsk/gl/gskglshadowlibraryprivate.h +++ b/gsk/gl/gskglshadowlibraryprivate.h @@ -18,8 +18,7 @@ * SPDX-License-Identifier: LGPL-2.1-or-later */ -#ifndef __GSK_GL_SHADOW_LIBRARY_PRIVATE_H__ -#define __GSK_GL_SHADOW_LIBRARY_PRIVATE_H__ +#pragma once #include "gskgltexturelibraryprivate.h" @@ -41,4 +40,3 @@ void gsk_gl_shadow_library_insert (GskGLShadowLibrary *se G_END_DECLS -#endif /* __GSK_GL_SHADOW_LIBRARY_PRIVATE_H__ */ diff --git a/gsk/gl/gskgltexturelibraryprivate.h b/gsk/gl/gskgltexturelibraryprivate.h index a0292c497b..e2c3589fab 100644 --- a/gsk/gl/gskgltexturelibraryprivate.h +++ b/gsk/gl/gskgltexturelibraryprivate.h @@ -18,8 +18,7 @@ * SPDX-License-Identifier: LGPL-2.1-or-later */ -#ifndef __GSK_GL_TEXTURE_LIBRARY_PRIVATE_H__ -#define __GSK_GL_TEXTURE_LIBRARY_PRIVATE_H__ +#pragma once #include "gskgltypesprivate.h" #include "gskgltextureprivate.h" @@ -231,4 +230,3 @@ gsk_gl_texture_library_can_cache (GskGLTextureLibrary *self, G_END_DECLS -#endif /* __GSK_GL_TEXTURE_LIBRARY_PRIVATE_H__ */ diff --git a/gsk/gl/gskgltextureprivate.h b/gsk/gl/gskgltextureprivate.h index 4d25767ef4..b6cf5e42bb 100644 --- a/gsk/gl/gskgltextureprivate.h +++ b/gsk/gl/gskgltextureprivate.h @@ -18,8 +18,7 @@ * SPDX-License-Identifier: LGPL-2.1-or-later */ -#ifndef _GSK_GL_TEXTURE_PRIVATE_H__ -#define _GSK_GL_TEXTURE_PRIVATE_H__ +#pragma once #include "gskgltypesprivate.h" @@ -90,4 +89,3 @@ void gsk_gl_texture_free (GskGLTexture G_END_DECLS -#endif /* _GSK_GL_TEXTURE_PRIVATE_H__ */ diff --git a/gsk/gl/gskgltypesprivate.h b/gsk/gl/gskgltypesprivate.h index 1250756fb7..c16c22c5a0 100644 --- a/gsk/gl/gskgltypesprivate.h +++ b/gsk/gl/gskgltypesprivate.h @@ -18,8 +18,7 @@ * SPDX-License-Identifier: LGPL-2.1-or-later */ -#ifndef __GSK_GL_TYPES_PRIVATE_H__ -#define __GSK_GL_TYPES_PRIVATE_H__ +#pragma once #include #include @@ -63,4 +62,3 @@ struct _GskGLDrawVertex G_END_DECLS -#endif /* __GSK_GL_TYPES_PRIVATE_H__ */ diff --git a/gsk/gl/gskgluniformstateprivate.h b/gsk/gl/gskgluniformstateprivate.h index af5c82ab07..3704be957c 100644 --- a/gsk/gl/gskgluniformstateprivate.h +++ b/gsk/gl/gskgluniformstateprivate.h @@ -18,8 +18,7 @@ * SPDX-License-Identifier: LGPL-2.1-or-later */ -#ifndef GSK_GL_UNIFORM_STATE_PRIVATE_H -#define GSK_GL_UNIFORM_STATE_PRIVATE_H +#pragma once #include "gskgltypesprivate.h" @@ -833,4 +832,3 @@ gsk_gl_uniform_state_apply (GskGLUniformState *state, G_END_DECLS -#endif /* GSK_GL_UNIFORM_STATE_PRIVATE_H */ diff --git a/gsk/gl/inlinearray.h b/gsk/gl/inlinearray.h index 98a9255c68..204513d23c 100644 --- a/gsk/gl/inlinearray.h +++ b/gsk/gl/inlinearray.h @@ -1,5 +1,4 @@ -#ifndef __INLINE_ARRAY_H__ -#define __INLINE_ARRAY_H__ +#pragma once #define DEFINE_INLINE_ARRAY(Type, prefix, ElementType) \ typedef struct _##Type { \ @@ -74,4 +73,3 @@ return element - &ar->items[0]; \ } -#endif /* __INLINE_ARRAY_H__ */ diff --git a/gsk/gl/ninesliceprivate.h b/gsk/gl/ninesliceprivate.h index 1ad905929d..7191ec5f13 100644 --- a/gsk/gl/ninesliceprivate.h +++ b/gsk/gl/ninesliceprivate.h @@ -19,8 +19,7 @@ * SPDX-License-Identifier: LGPL-2.1-or-later */ -#ifndef __NINE_SLICE_PRIVATE_H__ -#define __NINE_SLICE_PRIVATE_H__ +#pragma once #include "gskgltextureprivate.h" @@ -307,4 +306,3 @@ nine_slice_grow (GskGLTextureNineSlice *slices, G_END_DECLS -#endif /* __NINE_SLICE_PRIVATE_H__ */ diff --git a/gsk/gl/stb_rect_pack.h b/gsk/gl/stb_rect_pack.h index 3ecb1c2fa2..07d0fb79a5 100644 --- a/gsk/gl/stb_rect_pack.h +++ b/gsk/gl/stb_rect_pack.h @@ -54,8 +54,7 @@ // INCLUDE SECTION // -#ifndef STB_INCLUDE_STB_RECT_PACK_H -#define STB_INCLUDE_STB_RECT_PACK_H +#pragma once #define STB_RECT_PACK_VERSION 1 @@ -187,5 +186,4 @@ struct stbrp_context } #endif -#endif diff --git a/gsk/gsk.h b/gsk/gsk.h index 25fe1b7bf6..fc5f3962f9 100644 --- a/gsk/gsk.h +++ b/gsk/gsk.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef __GSK_H__ -#define __GSK_H__ +#pragma once #define __GSK_H_INSIDE__ @@ -34,4 +33,3 @@ #undef __GSK_H_INSIDE__ -#endif /* __GSK_H__ */ diff --git a/gsk/gskcairoblurprivate.h b/gsk/gskcairoblurprivate.h index 81d724e897..61ddc0750d 100644 --- a/gsk/gskcairoblurprivate.h +++ b/gsk/gskcairoblurprivate.h @@ -21,8 +21,7 @@ * */ -#ifndef _GSK_CAIRO_BLUR_H -#define _GSK_CAIRO_BLUR_H +#pragma once #include #include @@ -51,4 +50,3 @@ cairo_t * gsk_cairo_blur_finish_drawing (cairo_t *cr, G_END_DECLS -#endif /* _GSK_CAIRO_BLUR_H */ diff --git a/gsk/gskcairorenderer.h b/gsk/gskcairorenderer.h index 249b5a7b96..df0b4a4e6e 100644 --- a/gsk/gskcairorenderer.h +++ b/gsk/gskcairorenderer.h @@ -18,8 +18,7 @@ * Authors: Benjamin Otte */ -#ifndef __GSK_CAIRO_RENDERER_H__ -#define __GSK_CAIRO_RENDERER_H__ +#pragma once #include #include @@ -53,4 +52,3 @@ GskRenderer * gsk_cairo_renderer_new (void); G_END_DECLS -#endif /* __GSK_CAIRO_RENDERER_H__ */ diff --git a/gsk/gskdebugprivate.h b/gsk/gskdebugprivate.h index 36ea6de72e..bb23101b34 100644 --- a/gsk/gskdebugprivate.h +++ b/gsk/gskdebugprivate.h @@ -1,5 +1,4 @@ -#ifndef __GSK_DEBUG_PRIVATE_H__ -#define __GSK_DEBUG_PRIVATE_H__ +#pragma once #include #include "gdk/gdkdebugprivate.h" @@ -59,4 +58,3 @@ gboolean gsk_check_debug_flags (GskDebugFlags flags); G_END_DECLS -#endif /* __GSK_DEBUG_PRIVATE_H__ */ diff --git a/gsk/gskdiffprivate.h b/gsk/gskdiffprivate.h index 6c1c67664a..144afaf833 100644 --- a/gsk/gskdiffprivate.h +++ b/gsk/gskdiffprivate.h @@ -17,8 +17,7 @@ * Authors: Benjamin Otte */ -#ifndef __GSK_DIFF_PRIVATE_H__ -#define __GSK_DIFF_PRIVATE_H__ +#pragma once #include @@ -52,4 +51,3 @@ GskDiffResult gsk_diff (gconstpointer G_END_DECLS -#endif /* __GSK_DIFF_PRIVATE_H__ */ diff --git a/gsk/gskenums.h b/gsk/gskenums.h index 92e6aa456a..5b0ac88193 100644 --- a/gsk/gskenums.h +++ b/gsk/gskenums.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef __GSK_ENUMS_H__ -#define __GSK_ENUMS_H__ +#pragma once #if !defined (__GSK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -276,4 +275,3 @@ typedef enum GSK_MASK_MODE_INVERTED_LUMINANCE } GskMaskMode; -#endif /* __GSK_TYPES_H__ */ diff --git a/gsk/gskglshader.h b/gsk/gskglshader.h index bbf2f83f55..0e2fc5c165 100644 --- a/gsk/gskglshader.h +++ b/gsk/gskglshader.h @@ -16,8 +16,7 @@ * License along with this library. If not, see . */ -#ifndef __GSK_GL_SHADER_H__ -#define __GSK_GL_SHADER_H__ +#pragma once #if !defined (__GSK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -164,4 +163,3 @@ void gsk_shader_args_builder_set_vec4 (GskShaderArgsBuilder *builder, G_END_DECLS -#endif /* __GSK_GL_SHADER_H__ */ diff --git a/gsk/gskglshaderprivate.h b/gsk/gskglshaderprivate.h index 3dc82c35dc..b28a787866 100644 --- a/gsk/gskglshaderprivate.h +++ b/gsk/gskglshaderprivate.h @@ -1,5 +1,4 @@ -#ifndef __GSK_GLSHADER_PRIVATE_H__ -#define __GSK_GLSHADER_PRIVATE_H__ +#pragma once #include @@ -16,4 +15,3 @@ const GskGLUniform *gsk_gl_shader_get_uniforms (GskGLShader *shader, G_END_DECLS -#endif /* __GSK_GLSHADER_PRIVATE_H__ */ diff --git a/gsk/gskprivate.h b/gsk/gskprivate.h index a8b92b4b18..b9e32b00db 100644 --- a/gsk/gskprivate.h +++ b/gsk/gskprivate.h @@ -1,5 +1,4 @@ -#ifndef __GSK_PRIVATE_H__ -#define __GSK_PRIVATE_H__ +#pragma once #include #include @@ -13,4 +12,3 @@ typedef struct _GskVulkanRenderPass GskVulkanRenderPass; G_END_DECLS -#endif /* __GSK_PRIVATE_H__ */ diff --git a/gsk/gskprofilerprivate.h b/gsk/gskprofilerprivate.h index ff71d4c947..d0838d3311 100644 --- a/gsk/gskprofilerprivate.h +++ b/gsk/gskprofilerprivate.h @@ -1,5 +1,4 @@ -#ifndef __GSK_PROFILER_PRIVATE_H__ -#define __GSK_PROFILER_PRIVATE_H__ +#pragma once #include @@ -53,4 +52,3 @@ void gsk_profiler_append_timers (GskProfiler *profiler, G_END_DECLS -#endif /* __GSK_PROFILER_PRIVATE_H__ */ diff --git a/gsk/gskrenderer.h b/gsk/gskrenderer.h index b14898d39d..af73141e2b 100644 --- a/gsk/gskrenderer.h +++ b/gsk/gskrenderer.h @@ -16,8 +16,7 @@ * License along with this library. If not, see . */ -#ifndef __GSK_RENDERER_H__ -#define __GSK_RENDERER_H__ +#pragma once #if !defined (__GSK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -67,4 +66,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GskRenderer, g_object_unref) G_END_DECLS -#endif /* __GSK_RENDERER_H__ */ diff --git a/gsk/gskrendererprivate.h b/gsk/gskrendererprivate.h index fcee1849f2..1496a8658c 100644 --- a/gsk/gskrendererprivate.h +++ b/gsk/gskrendererprivate.h @@ -16,8 +16,7 @@ * License along with this library. If not, see . */ -#ifndef __GSK_RENDERER_PRIVATE_H__ -#define __GSK_RENDERER_PRIVATE_H__ +#pragma once #include "gskrenderer.h" #include "gskprofilerprivate.h" @@ -61,4 +60,3 @@ void gsk_renderer_set_debug_flags (GskRenderer G_END_DECLS -#endif /* __GSK_RENDERER_PRIVATE_H__ */ diff --git a/gsk/gskrendernode.h b/gsk/gskrendernode.h index 36b7ae190c..b1ceec5cea 100644 --- a/gsk/gskrendernode.h +++ b/gsk/gskrendernode.h @@ -16,8 +16,7 @@ * License along with this library. If not, see . */ -#ifndef __GSK_RENDER_NODE_H__ -#define __GSK_RENDER_NODE_H__ +#pragma once #if !defined (__GSK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -585,4 +584,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GskRenderNode, gsk_render_node_unref) G_END_DECLS -#endif /* __GSK_RENDER_NODE_H__ */ diff --git a/gsk/gskrendernodeparserprivate.h b/gsk/gskrendernodeparserprivate.h index 7994488772..e22ee9e970 100644 --- a/gsk/gskrendernodeparserprivate.h +++ b/gsk/gskrendernodeparserprivate.h @@ -1,6 +1,5 @@ -#ifndef __GSK_RENDER_NODE_PARSER_PRIVATE_H__ -#define __GSK_RENDER_NODE_PARSER_PRIVATE_H__ +#pragma once #include "gskrendernode.h" @@ -8,4 +7,3 @@ GskRenderNode * gsk_render_node_deserialize_from_bytes (GBytes *byte GskParseErrorFunc error_func, gpointer user_data); -#endif diff --git a/gsk/gskrendernodeprivate.h b/gsk/gskrendernodeprivate.h index 32acf04606..8ec971e94a 100644 --- a/gsk/gskrendernodeprivate.h +++ b/gsk/gskrendernodeprivate.h @@ -1,5 +1,4 @@ -#ifndef __GSK_RENDER_NODE_PRIVATE_H__ -#define __GSK_RENDER_NODE_PRIVATE_H__ +#pragma once #include "gskrendernode.h" #include @@ -121,4 +120,3 @@ gboolean gsk_render_node_use_offscreen_for_opacity (const GskRenderNode *n G_END_DECLS -#endif /* __GSK_RENDER_NODE_PRIVATE_H__ */ diff --git a/gsk/gskroundedrect.h b/gsk/gskroundedrect.h index 3dbaf0552c..ecf6f182fc 100644 --- a/gsk/gskroundedrect.h +++ b/gsk/gskroundedrect.h @@ -16,8 +16,7 @@ * License along with this library. If not, see . */ -#ifndef __GSK_ROUNDED_RECT_H__ -#define __GSK_ROUNDED_RECT_H__ +#pragma once #if !defined (__GSK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -97,4 +96,3 @@ gboolean gsk_rounded_rect_intersects_rect (const GskRounde G_END_DECLS -#endif /* __GSK_ROUNDED_RECT_H__ */ diff --git a/gsk/gskroundedrectprivate.h b/gsk/gskroundedrectprivate.h index 8cd00d3995..5be1a4ab0c 100644 --- a/gsk/gskroundedrectprivate.h +++ b/gsk/gskroundedrectprivate.h @@ -1,5 +1,4 @@ -#ifndef __GSK_ROUNDED_RECT_PRIVATE_H__ -#define __GSK_ROUNDED_RECT_PRIVATE_H__ +#pragma once #include "gskroundedrect.h" @@ -38,4 +37,3 @@ char * gsk_rounded_rect_to_string (const GskRounde G_END_DECLS -#endif /* __GSK_ROUNDED_RECT_PRIVATE_H__ */ diff --git a/gsk/gsktransform.h b/gsk/gsktransform.h index 9579a684b7..54fba38c43 100644 --- a/gsk/gsktransform.h +++ b/gsk/gsktransform.h @@ -18,8 +18,7 @@ */ -#ifndef __GSK_TRANSFORM_H__ -#define __GSK_TRANSFORM_H__ +#pragma once #if !defined (__GSK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -138,4 +137,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GskTransform, gsk_transform_unref) G_END_DECLS -#endif /* __GSK_TRANSFORM_H__ */ diff --git a/gsk/gsktransformprivate.h b/gsk/gsktransformprivate.h index a7871c35f4..3d0504d5e3 100644 --- a/gsk/gsktransformprivate.h +++ b/gsk/gsktransformprivate.h @@ -18,8 +18,7 @@ */ -#ifndef __GSK_TRANSFORM_PRIVATE_H__ -#define __GSK_TRANSFORM_PRIVATE_H__ +#pragma once #include "gsktransform.h" @@ -58,5 +57,4 @@ void gsk_matrix_transform_rect (const graphene_matrix_t *m, G_END_DECLS -#endif /* __GSK_TRANSFORM_PRIVATE_H__ */ diff --git a/gsk/gsktypes.h b/gsk/gsktypes.h index f514a53364..acc8bc841b 100644 --- a/gsk/gsktypes.h +++ b/gsk/gsktypes.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef __GSK_TYPES_H__ -#define __GSK_TYPES_H__ +#pragma once #if !defined (__GSK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -29,4 +28,3 @@ typedef struct _GskRenderer GskRenderer; typedef struct _GskTransform GskTransform; -#endif /* __GSK_TYPES_H__ */ diff --git a/gsk/vulkan/gskvulkanblendmodepipelineprivate.h b/gsk/vulkan/gskvulkanblendmodepipelineprivate.h index 67822e4f9b..6382ed73e5 100644 --- a/gsk/vulkan/gskvulkanblendmodepipelineprivate.h +++ b/gsk/vulkan/gskvulkanblendmodepipelineprivate.h @@ -1,5 +1,4 @@ -#ifndef __GSK_VULKAN_BLEND_MODE_PIPELINE_PRIVATE_H__ -#define __GSK_VULKAN_BLEND_MODE_PIPELINE_PRIVATE_H__ +#pragma once #include @@ -34,4 +33,3 @@ gsize gsk_vulkan_blend_mode_pipeline_draw (GskVulka G_END_DECLS -#endif /* __GSK_VULKAN_BLEND_MODE_PIPELINE_PRIVATE_H__ */ diff --git a/gsk/vulkan/gskvulkanblurpipelineprivate.h b/gsk/vulkan/gskvulkanblurpipelineprivate.h index 0fc2cb6705..74db815b08 100644 --- a/gsk/vulkan/gskvulkanblurpipelineprivate.h +++ b/gsk/vulkan/gskvulkanblurpipelineprivate.h @@ -1,5 +1,4 @@ -#ifndef __GSK_VULKAN_BLUR_PIPELINE_PRIVATE_H__ -#define __GSK_VULKAN_BLUR_PIPELINE_PRIVATE_H__ +#pragma once #include @@ -31,4 +30,3 @@ gsize gsk_vulkan_blur_pipeline_draw (GskVulka G_END_DECLS -#endif /* __GSK_VULKAN_BLUR_PIPELINE_PRIVATE_H__ */ diff --git a/gsk/vulkan/gskvulkanborderpipelineprivate.h b/gsk/vulkan/gskvulkanborderpipelineprivate.h index d82679259d..423860bfe2 100644 --- a/gsk/vulkan/gskvulkanborderpipelineprivate.h +++ b/gsk/vulkan/gskvulkanborderpipelineprivate.h @@ -1,5 +1,4 @@ -#ifndef __GSK_VULKAN_BORDER_PIPELINE_PRIVATE_H__ -#define __GSK_VULKAN_BORDER_PIPELINE_PRIVATE_H__ +#pragma once #include @@ -32,4 +31,3 @@ gsize gsk_vulkan_border_pipeline_draw (GskVulk G_END_DECLS -#endif /* __GSK_VULKAN_BORDER_PIPELINE_PRIVATE_H__ */ diff --git a/gsk/vulkan/gskvulkanboxshadowpipelineprivate.h b/gsk/vulkan/gskvulkanboxshadowpipelineprivate.h index 975338bcf1..c8a55c1204 100644 --- a/gsk/vulkan/gskvulkanboxshadowpipelineprivate.h +++ b/gsk/vulkan/gskvulkanboxshadowpipelineprivate.h @@ -1,5 +1,4 @@ -#ifndef __GSK_VULKAN_BOX_SHADOW_PIPELINE_PRIVATE_H__ -#define __GSK_VULKAN_BOX_SHADOW_PIPELINE_PRIVATE_H__ +#pragma once #include @@ -36,4 +35,3 @@ gsize gsk_vulkan_box_shadow_pipeline_draw (GskVulk G_END_DECLS -#endif /* __GSK_VULKAN_BOX_SHADOW_PIPELINE_PRIVATE_H__ */ diff --git a/gsk/vulkan/gskvulkanbufferprivate.h b/gsk/vulkan/gskvulkanbufferprivate.h index 700e400528..bdccf597c4 100644 --- a/gsk/vulkan/gskvulkanbufferprivate.h +++ b/gsk/vulkan/gskvulkanbufferprivate.h @@ -1,5 +1,4 @@ -#ifndef __GSK_VULKAN_BUFFER_PRIVATE_H__ -#define __GSK_VULKAN_BUFFER_PRIVATE_H__ +#pragma once #include @@ -22,4 +21,3 @@ void gsk_vulkan_buffer_unmap (GskVulk G_END_DECLS -#endif /* __GSK_VULKAN_BUFFER_PRIVATE_H__ */ diff --git a/gsk/vulkan/gskvulkanclipprivate.h b/gsk/vulkan/gskvulkanclipprivate.h index ebae166c14..03282066af 100644 --- a/gsk/vulkan/gskvulkanclipprivate.h +++ b/gsk/vulkan/gskvulkanclipprivate.h @@ -1,5 +1,4 @@ -#ifndef __GSK_VULKAN_CLIP_PRIVATE_H__ -#define __GSK_VULKAN_CLIP_PRIVATE_H__ +#pragma once #include #include @@ -54,4 +53,3 @@ gboolean gsk_vulkan_clip_contains_rect (const G G_END_DECLS -#endif /* __GSK_VULKAN_CLIP_PRIVATE_H__ */ diff --git a/gsk/vulkan/gskvulkancolorpipelineprivate.h b/gsk/vulkan/gskvulkancolorpipelineprivate.h index b9ae514d29..bf9280b26c 100644 --- a/gsk/vulkan/gskvulkancolorpipelineprivate.h +++ b/gsk/vulkan/gskvulkancolorpipelineprivate.h @@ -1,5 +1,4 @@ -#ifndef __GSK_VULKAN_COLOR_PIPELINE_PRIVATE_H__ -#define __GSK_VULKAN_COLOR_PIPELINE_PRIVATE_H__ +#pragma once #include @@ -30,4 +29,3 @@ gsize gsk_vulkan_color_pipeline_draw (GskVulk G_END_DECLS -#endif /* __GSK_VULKAN_COLOR_PIPELINE_PRIVATE_H__ */ diff --git a/gsk/vulkan/gskvulkancolortextpipelineprivate.h b/gsk/vulkan/gskvulkancolortextpipelineprivate.h index a549c25fcd..382e2d4497 100644 --- a/gsk/vulkan/gskvulkancolortextpipelineprivate.h +++ b/gsk/vulkan/gskvulkancolortextpipelineprivate.h @@ -1,5 +1,4 @@ -#ifndef __GSK_VULKAN_COLOR_TEXT_PIPELINE_PRIVATE_H__ -#define __GSK_VULKAN_COLOR_TEXT_PIPELINE_PRIVATE_H__ +#pragma once #include @@ -39,4 +38,3 @@ gsize gsk_vulkan_color_text_pipeline_draw (Gs G_END_DECLS -#endif /* __GSK_VULKAN_COLOR_TEXT_PIPELINE_PRIVATE_H__ */ diff --git a/gsk/vulkan/gskvulkancommandpoolprivate.h b/gsk/vulkan/gskvulkancommandpoolprivate.h index bb362f3fd9..46e02ca539 100644 --- a/gsk/vulkan/gskvulkancommandpoolprivate.h +++ b/gsk/vulkan/gskvulkancommandpoolprivate.h @@ -1,5 +1,4 @@ -#ifndef __GSK_VULKAN_COMMAND_POOL_PRIVATE_H__ -#define __GSK_VULKAN_COMMAND_POOL_PRIVATE_H__ +#pragma once #include @@ -23,4 +22,3 @@ void gsk_vulkan_command_pool_submit_buffer (GskVulk G_END_DECLS -#endif /* __GSK_VULKAN_COMMAND_POOL_PRIVATE_H__ */ diff --git a/gsk/vulkan/gskvulkancrossfadepipelineprivate.h b/gsk/vulkan/gskvulkancrossfadepipelineprivate.h index da5e820365..92551c5d46 100644 --- a/gsk/vulkan/gskvulkancrossfadepipelineprivate.h +++ b/gsk/vulkan/gskvulkancrossfadepipelineprivate.h @@ -1,5 +1,4 @@ -#ifndef __GSK_VULKAN_CROSS_FADE_PIPELINE_PRIVATE_H__ -#define __GSK_VULKAN_CROSS_FADE_PIPELINE_PRIVATE_H__ +#pragma once #include @@ -32,4 +31,3 @@ gsize gsk_vulkan_cross_fade_pipeline_draw (GskVulka G_END_DECLS -#endif /* __GSK_VULKAN_CROSS_FADE_PIPELINE_PRIVATE_H__ */ diff --git a/gsk/vulkan/gskvulkaneffectpipelineprivate.h b/gsk/vulkan/gskvulkaneffectpipelineprivate.h index 45ac6af9c8..b08ea07e15 100644 --- a/gsk/vulkan/gskvulkaneffectpipelineprivate.h +++ b/gsk/vulkan/gskvulkaneffectpipelineprivate.h @@ -1,5 +1,4 @@ -#ifndef __GSK_VULKAN_EFFECT_PIPELINE_PRIVATE_H__ -#define __GSK_VULKAN_EFFECT_PIPELINE_PRIVATE_H__ +#pragma once #include @@ -32,4 +31,3 @@ gsize gsk_vulkan_effect_pipeline_draw (GskVulk G_END_DECLS -#endif /* __GSK_VULKAN_EFFECT_PIPELINE_PRIVATE_H__ */ diff --git a/gsk/vulkan/gskvulkanglyphcacheprivate.h b/gsk/vulkan/gskvulkanglyphcacheprivate.h index b31711fe6d..e7520937b7 100644 --- a/gsk/vulkan/gskvulkanglyphcacheprivate.h +++ b/gsk/vulkan/gskvulkanglyphcacheprivate.h @@ -1,5 +1,4 @@ -#ifndef __GSK_VULKAN_GLYPH_CACHE_PRIVATE_H__ -#define __GSK_VULKAN_GLYPH_CACHE_PRIVATE_H__ +#pragma once #include #include "gskvulkanrendererprivate.h" @@ -29,4 +28,3 @@ GskVulkanCachedGlyph *gsk_vulkan_glyph_cache_lookup (GskVulkanGlyphCache void gsk_vulkan_glyph_cache_begin_frame (GskVulkanGlyphCache *cache); -#endif /* __GSK_VULKAN_GLYPH_CACHE_PRIVATE_H__ */ diff --git a/gsk/vulkan/gskvulkanimageprivate.h b/gsk/vulkan/gskvulkanimageprivate.h index e775fe0b2c..fe82d74922 100644 --- a/gsk/vulkan/gskvulkanimageprivate.h +++ b/gsk/vulkan/gskvulkanimageprivate.h @@ -1,5 +1,4 @@ -#ifndef __GSK_VULKAN_IMAGE_PRIVATE_H__ -#define __GSK_VULKAN_IMAGE_PRIVATE_H__ +#pragma once #include @@ -64,4 +63,3 @@ VkImageView gsk_vulkan_image_get_image_view (GskVulk G_END_DECLS -#endif /* __GSK_VULKAN_IMAGE_PRIVATE_H__ */ diff --git a/gsk/vulkan/gskvulkanlineargradientpipelineprivate.h b/gsk/vulkan/gskvulkanlineargradientpipelineprivate.h index 71b6559dc2..176cd92a70 100644 --- a/gsk/vulkan/gskvulkanlineargradientpipelineprivate.h +++ b/gsk/vulkan/gskvulkanlineargradientpipelineprivate.h @@ -1,5 +1,4 @@ -#ifndef __GSK_VULKAN_LINEAR_GRADIENT_PIPELINE_PRIVATE_H__ -#define __GSK_VULKAN_LINEAR_GRADIENT_PIPELINE_PRIVATE_H__ +#pragma once #include @@ -39,4 +38,3 @@ gsize gsk_vulkan_linear_gradient_pipeline_draw (GskVulk G_END_DECLS -#endif /* __GSK_VULKAN_LINEAR_GRADIENT_PIPELINE_PRIVATE_H__ */ diff --git a/gsk/vulkan/gskvulkanmemoryprivate.h b/gsk/vulkan/gskvulkanmemoryprivate.h index 010c133018..e8f0d932ed 100644 --- a/gsk/vulkan/gskvulkanmemoryprivate.h +++ b/gsk/vulkan/gskvulkanmemoryprivate.h @@ -1,5 +1,4 @@ -#ifndef __GSK_VULKAN_MEMORY_PRIVATE_H__ -#define __GSK_VULKAN_MEMORY_PRIVATE_H__ +#pragma once #include @@ -20,4 +19,3 @@ void gsk_vulkan_memory_unmap (GskVulk G_END_DECLS -#endif /* __GSK_VULKAN_MEMORY_PRIVATE_H__ */ diff --git a/gsk/vulkan/gskvulkanpipelineprivate.h b/gsk/vulkan/gskvulkanpipelineprivate.h index 9adf44a1b6..3deeee978f 100644 --- a/gsk/vulkan/gskvulkanpipelineprivate.h +++ b/gsk/vulkan/gskvulkanpipelineprivate.h @@ -1,5 +1,4 @@ -#ifndef __GSK_VULKAN_PIPELINE_PRIVATE_H__ -#define __GSK_VULKAN_PIPELINE_PRIVATE_H__ +#pragma once #include @@ -50,4 +49,3 @@ VkPipelineLayout gsk_vulkan_pipeline_get_pipeline_layout (GskVulk G_END_DECLS -#endif /* __GSK_VULKAN_PIPELINE_PRIVATE_H__ */ diff --git a/gsk/vulkan/gskvulkanpushconstantsprivate.h b/gsk/vulkan/gskvulkanpushconstantsprivate.h index 4f6db24c5f..a52a6fe689 100644 --- a/gsk/vulkan/gskvulkanpushconstantsprivate.h +++ b/gsk/vulkan/gskvulkanpushconstantsprivate.h @@ -1,5 +1,4 @@ -#ifndef __GSK_VULKAN_PUSH_CONSTANTS_PRIVATE_H__ -#define __GSK_VULKAN_PUSH_CONSTANTS_PRIVATE_H__ +#pragma once #include #include @@ -42,4 +41,3 @@ void gsk_vulkan_push_constants_push (const G G_END_DECLS -#endif /* __GSK_VULKAN_PUSH_CONSTANTS_PRIVATE_H__ */ diff --git a/gsk/vulkan/gskvulkanrenderer.h b/gsk/vulkan/gskvulkanrenderer.h index 7f9c642d79..d461e0876b 100644 --- a/gsk/vulkan/gskvulkanrenderer.h +++ b/gsk/vulkan/gskvulkanrenderer.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef __GSK_VULKAN_RENDERER_H__ -#define __GSK_VULKAN_RENDERER_H__ +#pragma once #include #include @@ -53,4 +52,3 @@ G_END_DECLS #endif /* GDK_WINDOWING_VULKAN */ -#endif /* __GSK_VULKAN_RENDERER_H__ */ diff --git a/gsk/vulkan/gskvulkanrendererprivate.h b/gsk/vulkan/gskvulkanrendererprivate.h index eca34ccabd..bbd43064d9 100644 --- a/gsk/vulkan/gskvulkanrendererprivate.h +++ b/gsk/vulkan/gskvulkanrendererprivate.h @@ -1,5 +1,4 @@ -#ifndef __GSK_VULKAN_RENDERER_PRIVATE_H__ -#define __GSK_VULKAN_RENDERER_PRIVATE_H__ +#pragma once #include "gskvulkanrenderer.h" #include "gskvulkanimageprivate.h" @@ -48,4 +47,3 @@ GskVulkanCachedGlyph * gsk_vulkan_renderer_get_cached_glyph (GskVulkanRenderer * G_END_DECLS -#endif /* __GSK_VULKAN_RENDERER_PRIVATE_H__ */ diff --git a/gsk/vulkan/gskvulkanrenderpassprivate.h b/gsk/vulkan/gskvulkanrenderpassprivate.h index 379db3bac2..fa5089a714 100644 --- a/gsk/vulkan/gskvulkanrenderpassprivate.h +++ b/gsk/vulkan/gskvulkanrenderpassprivate.h @@ -1,5 +1,4 @@ -#ifndef __GSK_VULKAN_RENDER_PASS_PRIVATE_H__ -#define __GSK_VULKAN_RENDER_PASS_PRIVATE_H__ +#pragma once #include #include @@ -42,4 +41,3 @@ gsize gsk_vulkan_render_pass_get_signal_semaphores (GskVulk G_END_DECLS -#endif /* __GSK_VULKAN_RENDER_PASS_PRIVATE_H__ */ diff --git a/gsk/vulkan/gskvulkanrenderprivate.h b/gsk/vulkan/gskvulkanrenderprivate.h index 29f37eb95d..1f7a23db38 100644 --- a/gsk/vulkan/gskvulkanrenderprivate.h +++ b/gsk/vulkan/gskvulkanrenderprivate.h @@ -1,5 +1,4 @@ -#ifndef __GSK_VULKAN_RENDER_PRIVATE_H__ -#define __GSK_VULKAN_RENDER_PRIVATE_H__ +#pragma once #include #include @@ -92,4 +91,3 @@ VkFramebuffer gsk_vulkan_render_get_framebuffer (GskVulk G_END_DECLS -#endif /* __GSK_VULKAN_RENDER_PRIVATE_H__ */ diff --git a/gsk/vulkan/gskvulkanshaderprivate.h b/gsk/vulkan/gskvulkanshaderprivate.h index e94424f30a..3f35b6b77f 100644 --- a/gsk/vulkan/gskvulkanshaderprivate.h +++ b/gsk/vulkan/gskvulkanshaderprivate.h @@ -1,5 +1,4 @@ -#ifndef __GSK_VULKAN_SHADER_PRIVATE_H__ -#define __GSK_VULKAN_SHADER_PRIVATE_H__ +#pragma once #include @@ -31,4 +30,3 @@ VkShaderModule gsk_vulkan_shader_get_module (GskVulk G_END_DECLS -#endif /* __GSK_VULKAN_SHADER_PRIVATE_H__ */ diff --git a/gsk/vulkan/gskvulkantextpipelineprivate.h b/gsk/vulkan/gskvulkantextpipelineprivate.h index c186c4d983..59d0a2da45 100644 --- a/gsk/vulkan/gskvulkantextpipelineprivate.h +++ b/gsk/vulkan/gskvulkantextpipelineprivate.h @@ -1,5 +1,4 @@ -#ifndef __GSK_VULKAN_TEXT_PIPELINE_PRIVATE_H__ -#define __GSK_VULKAN_TEXT_PIPELINE_PRIVATE_H__ +#pragma once #include @@ -40,4 +39,3 @@ gsize gsk_vulkan_text_pipeline_draw (GskVulka G_END_DECLS -#endif /* __GSK_VULKAN_TEXT_PIPELINE_PRIVATE_H__ */ diff --git a/gsk/vulkan/gskvulkantexturepipelineprivate.h b/gsk/vulkan/gskvulkantexturepipelineprivate.h index c6435c41ad..a4f5f8b173 100644 --- a/gsk/vulkan/gskvulkantexturepipelineprivate.h +++ b/gsk/vulkan/gskvulkantexturepipelineprivate.h @@ -1,5 +1,4 @@ -#ifndef __GSK_VULKAN_TEXTURE_PIPELINE_PRIVATE_H__ -#define __GSK_VULKAN_TEXTURE_PIPELINE_PRIVATE_H__ +#pragma once #include @@ -30,4 +29,3 @@ gsize gsk_vulkan_texture_pipeline_draw (GskVulk G_END_DECLS -#endif /* __GSK_VULKAN_TEXTURE_PIPELINE_PRIVATE_H__ */ diff --git a/gtk/compose/gtkcomposedata.h b/gtk/compose/gtkcomposedata.h index 307ae2fa4f..95f8f75472 100644 --- a/gtk/compose/gtkcomposedata.h +++ b/gtk/compose/gtkcomposedata.h @@ -1,9 +1,7 @@ -#ifndef __GTK_COMPOSE_DATA__ -#define __GTK_COMPOSE_DATA__ +#pragma once #define MAX_SEQ_LEN 5 #define N_INDEX_SIZE 39 #define DATA_SIZE 15777 #define N_CHARS 1321 -#endif diff --git a/gtk/css/gtkcss.h b/gtk/css/gtkcss.h index fbbc8d42a8..6c4082e097 100644 --- a/gtk/css/gtkcss.h +++ b/gtk/css/gtkcss.h @@ -22,8 +22,7 @@ * GTK+ at ftp://ftp.gtk.org/pub/gtk/. */ -#ifndef __GTK_CSS_H__ -#define __GTK_CSS_H__ +#pragma once #define __GTK_CSS_H_INSIDE__ @@ -38,4 +37,3 @@ #undef __GTK_CSS_H_INSIDE__ -#endif /* __GTK_CSS_H__ */ diff --git a/gtk/css/gtkcssdataurlprivate.h b/gtk/css/gtkcssdataurlprivate.h index 5d0d6a8591..296cb59818 100644 --- a/gtk/css/gtkcssdataurlprivate.h +++ b/gtk/css/gtkcssdataurlprivate.h @@ -18,8 +18,7 @@ */ -#ifndef __GTK_CSS_DATA_URL_PRIVATE_H__ -#define __GTK_CSS_DATA_URL_PRIVATE_H__ +#pragma once #include @@ -31,5 +30,4 @@ GBytes * gtk_css_data_url_parse (const char G_END_DECLS -#endif /* __GTK_CSS_DATA_URL_PRIVATE_H__ */ diff --git a/gtk/css/gtkcssenums.h b/gtk/css/gtkcssenums.h index 7c42f33194..f9584c5498 100644 --- a/gtk/css/gtkcssenums.h +++ b/gtk/css/gtkcssenums.h @@ -22,8 +22,7 @@ * GTK+ at ftp://ftp.gtk.org/pub/gtk/. */ -#ifndef __GTK_CSS_ENUMS_H__ -#define __GTK_CSS_ENUMS_H__ +#pragma once #if !defined (__GTK_CSS_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -74,4 +73,3 @@ typedef enum GTK_CSS_PARSER_WARNING_UNIMPLEMENTED } GtkCssParserWarning; -#endif /* __GTK_CSS_ENUMS_H__ */ diff --git a/gtk/css/gtkcsserror.h b/gtk/css/gtkcsserror.h index 91bf5908fb..b77a3f4002 100644 --- a/gtk/css/gtkcsserror.h +++ b/gtk/css/gtkcsserror.h @@ -18,8 +18,7 @@ */ -#ifndef __GTK_CSS_ERROR_H__ -#define __GTK_CSS_ERROR_H__ +#pragma once #include #include @@ -48,4 +47,3 @@ GQuark gtk_css_parser_warning_quark (void); G_END_DECLS -#endif /* __GTK_CSS_ERROR_H__ */ diff --git a/gtk/css/gtkcsslocation.h b/gtk/css/gtkcsslocation.h index 7fc4559fa0..f9251741e3 100644 --- a/gtk/css/gtkcsslocation.h +++ b/gtk/css/gtkcsslocation.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_CSS_LOCATION_H__ -#define __GTK_CSS_LOCATION_H__ +#pragma once #if !defined (__GTK_CSS_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -40,4 +39,3 @@ struct _GtkCssLocation G_END_DECLS -#endif /* __GTK_CSS_LOCATION_H__ */ diff --git a/gtk/css/gtkcsslocationprivate.h b/gtk/css/gtkcsslocationprivate.h index 89ff0e979e..5e45ef1008 100644 --- a/gtk/css/gtkcsslocationprivate.h +++ b/gtk/css/gtkcsslocationprivate.h @@ -18,8 +18,7 @@ */ -#ifndef __GTK_CSS_LOCATION_PRIVATE_H__ -#define __GTK_CSS_LOCATION_PRIVATE_H__ +#pragma once #include "gtkcsslocation.h" @@ -55,5 +54,4 @@ gtk_css_location_advance_newline (GtkCssLocation *location, G_END_DECLS -#endif /* __GTK_CSS_LOCATION_PRIVATE_H__ */ diff --git a/gtk/css/gtkcssparserprivate.h b/gtk/css/gtkcssparserprivate.h index 5659fe0c45..9fb3ed3eb7 100644 --- a/gtk/css/gtkcssparserprivate.h +++ b/gtk/css/gtkcssparserprivate.h @@ -18,8 +18,7 @@ */ -#ifndef __GTK_CSS_PARSER_H__ -#define __GTK_CSS_PARSER_H__ +#pragma once #include "gtkcssenums.h" #include "gtkcsstokenizerprivate.h" @@ -152,4 +151,3 @@ gsize gtk_css_parser_consume_any (GtkCssParser G_END_DECLS -#endif /* __GTK_CSS_PARSER_H__ */ diff --git a/gtk/css/gtkcsssection.h b/gtk/css/gtkcsssection.h index e0ada752aa..782d44f5f3 100644 --- a/gtk/css/gtkcsssection.h +++ b/gtk/css/gtkcsssection.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_CSS_SECTION_H__ -#define __GTK_CSS_SECTION_H__ +#pragma once #if !defined (__GTK_CSS_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -71,4 +70,3 @@ const GtkCssLocation * G_END_DECLS -#endif /* __GTK_CSS_SECTION_H__ */ diff --git a/gtk/css/gtkcssserializerprivate.h b/gtk/css/gtkcssserializerprivate.h index 86f9934faa..bd021bec6c 100644 --- a/gtk/css/gtkcssserializerprivate.h +++ b/gtk/css/gtkcssserializerprivate.h @@ -18,8 +18,7 @@ */ -#ifndef __GTK_CSS_SERIALIZER_H__ -#define __GTK_CSS_SERIALIZER_H__ +#pragma once #include @@ -31,4 +30,3 @@ void gtk_css_print_string (GString *str, G_END_DECLS -#endif /* __GTK_CSS_SERIALIZER_H__ */ diff --git a/gtk/css/gtkcsstokenizerprivate.h b/gtk/css/gtkcsstokenizerprivate.h index 6f4df9c22e..83f245b2bc 100644 --- a/gtk/css/gtkcsstokenizerprivate.h +++ b/gtk/css/gtkcsstokenizerprivate.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_CSS_TOKENIZER_PRIVATE_H__ -#define __GTK_CSS_TOKENIZER_PRIVATE_H__ +#pragma once #include @@ -151,4 +150,3 @@ gboolean gtk_css_tokenizer_read_token (GtkCssTokenizer G_END_DECLS -#endif /* __GTK_CSS_TOKENIZER_PRIVATE_H__ */ diff --git a/gtk/deprecated/gtkappchooser.h b/gtk/deprecated/gtkappchooser.h index 4c928a08f0..e9904d2d5c 100644 --- a/gtk/deprecated/gtkappchooser.h +++ b/gtk/deprecated/gtkappchooser.h @@ -19,8 +19,7 @@ * Authors: Cosimo Cecchi */ -#ifndef __GTK_APP_CHOOSER_H__ -#define __GTK_APP_CHOOSER_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -52,5 +51,4 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkAppChooser, g_object_unref) G_END_DECLS -#endif /* __GTK_APP_CHOOSER_H__ */ diff --git a/gtk/deprecated/gtkappchooserbutton.h b/gtk/deprecated/gtkappchooserbutton.h index 6f3a739507..d4e3240f7f 100644 --- a/gtk/deprecated/gtkappchooserbutton.h +++ b/gtk/deprecated/gtkappchooserbutton.h @@ -19,8 +19,7 @@ * Authors: Cosimo Cecchi */ -#ifndef __GTK_APP_CHOOSER_BUTTON_H__ -#define __GTK_APP_CHOOSER_BUTTON_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -81,4 +80,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkAppChooserButton, g_object_unref) G_END_DECLS -#endif /* __GTK_APP_CHOOSER_BUTTON_H__ */ diff --git a/gtk/deprecated/gtkappchooserdialog.h b/gtk/deprecated/gtkappchooserdialog.h index 5844810ba2..d4c5756001 100644 --- a/gtk/deprecated/gtkappchooserdialog.h +++ b/gtk/deprecated/gtkappchooserdialog.h @@ -22,8 +22,7 @@ * Cosimo Cecchi */ -#ifndef __GTK_APP_CHOOSER_DIALOG_H__ -#define __GTK_APP_CHOOSER_DIALOG_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -64,4 +63,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkAppChooserDialog, g_object_unref) G_END_DECLS -#endif /* __GTK_APP_CHOOSER_DIALOG_H__ */ diff --git a/gtk/deprecated/gtkappchooserprivate.h b/gtk/deprecated/gtkappchooserprivate.h index 754619adc7..a5c60c2f11 100644 --- a/gtk/deprecated/gtkappchooserprivate.h +++ b/gtk/deprecated/gtkappchooserprivate.h @@ -19,8 +19,7 @@ * Authors: Cosimo Cecchi */ -#ifndef __GTK_APP_CHOOSER_PRIVATE_H__ -#define __GTK_APP_CHOOSER_PRIVATE_H__ +#pragma once #include #include @@ -50,4 +49,3 @@ _gtk_app_chooser_widget_set_search_entry (GtkAppChooserWidget *self, G_END_DECLS -#endif /* __GTK_APP_CHOOSER_PRIVATE_H__ */ diff --git a/gtk/deprecated/gtkappchooserwidget.h b/gtk/deprecated/gtkappchooserwidget.h index 75751dc9eb..4e70d82ed5 100644 --- a/gtk/deprecated/gtkappchooserwidget.h +++ b/gtk/deprecated/gtkappchooserwidget.h @@ -22,8 +22,7 @@ * Cosimo Cecchi */ -#ifndef __GTK_APP_CHOOSER_WIDGET_H__ -#define __GTK_APP_CHOOSER_WIDGET_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -86,4 +85,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkAppChooserWidget, g_object_unref) G_END_DECLS -#endif /* __GTK_APP_CHOOSER_WIDGET_H__ */ diff --git a/gtk/deprecated/gtkassistant.h b/gtk/deprecated/gtkassistant.h index 03030cb43b..2d86181d86 100644 --- a/gtk/deprecated/gtkassistant.h +++ b/gtk/deprecated/gtkassistant.h @@ -21,8 +21,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_ASSISTANT_H__ -#define __GTK_ASSISTANT_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -184,4 +183,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkAssistant, g_object_unref) G_END_DECLS -#endif /* __GTK_ASSISTANT_H__ */ diff --git a/gtk/deprecated/gtkcellarea.h b/gtk/deprecated/gtkcellarea.h index 9ce52f37b1..3fe5cb95ba 100644 --- a/gtk/deprecated/gtkcellarea.h +++ b/gtk/deprecated/gtkcellarea.h @@ -19,8 +19,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_CELL_AREA_H__ -#define __GTK_CELL_AREA_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -522,4 +521,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkCellArea, g_object_unref) G_END_DECLS -#endif /* __GTK_CELL_AREA_H__ */ diff --git a/gtk/deprecated/gtkcellareabox.h b/gtk/deprecated/gtkcellareabox.h index ade84e0db4..d4c3d1c404 100644 --- a/gtk/deprecated/gtkcellareabox.h +++ b/gtk/deprecated/gtkcellareabox.h @@ -19,8 +19,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_CELL_AREA_BOX_H__ -#define __GTK_CELL_AREA_BOX_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -67,4 +66,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkCellAreaBox, g_object_unref) G_END_DECLS -#endif /* __GTK_CELL_AREA_BOX_H__ */ diff --git a/gtk/deprecated/gtkcellareaboxcontextprivate.h b/gtk/deprecated/gtkcellareaboxcontextprivate.h index aff5e22689..768683aa39 100644 --- a/gtk/deprecated/gtkcellareaboxcontextprivate.h +++ b/gtk/deprecated/gtkcellareaboxcontextprivate.h @@ -19,8 +19,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_CELL_AREA_BOX_CONTEXT_H__ -#define __GTK_CELL_AREA_BOX_CONTEXT_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -134,4 +133,3 @@ _gtk_cell_area_box_context_get_orientation_allocs (GtkCellAreaBoxContext *contex G_END_DECLS -#endif /* __GTK_CELL_AREA_BOX_CONTEXT_H__ */ diff --git a/gtk/deprecated/gtkcellareacontext.h b/gtk/deprecated/gtkcellareacontext.h index c2d5a1b8a5..c4e4416c6e 100644 --- a/gtk/deprecated/gtkcellareacontext.h +++ b/gtk/deprecated/gtkcellareacontext.h @@ -19,8 +19,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_CELL_AREA_CONTEXT_H__ -#define __GTK_CELL_AREA_CONTEXT_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -138,4 +137,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkCellAreaContext, g_object_unref) G_END_DECLS -#endif /* __GTK_CELL_AREA_CONTEXT_H__ */ diff --git a/gtk/deprecated/gtkcelleditable.h b/gtk/deprecated/gtkcelleditable.h index 57db7cbe00..1732db14f2 100644 --- a/gtk/deprecated/gtkcelleditable.h +++ b/gtk/deprecated/gtkcelleditable.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_CELL_EDITABLE_H__ -#define __GTK_CELL_EDITABLE_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -74,4 +73,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkCellEditable, g_object_unref) G_END_DECLS -#endif /* __GTK_CELL_EDITABLE_H__ */ diff --git a/gtk/deprecated/gtkcelllayout.h b/gtk/deprecated/gtkcelllayout.h index c460c34258..0fe2d6d1df 100644 --- a/gtk/deprecated/gtkcelllayout.h +++ b/gtk/deprecated/gtkcelllayout.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_CELL_LAYOUT_H__ -#define __GTK_CELL_LAYOUT_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -167,4 +166,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkCellLayout, g_object_unref) G_END_DECLS -#endif /* __GTK_CELL_LAYOUT_H__ */ diff --git a/gtk/deprecated/gtkcellrenderer.h b/gtk/deprecated/gtkcellrenderer.h index dabcc7aac8..dee95ab6b6 100644 --- a/gtk/deprecated/gtkcellrenderer.h +++ b/gtk/deprecated/gtkcellrenderer.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_CELL_RENDERER_H__ -#define __GTK_CELL_RENDERER_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -310,4 +309,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkCellRenderer, g_object_unref) G_END_DECLS -#endif /* __GTK_CELL_RENDERER_H__ */ diff --git a/gtk/deprecated/gtkcellrendereraccel.h b/gtk/deprecated/gtkcellrendereraccel.h index df3abcdd71..fba8cd9764 100644 --- a/gtk/deprecated/gtkcellrendereraccel.h +++ b/gtk/deprecated/gtkcellrendereraccel.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_CELL_RENDERER_ACCEL_H__ -#define __GTK_CELL_RENDERER_ACCEL_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -56,4 +55,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkCellRendererAccel, g_object_unref) G_END_DECLS -#endif /* __GTK_CELL_RENDERER_ACCEL_H__ */ diff --git a/gtk/deprecated/gtkcellrenderercombo.h b/gtk/deprecated/gtkcellrenderercombo.h index 5ae2a60303..bf1f54361b 100644 --- a/gtk/deprecated/gtkcellrenderercombo.h +++ b/gtk/deprecated/gtkcellrenderercombo.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_CELL_RENDERER_COMBO_H__ -#define __GTK_CELL_RENDERER_COMBO_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -42,4 +41,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkCellRendererCombo, g_object_unref) G_END_DECLS -#endif /* __GTK_CELL_RENDERER_COMBO_H__ */ diff --git a/gtk/deprecated/gtkcellrendererpixbuf.h b/gtk/deprecated/gtkcellrendererpixbuf.h index 3cee275218..d2d6633b55 100644 --- a/gtk/deprecated/gtkcellrendererpixbuf.h +++ b/gtk/deprecated/gtkcellrendererpixbuf.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_CELL_RENDERER_PIXBUF_H__ -#define __GTK_CELL_RENDERER_PIXBUF_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -44,4 +43,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkCellRendererPixbuf, g_object_unref) G_END_DECLS -#endif /* __GTK_CELL_RENDERER_PIXBUF_H__ */ diff --git a/gtk/deprecated/gtkcellrendererprogress.h b/gtk/deprecated/gtkcellrendererprogress.h index 1015eb04b0..24e8e0e91e 100644 --- a/gtk/deprecated/gtkcellrendererprogress.h +++ b/gtk/deprecated/gtkcellrendererprogress.h @@ -23,8 +23,7 @@ * GTK+ at ftp://ftp.gtk.org/pub/gtk/. */ -#ifndef __GTK_CELL_RENDERER_PROGRESS_H__ -#define __GTK_CELL_RENDERER_PROGRESS_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -49,4 +48,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkCellRendererProgress, g_object_unref) G_END_DECLS -#endif /* __GTK_CELL_RENDERER_PROGRESS_H__ */ diff --git a/gtk/deprecated/gtkcellrendererspin.h b/gtk/deprecated/gtkcellrendererspin.h index 9cfbffe875..99c609cbde 100644 --- a/gtk/deprecated/gtkcellrendererspin.h +++ b/gtk/deprecated/gtkcellrendererspin.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_CELL_RENDERER_SPIN_H__ -#define __GTK_CELL_RENDERER_SPIN_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -41,4 +40,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkCellRendererSpin, g_object_unref) G_END_DECLS -#endif /* __GTK_CELL_RENDERER_SPIN_H__ */ diff --git a/gtk/deprecated/gtkcellrendererspinner.h b/gtk/deprecated/gtkcellrendererspinner.h index 7d4600a00b..0281d19009 100644 --- a/gtk/deprecated/gtkcellrendererspinner.h +++ b/gtk/deprecated/gtkcellrendererspinner.h @@ -18,8 +18,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_CELL_RENDERER_SPINNER_H__ -#define __GTK_CELL_RENDERER_SPINNER_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -44,4 +43,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkCellRendererSpinner, g_object_unref) G_END_DECLS -#endif /* __GTK_CELL_RENDERER_SPINNER_H__ */ diff --git a/gtk/deprecated/gtkcellrenderertext.h b/gtk/deprecated/gtkcellrenderertext.h index d17d09ea25..d0b835aa1f 100644 --- a/gtk/deprecated/gtkcellrenderertext.h +++ b/gtk/deprecated/gtkcellrenderertext.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_CELL_RENDERER_TEXT_H__ -#define __GTK_CELL_RENDERER_TEXT_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) @@ -70,4 +69,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkCellRendererText, g_object_unref) G_END_DECLS -#endif /* __GTK_CELL_RENDERER_TEXT_H__ */ diff --git a/gtk/deprecated/gtkcellrenderertoggle.h b/gtk/deprecated/gtkcellrenderertoggle.h index acea749fd9..4ed0f3a514 100644 --- a/gtk/deprecated/gtkcellrenderertoggle.h +++ b/gtk/deprecated/gtkcellrenderertoggle.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_CELL_RENDERER_TOGGLE_H__ -#define __GTK_CELL_RENDERER_TOGGLE_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -62,4 +61,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkCellRendererToggle, g_object_unref) G_END_DECLS -#endif /* __GTK_CELL_RENDERER_TOGGLE_H__ */ diff --git a/gtk/deprecated/gtkcellview.h b/gtk/deprecated/gtkcellview.h index 796d26de2d..5abd3f095c 100644 --- a/gtk/deprecated/gtkcellview.h +++ b/gtk/deprecated/gtkcellview.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_CELL_VIEW_H__ -#define __GTK_CELL_VIEW_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -74,4 +73,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkCellView, g_object_unref) G_END_DECLS -#endif /* __GTK_CELL_VIEW_H__ */ diff --git a/gtk/deprecated/gtkcolorbutton.h b/gtk/deprecated/gtkcolorbutton.h index ce565d6728..33d14f446d 100644 --- a/gtk/deprecated/gtkcolorbutton.h +++ b/gtk/deprecated/gtkcolorbutton.h @@ -27,8 +27,7 @@ * GTK+ at ftp://ftp.gtk.org/pub/gtk/. */ -#ifndef __GTK_COLOR_BUTTON_H__ -#define __GTK_COLOR_BUTTON_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) @@ -68,4 +67,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkColorButton, g_object_unref) G_END_DECLS -#endif /* __GTK_COLOR_BUTTON_H__ */ diff --git a/gtk/deprecated/gtkcolorchooser.h b/gtk/deprecated/gtkcolorchooser.h index 1c573a22d7..8e2f669975 100644 --- a/gtk/deprecated/gtkcolorchooser.h +++ b/gtk/deprecated/gtkcolorchooser.h @@ -16,8 +16,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_COLOR_CHOOSER_H__ -#define __GTK_COLOR_CHOOSER_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -87,4 +86,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkColorChooser, g_object_unref) G_END_DECLS -#endif /* __GTK_COLOR_CHOOSER_H__ */ diff --git a/gtk/deprecated/gtkcolorchooserdialog.h b/gtk/deprecated/gtkcolorchooserdialog.h index d2bcfe7682..9d0962028e 100644 --- a/gtk/deprecated/gtkcolorchooserdialog.h +++ b/gtk/deprecated/gtkcolorchooserdialog.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_COLOR_CHOOSER_DIALOG_H__ -#define __GTK_COLOR_CHOOSER_DIALOG_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -43,4 +42,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkColorChooserDialog, g_object_unref) G_END_DECLS -#endif /* __GTK_COLOR_CHOOSER_DIALOG_H__ */ diff --git a/gtk/deprecated/gtkcolorchooserprivate.h b/gtk/deprecated/gtkcolorchooserprivate.h index c4c1c935f9..b8898cb006 100644 --- a/gtk/deprecated/gtkcolorchooserprivate.h +++ b/gtk/deprecated/gtkcolorchooserprivate.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_COLOR_CHOOSER_PRIVATE_H__ -#define __GTK_COLOR_CHOOSER_PRIVATE_H__ +#pragma once #include "gtkcolorchooser.h" @@ -32,4 +31,3 @@ void _gtk_color_chooser_snapshot_checkered_pattern (GtkSnapshot *snapshot, G_END_DECLS -#endif /* ! __GTK_COLOR_CHOOSER_PRIVATE_H__ */ diff --git a/gtk/deprecated/gtkcolorchooserwidget.h b/gtk/deprecated/gtkcolorchooserwidget.h index 51dfb278e6..6908ed2bc2 100644 --- a/gtk/deprecated/gtkcolorchooserwidget.h +++ b/gtk/deprecated/gtkcolorchooserwidget.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_COLOR_CHOOSER_WIDGET_H__ -#define __GTK_COLOR_CHOOSER_WIDGET_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -42,4 +41,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkColorChooserWidget, g_object_unref) G_END_DECLS -#endif /* __GTK_COLOR_CHOOSER_WIDGET_H__ */ diff --git a/gtk/deprecated/gtkcombobox.h b/gtk/deprecated/gtkcombobox.h index ba5e248510..45295b2a7e 100644 --- a/gtk/deprecated/gtkcombobox.h +++ b/gtk/deprecated/gtkcombobox.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_COMBO_BOX_H__ -#define __GTK_COMBO_BOX_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -158,4 +157,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkComboBox, g_object_unref) G_END_DECLS -#endif /* __GTK_COMBO_BOX_H__ */ diff --git a/gtk/deprecated/gtkcomboboxprivate.h b/gtk/deprecated/gtkcomboboxprivate.h index 6af67e06c6..f170d9488f 100644 --- a/gtk/deprecated/gtkcomboboxprivate.h +++ b/gtk/deprecated/gtkcomboboxprivate.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_COMBO_BOX_PRIVATE_H__ -#define __GTK_COMBO_BOX_PRIVATE_H__ +#pragma once #include "gtkcombobox.h" @@ -26,4 +25,3 @@ GtkWidget *gtk_combo_box_get_popup (GtkComboBox *combo_box); G_END_DECLS -#endif /* __GTK_COMBO_BOX_PRIVATE_H__ */ diff --git a/gtk/deprecated/gtkcomboboxtext.h b/gtk/deprecated/gtkcomboboxtext.h index 768bfebf7c..e341d8072e 100644 --- a/gtk/deprecated/gtkcomboboxtext.h +++ b/gtk/deprecated/gtkcomboboxtext.h @@ -16,8 +16,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_COMBO_BOX_TEXT_H__ -#define __GTK_COMBO_BOX_TEXT_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -75,4 +74,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkComboBoxText, g_object_unref) G_END_DECLS -#endif /* __GTK_COMBO_BOX_TEXT_H__ */ diff --git a/gtk/deprecated/gtkdialog.h b/gtk/deprecated/gtkdialog.h index 89f2e509cd..737194fc03 100644 --- a/gtk/deprecated/gtkdialog.h +++ b/gtk/deprecated/gtkdialog.h @@ -22,8 +22,7 @@ * GTK+ at ftp://ftp.gtk.org/pub/gtk/. */ -#ifndef __GTK_DIALOG_H__ -#define __GTK_DIALOG_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -178,4 +177,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkDialog, g_object_unref) G_END_DECLS -#endif /* __GTK_DIALOG_H__ */ diff --git a/gtk/deprecated/gtkdialogprivate.h b/gtk/deprecated/gtkdialogprivate.h index 1c32daa80c..666ae57a9f 100644 --- a/gtk/deprecated/gtkdialogprivate.h +++ b/gtk/deprecated/gtkdialogprivate.h @@ -22,8 +22,7 @@ * GTK+ at ftp://ftp.gtk.org/pub/gtk/. */ -#ifndef __GTK_DIALOG_PRIVATE_H__ -#define __GTK_DIALOG_PRIVATE_H__ +#pragma once #include "gtkdialog.h" @@ -34,4 +33,3 @@ GtkWidget *gtk_dialog_get_action_area (GtkDialog *dialog); G_END_DECLS -#endif /* __GTK_DIALOG_PRIVATE_H__ */ diff --git a/gtk/deprecated/gtkentrycompletion.h b/gtk/deprecated/gtkentrycompletion.h index f4cc55508c..ba7d5dcc59 100644 --- a/gtk/deprecated/gtkentrycompletion.h +++ b/gtk/deprecated/gtkentrycompletion.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_ENTRY_COMPLETION_H__ -#define __GTK_ENTRY_COMPLETION_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -134,4 +133,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkEntryCompletion, g_object_unref) G_END_DECLS -#endif /* __GTK_ENTRY_COMPLETION_H__ */ diff --git a/gtk/deprecated/gtkfilechooser.h b/gtk/deprecated/gtkfilechooser.h index a21c82c86f..fb032507a7 100644 --- a/gtk/deprecated/gtkfilechooser.h +++ b/gtk/deprecated/gtkfilechooser.h @@ -16,8 +16,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_FILE_CHOOSER_H__ -#define __GTK_FILE_CHOOSER_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -185,4 +184,3 @@ const char * gtk_file_chooser_get_choice (GtkFileChooser G_END_DECLS -#endif /* __GTK_FILE_CHOOSER_H__ */ diff --git a/gtk/deprecated/gtkfilechooserdialog.h b/gtk/deprecated/gtkfilechooserdialog.h index e9403dfec0..a33df7f3c1 100644 --- a/gtk/deprecated/gtkfilechooserdialog.h +++ b/gtk/deprecated/gtkfilechooserdialog.h @@ -16,8 +16,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_FILE_CHOOSER_DIALOG_H__ -#define __GTK_FILE_CHOOSER_DIALOG_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -47,4 +46,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkFileChooserDialog, g_object_unref) G_END_DECLS -#endif /* __GTK_FILE_CHOOSER_DIALOG_H__ */ diff --git a/gtk/deprecated/gtkfilechoosernative.h b/gtk/deprecated/gtkfilechoosernative.h index 1d562cafb9..93d25781fc 100644 --- a/gtk/deprecated/gtkfilechoosernative.h +++ b/gtk/deprecated/gtkfilechoosernative.h @@ -16,8 +16,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_FILE_CHOOSER_NATIVE_H__ -#define __GTK_FILE_CHOOSER_NATIVE_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -53,4 +52,3 @@ void gtk_file_chooser_native_set_cancel_label (GtkFileChooserNative *self G_END_DECLS -#endif /* __GTK_FILE_CHOOSER_NATIVE_H__ */ diff --git a/gtk/deprecated/gtkfilechooserwidget.h b/gtk/deprecated/gtkfilechooserwidget.h index 9b96f5df48..1f9368684a 100644 --- a/gtk/deprecated/gtkfilechooserwidget.h +++ b/gtk/deprecated/gtkfilechooserwidget.h @@ -16,8 +16,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_FILE_CHOOSER_WIDGET_H__ -#define __GTK_FILE_CHOOSER_WIDGET_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -43,4 +42,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkFileChooserWidget, g_object_unref) G_END_DECLS -#endif /* __GTK_FILE_CHOOSER_WIDGET_H__ */ diff --git a/gtk/deprecated/gtkfontbutton.h b/gtk/deprecated/gtkfontbutton.h index e1a449506a..a5b976e6b7 100644 --- a/gtk/deprecated/gtkfontbutton.h +++ b/gtk/deprecated/gtkfontbutton.h @@ -23,8 +23,7 @@ * GTK+ at ftp://ftp.gtk.org/pub/gtk/. */ -#ifndef __GTK_FONT_BUTTON_H__ -#define __GTK_FONT_BUTTON_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -74,4 +73,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkFontButton, g_object_unref) G_END_DECLS -#endif /* __GTK_FONT_BUTTON_H__ */ diff --git a/gtk/deprecated/gtkfontchooser.h b/gtk/deprecated/gtkfontchooser.h index 09b3e79cd0..e22d921410 100644 --- a/gtk/deprecated/gtkfontchooser.h +++ b/gtk/deprecated/gtkfontchooser.h @@ -18,8 +18,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_FONT_CHOOSER_H__ -#define __GTK_FONT_CHOOSER_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -165,4 +164,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkFontChooser, g_object_unref) G_END_DECLS -#endif /* __GTK_FONT_CHOOSER_H__ */ diff --git a/gtk/deprecated/gtkfontchooserdialog.h b/gtk/deprecated/gtkfontchooserdialog.h index af5c4fb830..38c8a1bca5 100644 --- a/gtk/deprecated/gtkfontchooserdialog.h +++ b/gtk/deprecated/gtkfontchooserdialog.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_FONT_CHOOSER_DIALOG_H__ -#define __GTK_FONT_CHOOSER_DIALOG_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -42,4 +41,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkFontChooserDialog, g_object_unref) G_END_DECLS -#endif /* __GTK_FONT_CHOOSER_DIALOG_H__ */ diff --git a/gtk/deprecated/gtkfontchooserprivate.h b/gtk/deprecated/gtkfontchooserprivate.h index 480351ead2..52e436eb03 100644 --- a/gtk/deprecated/gtkfontchooserprivate.h +++ b/gtk/deprecated/gtkfontchooserprivate.h @@ -18,8 +18,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_FONT_CHOOSER_PRIVATE_H__ -#define __GTK_FONT_CHOOSER_PRIVATE_H__ +#pragma once #include "gtkfontchooser.h" @@ -32,4 +31,3 @@ void _gtk_font_chooser_font_activated (GtkFontChooser *chooser G_END_DECLS -#endif /* ! __GTK_FONT_CHOOSER_PRIVATE_H__ */ diff --git a/gtk/deprecated/gtkfontchooserwidget.h b/gtk/deprecated/gtkfontchooserwidget.h index f0d1c49099..3aad714242 100644 --- a/gtk/deprecated/gtkfontchooserwidget.h +++ b/gtk/deprecated/gtkfontchooserwidget.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_FONT_CHOOSER_WIDGET_H__ -#define __GTK_FONT_CHOOSER_WIDGET_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -42,4 +41,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkFontChooserWidget, g_object_unref) G_END_DECLS -#endif /* __GTK_FONT_CHOOSER_WIDGET_H__ */ diff --git a/gtk/deprecated/gtkiconview.h b/gtk/deprecated/gtkiconview.h index 3f2f39fa02..079874424d 100644 --- a/gtk/deprecated/gtkiconview.h +++ b/gtk/deprecated/gtkiconview.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_ICON_VIEW_H__ -#define __GTK_ICON_VIEW_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -286,4 +285,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkIconView, g_object_unref) G_END_DECLS -#endif /* __GTK_ICON_VIEW_H__ */ diff --git a/gtk/deprecated/gtkiconviewprivate.h b/gtk/deprecated/gtkiconviewprivate.h index 657366b2b8..8203f43a81 100644 --- a/gtk/deprecated/gtkiconviewprivate.h +++ b/gtk/deprecated/gtkiconviewprivate.h @@ -22,8 +22,7 @@ #include "gtk/gtkdroptargetasync.h" #include "gtk/gtkgestureclick.h" -#ifndef __GTK_ICON_VIEW_PRIVATE_H__ -#define __GTK_ICON_VIEW_PRIVATE_H__ +#pragma once typedef struct _GtkIconViewItem GtkIconViewItem; struct _GtkIconViewItem @@ -192,4 +191,3 @@ void _gtk_icon_view_unselect_item (GtkIconView G_END_DECLS -#endif /* __GTK_ICON_VIEW_PRIVATE_H__ */ diff --git a/gtk/deprecated/gtkinfobar.h b/gtk/deprecated/gtkinfobar.h index d88d5955fc..f83541cc36 100644 --- a/gtk/deprecated/gtkinfobar.h +++ b/gtk/deprecated/gtkinfobar.h @@ -26,8 +26,7 @@ * Modified by the GTK+ Team, 2008-2009. */ -#ifndef __GTK_INFO_BAR_H__ -#define __GTK_INFO_BAR_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -109,4 +108,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkInfoBar, g_object_unref) G_END_DECLS -#endif /* __GTK_INFO_BAR_H__ */ diff --git a/gtk/deprecated/gtkliststore.h b/gtk/deprecated/gtkliststore.h index d9c847dbbe..f5a03ab356 100644 --- a/gtk/deprecated/gtkliststore.h +++ b/gtk/deprecated/gtkliststore.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_LIST_STORE_H__ -#define __GTK_LIST_STORE_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -151,4 +150,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkListStore, g_object_unref) G_END_DECLS -#endif /* __GTK_LIST_STORE_H__ */ diff --git a/gtk/deprecated/gtklockbutton.h b/gtk/deprecated/gtklockbutton.h index a6a9203fca..4cea393617 100644 --- a/gtk/deprecated/gtklockbutton.h +++ b/gtk/deprecated/gtklockbutton.h @@ -16,8 +16,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_LOCK_BUTTON_H__ -#define __GTK_LOCK_BUTTON_H__ +#pragma once #include #include @@ -44,4 +43,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkLockButton, g_object_unref) G_END_DECLS -#endif /* __GTK_LOCK_BUTTON_H__ */ diff --git a/gtk/deprecated/gtklockbuttonprivate.h b/gtk/deprecated/gtklockbuttonprivate.h index f029bf8b67..3b55556203 100644 --- a/gtk/deprecated/gtklockbuttonprivate.h +++ b/gtk/deprecated/gtklockbuttonprivate.h @@ -16,8 +16,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_LOCK_BUTTON_PRIVATE_H__ -#define __GTK_LOCK_BUTTON_PRIVATE_H__ +#pragma once #include "gtklockbutton.h" @@ -27,4 +26,3 @@ const char * _gtk_lock_button_get_current_text (GtkLockButton *button) G_END_DECLS -#endif /* __GTK_LOCK_BUTTON_PRIVATE_H__ */ diff --git a/gtk/deprecated/gtkmessagedialog.h b/gtk/deprecated/gtkmessagedialog.h index 74be977199..58bde4bc31 100644 --- a/gtk/deprecated/gtkmessagedialog.h +++ b/gtk/deprecated/gtkmessagedialog.h @@ -22,8 +22,7 @@ * GTK+ at ftp://ftp.gtk.org/pub/gtk/. */ -#ifndef __GTK_MESSAGE_DIALOG_H__ -#define __GTK_MESSAGE_DIALOG_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -115,4 +114,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkMessageDialog, g_object_unref) G_END_DECLS -#endif /* __GTK_MESSAGE_DIALOG_H__ */ diff --git a/gtk/deprecated/gtkrender.h b/gtk/deprecated/gtkrender.h index 0ccf6248ae..576379ac61 100644 --- a/gtk/deprecated/gtkrender.h +++ b/gtk/deprecated/gtkrender.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_RENDER_H__ -#define __GTK_RENDER_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -154,4 +153,3 @@ void gtk_snapshot_render_insertion_cursor (GtkSnapshot G_END_DECLS -#endif /* __GTK_RENDER_H__ */ diff --git a/gtk/deprecated/gtkshow.h b/gtk/deprecated/gtkshow.h index 6915be0b11..a174808ce9 100644 --- a/gtk/deprecated/gtkshow.h +++ b/gtk/deprecated/gtkshow.h @@ -18,8 +18,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_SHOW_H__ -#define __GTK_SHOW_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -49,4 +48,3 @@ void gtk_show_uri (GtkWindow *parent, G_END_DECLS -#endif /* __GTK_SHOW_H__ */ diff --git a/gtk/deprecated/gtkstatusbar.h b/gtk/deprecated/gtkstatusbar.h index d1a2356515..deb6ec4d9a 100644 --- a/gtk/deprecated/gtkstatusbar.h +++ b/gtk/deprecated/gtkstatusbar.h @@ -23,8 +23,7 @@ * GTK+ at ftp://ftp.gtk.org/pub/gtk/. */ -#ifndef __GTK_STATUSBAR_H__ -#define __GTK_STATUSBAR_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -66,4 +65,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkStatusbar, g_object_unref) G_END_DECLS -#endif /* __GTK_STATUSBAR_H__ */ diff --git a/gtk/deprecated/gtkstylecontext.h b/gtk/deprecated/gtkstylecontext.h index b1e9244034..d1ec28737c 100644 --- a/gtk/deprecated/gtkstylecontext.h +++ b/gtk/deprecated/gtkstylecontext.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_STYLE_CONTEXT_H__ -#define __GTK_STYLE_CONTEXT_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -137,4 +136,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkStyleContext, g_object_unref) G_END_DECLS -#endif /* __GTK_STYLE_CONTEXT_H__ */ diff --git a/gtk/deprecated/gtkstylecontextprivate.h b/gtk/deprecated/gtkstylecontextprivate.h index 4cab724b20..c1dda95d82 100644 --- a/gtk/deprecated/gtkstylecontextprivate.h +++ b/gtk/deprecated/gtkstylecontextprivate.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_STYLE_CONTEXT_PRIVATE_H__ -#define __GTK_STYLE_CONTEXT_PRIVATE_H__ +#pragma once #include "gtkstylecontext.h" @@ -44,4 +43,3 @@ void _gtk_style_context_get_cursor_color (GtkStyleContext G_END_DECLS -#endif /* __GTK_STYLE_CONTEXT_PRIVATE_H__ */ diff --git a/gtk/deprecated/gtktreedatalistprivate.h b/gtk/deprecated/gtktreedatalistprivate.h index a0373b8bcd..154a66d41e 100644 --- a/gtk/deprecated/gtktreedatalistprivate.h +++ b/gtk/deprecated/gtktreedatalistprivate.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_TREE_DATA_LIST_PRIVATE_H__ -#define __GTK_TREE_DATA_LIST_PRIVATE_H__ +#pragma once #include #include @@ -78,4 +77,3 @@ GList *_gtk_tree_data_list_set_header (GList * gpointer data, GDestroyNotify destroy); -#endif /* __GTK_TREE_DATA_LIST_PRIVATE_H__ */ diff --git a/gtk/deprecated/gtktreednd.h b/gtk/deprecated/gtktreednd.h index 6abd697a5c..56d13f94c5 100644 --- a/gtk/deprecated/gtktreednd.h +++ b/gtk/deprecated/gtktreednd.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_TREE_DND_H__ -#define __GTK_TREE_DND_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -165,4 +164,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkTreeDragSource, g_object_unref) G_END_DECLS -#endif /* __GTK_TREE_DND_H__ */ diff --git a/gtk/deprecated/gtktreemodel.h b/gtk/deprecated/gtktreemodel.h index 8ba857cd5b..a3c7a56707 100644 --- a/gtk/deprecated/gtktreemodel.h +++ b/gtk/deprecated/gtktreemodel.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_TREE_MODEL_H__ -#define __GTK_TREE_MODEL_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -410,4 +409,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkTreeRowReference, gtk_tree_row_reference_free) G_END_DECLS -#endif /* __GTK_TREE_MODEL_H__ */ diff --git a/gtk/deprecated/gtktreemodelfilter.h b/gtk/deprecated/gtktreemodelfilter.h index b84aca7495..2e8d4b2d8f 100644 --- a/gtk/deprecated/gtktreemodelfilter.h +++ b/gtk/deprecated/gtktreemodelfilter.h @@ -16,8 +16,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_TREE_MODEL_FILTER_H__ -#define __GTK_TREE_MODEL_FILTER_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -153,4 +152,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkTreeModelFilter, g_object_unref) G_END_DECLS -#endif /* __GTK_TREE_MODEL_FILTER_H__ */ diff --git a/gtk/deprecated/gtktreemodelsort.h b/gtk/deprecated/gtktreemodelsort.h index 1c08aa882a..f72292ce4c 100644 --- a/gtk/deprecated/gtktreemodelsort.h +++ b/gtk/deprecated/gtktreemodelsort.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_TREE_MODEL_SORT_H__ -#define __GTK_TREE_MODEL_SORT_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -89,4 +88,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkTreeModelSort, g_object_unref) G_END_DECLS -#endif /* __GTK_TREE_MODEL_SORT_H__ */ diff --git a/gtk/deprecated/gtktreepopoverprivate.h b/gtk/deprecated/gtktreepopoverprivate.h index 2656f90a1d..09c96adfe8 100644 --- a/gtk/deprecated/gtktreepopoverprivate.h +++ b/gtk/deprecated/gtktreepopoverprivate.h @@ -17,8 +17,7 @@ * Author: Matthias Clasen */ -#ifndef __GTK_TREE_POPOVER_PRIVATE_H__ -#define __GTK_TREE_POPOVER_PRIVATE_H__ +#pragma once #include @@ -40,4 +39,3 @@ void gtk_tree_popover_open_submenu (GtkTreePopover *popov G_END_DECLS -#endif /* __GTK_TREE_POPOVER_PRIVATE_H__ */ diff --git a/gtk/deprecated/gtktreeprivate.h b/gtk/deprecated/gtktreeprivate.h index 52267349ab..4ed8068b0a 100644 --- a/gtk/deprecated/gtktreeprivate.h +++ b/gtk/deprecated/gtktreeprivate.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_TREE_PRIVATE_H__ -#define __GTK_TREE_PRIVATE_H__ +#pragma once #include @@ -142,5 +141,4 @@ gboolean _gtk_tree_view_column_coords_in_resize_rect (GtkTreeViewColumn G_END_DECLS -#endif /* __GTK_TREE_PRIVATE_H__ */ diff --git a/gtk/deprecated/gtktreerbtreeprivate.h b/gtk/deprecated/gtktreerbtreeprivate.h index f998be27b6..1837e4c6d3 100644 --- a/gtk/deprecated/gtktreerbtreeprivate.h +++ b/gtk/deprecated/gtktreerbtreeprivate.h @@ -17,8 +17,7 @@ /* A Red-Black Tree implementation used specifically by GtkTreeView. */ -#ifndef __GTK_TREE_RBTREE_PRIVATE_H__ -#define __GTK_TREE_RBTREE_PRIVATE_H__ +#pragma once #include @@ -169,4 +168,3 @@ int gtk_tree_rbtree_get_depth (GtkTreeRBTree G_END_DECLS -#endif /* __GTK_TREE_RBTREE_PRIVATE_H__ */ diff --git a/gtk/deprecated/gtktreeselection.h b/gtk/deprecated/gtktreeselection.h index 002646425e..5ec9378291 100644 --- a/gtk/deprecated/gtktreeselection.h +++ b/gtk/deprecated/gtktreeselection.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_TREE_SELECTION_H__ -#define __GTK_TREE_SELECTION_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -141,4 +140,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkTreeSelection, g_object_unref) G_END_DECLS -#endif /* __GTK_TREE_SELECTION_H__ */ diff --git a/gtk/deprecated/gtktreesortable.h b/gtk/deprecated/gtktreesortable.h index 4b74c5a6a7..e2eb4671d6 100644 --- a/gtk/deprecated/gtktreesortable.h +++ b/gtk/deprecated/gtktreesortable.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_TREE_SORTABLE_H__ -#define __GTK_TREE_SORTABLE_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) @@ -161,4 +160,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkTreeSortable, g_object_unref) G_END_DECLS -#endif /* __GTK_TREE_SORTABLE_H__ */ diff --git a/gtk/deprecated/gtktreestore.h b/gtk/deprecated/gtktreestore.h index 2d56a5845d..fe86be590a 100644 --- a/gtk/deprecated/gtktreestore.h +++ b/gtk/deprecated/gtktreestore.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_TREE_STORE_H__ -#define __GTK_TREE_STORE_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -166,4 +165,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkTreeStore, g_object_unref) G_END_DECLS -#endif /* __GTK_TREE_STORE_H__ */ diff --git a/gtk/deprecated/gtktreeview.h b/gtk/deprecated/gtktreeview.h index 4a94ff6b0a..866f397ed1 100644 --- a/gtk/deprecated/gtktreeview.h +++ b/gtk/deprecated/gtktreeview.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_TREE_VIEW_H__ -#define __GTK_TREE_VIEW_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -545,4 +544,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkTreeView, g_object_unref) G_END_DECLS -#endif /* __GTK_TREE_VIEW_H__ */ diff --git a/gtk/deprecated/gtktreeviewcolumn.h b/gtk/deprecated/gtktreeviewcolumn.h index eb95b1c30c..383bb9bf78 100644 --- a/gtk/deprecated/gtktreeviewcolumn.h +++ b/gtk/deprecated/gtktreeviewcolumn.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_TREE_VIEW_COLUMN_H__ -#define __GTK_TREE_VIEW_COLUMN_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -251,4 +250,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkTreeViewColumn, g_object_unref) G_END_DECLS -#endif /* __GTK_TREE_VIEW_COLUMN_H__ */ diff --git a/gtk/deprecated/gtkvolumebutton.h b/gtk/deprecated/gtkvolumebutton.h index 6cad9755d6..49275f9c88 100644 --- a/gtk/deprecated/gtkvolumebutton.h +++ b/gtk/deprecated/gtkvolumebutton.h @@ -25,8 +25,7 @@ * GTK+ at ftp://ftp.gtk.org/pub/gtk/. */ -#ifndef __GTK_VOLUME_BUTTON_H__ -#define __GTK_VOLUME_BUTTON_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -56,4 +55,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkVolumeButton, g_object_unref) G_END_DECLS -#endif /* __GTK_VOLUME_BUTTON_H__ */ diff --git a/gtk/gdkpixbufutilsprivate.h b/gtk/gdkpixbufutilsprivate.h index 2c4ab5b305..f9c9fe852c 100644 --- a/gtk/gdkpixbufutilsprivate.h +++ b/gtk/gdkpixbufutilsprivate.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef __GDK_PIXBUF_UTILS_PRIVATE_H__ -#define __GDK_PIXBUF_UTILS_PRIVATE_H__ +#pragma once #include @@ -92,4 +91,3 @@ GdkPaintable *gdk_paintable_new_from_file_scaled (GFile *file, G_END_DECLS -#endif /* __GDK_PIXBUF_UTILS_PRIVATE_H__ */ diff --git a/gtk/gsettings-mapping.h b/gtk/gsettings-mapping.h index 8a26684bb6..96e03a6167 100644 --- a/gtk/gsettings-mapping.h +++ b/gtk/gsettings-mapping.h @@ -17,8 +17,7 @@ * Author: Vincent Untz */ -#ifndef __G_SETTINGS_MAPPING_H__ -#define __G_SETTINGS_MAPPING_H__ +#pragma once #include @@ -31,4 +30,3 @@ gboolean g_settings_get_mapping (GValue gboolean g_settings_mapping_is_compatible (GType gvalue_type, const GVariantType *variant_type); -#endif /* __G_SETTINGS_MAPPING_H__ */ diff --git a/gtk/gskpangoprivate.h b/gtk/gskpangoprivate.h index 5641f9cd67..63e3dad683 100644 --- a/gtk/gskpangoprivate.h +++ b/gtk/gskpangoprivate.h @@ -16,8 +16,7 @@ * License along with this library. If not, see . */ -#ifndef __GSK_PANGO_PRIVATE_H__ -#define __GSK_PANGO_PRIVATE_H__ +#pragma once #include #include "gtk/gtksnapshot.h" @@ -85,4 +84,3 @@ void gsk_pango_renderer_release (GskPangoRenderer *crenderer G_END_DECLS -#endif /* __GSK_PANGO_PRIVATE_H__ */ diff --git a/gtk/gtk.h b/gtk/gtk.h index fb7ee34019..14550f65f9 100644 --- a/gtk/gtk.h +++ b/gtk/gtk.h @@ -22,8 +22,7 @@ * GTK+ at ftp://ftp.gtk.org/pub/gtk/. */ -#ifndef __GTK_H__ -#define __GTK_H__ +#pragma once #define __GTK_H_INSIDE__ @@ -300,4 +299,3 @@ #undef __GTK_H_INSIDE__ -#endif /* __GTK_H__ */ diff --git a/gtk/gtkaboutdialog.h b/gtk/gtkaboutdialog.h index f24247f54e..676bdc2786 100644 --- a/gtk/gtkaboutdialog.h +++ b/gtk/gtkaboutdialog.h @@ -20,8 +20,7 @@ Author: Anders Carlsson */ -#ifndef __GTK_ABOUT_DIALOG_H__ -#define __GTK_ABOUT_DIALOG_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -191,6 +190,5 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkAboutDialog, g_object_unref) G_END_DECLS -#endif /* __GTK_ABOUT_DIALOG_H__ */ diff --git a/gtk/gtkaccelgroup.h b/gtk/gtkaccelgroup.h index 9f536e1e3b..63a29555d4 100644 --- a/gtk/gtkaccelgroup.h +++ b/gtk/gtkaccelgroup.h @@ -22,8 +22,7 @@ * GTK+ at ftp://ftp.gtk.org/pub/gtk/. */ -#ifndef __GTK_ACCEL_GROUP_H__ -#define __GTK_ACCEL_GROUP_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) @@ -72,4 +71,3 @@ GdkModifierType gtk_accelerator_get_default_mod_mask (void) G_GNUC_CONST; G_END_DECLS -#endif /* __GTK_ACCEL_GROUP_H__ */ diff --git a/gtk/gtkaccelgroupprivate.h b/gtk/gtkaccelgroupprivate.h index c5b4daef55..dce55931ee 100644 --- a/gtk/gtkaccelgroupprivate.h +++ b/gtk/gtkaccelgroupprivate.h @@ -17,8 +17,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_ACCEL_GROUP_PRIVATE_H__ -#define __GTK_ACCEL_GROUP_PRIVATE_H__ +#pragma once #include @@ -30,4 +29,3 @@ void gtk_accelerator_print_label (GString *gstring GdkModifierType accelerator_mods); G_END_DECLS -#endif /* __GTK_ACCEL_GROUP_PRIVATE_H__ */ diff --git a/gtk/gtkactionable.h b/gtk/gtkactionable.h index cf54fc7efb..ec85b201cc 100644 --- a/gtk/gtkactionable.h +++ b/gtk/gtkactionable.h @@ -17,8 +17,7 @@ * Authors: Ryan Lortie */ -#ifndef __GTK_ACTIONABLE_H__ -#define __GTK_ACTIONABLE_H__ +#pragma once #include #include @@ -79,4 +78,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkActionable, g_object_unref) G_END_DECLS -#endif /* __GTK_ACTIONABLE_H__ */ diff --git a/gtk/gtkactionbar.h b/gtk/gtkactionbar.h index d1ea969439..4781dfa1a7 100644 --- a/gtk/gtkactionbar.h +++ b/gtk/gtkactionbar.h @@ -17,8 +17,7 @@ * */ -#ifndef __GTK_ACTION_BAR_H__ -#define __GTK_ACTION_BAR_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -65,4 +64,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkActionBar, g_object_unref) G_END_DECLS -#endif /* __GTK_ACTION_BAR_H__ */ diff --git a/gtk/gtkactionhelperprivate.h b/gtk/gtkactionhelperprivate.h index 57d70f9d55..714c53359e 100644 --- a/gtk/gtkactionhelperprivate.h +++ b/gtk/gtkactionhelperprivate.h @@ -17,8 +17,7 @@ * Authors: Ryan Lortie */ -#ifndef __GTK_ACTION_HELPER_H__ -#define __GTK_ACTION_HELPER_H__ +#pragma once #include #include @@ -51,4 +50,3 @@ void gtk_action_helper_activate (GtkActi GtkButtonRole gtk_action_helper_get_role (GtkActionHelper *helper); -#endif /* __GTK_ACTION_HELPER_H__ */ diff --git a/gtk/gtkactionmuxerprivate.h b/gtk/gtkactionmuxerprivate.h index db69cabc9d..a7e03f0078 100644 --- a/gtk/gtkactionmuxerprivate.h +++ b/gtk/gtkactionmuxerprivate.h @@ -17,8 +17,7 @@ * Author: Ryan Lortie */ -#ifndef __GTK_ACTION_MUXER_H__ -#define __GTK_ACTION_MUXER_H__ +#pragma once #include #include "gtkwidget.h" @@ -110,4 +109,3 @@ char * gtk_normalise_detailed_action_name (const c G_END_DECLS -#endif /* __GTK_ACTION_MUXER_H__ */ diff --git a/gtk/gtkactionobservableprivate.h b/gtk/gtkactionobservableprivate.h index 4ab688855a..9fb088d080 100644 --- a/gtk/gtkactionobservableprivate.h +++ b/gtk/gtkactionobservableprivate.h @@ -17,8 +17,7 @@ * Authors: Ryan Lortie */ -#ifndef __GTK_ACTION_OBSERVABLE_PRIVATE_H__ -#define __GTK_ACTION_OBSERVABLE_PRIVATE_H__ +#pragma once #include "gtkactionobserverprivate.h" @@ -57,4 +56,3 @@ void gtk_action_observable_unregister_observer (GtkActi G_END_DECLS -#endif /* __GTK_ACTION_OBSERVABLE_PRIVATE_H__ */ diff --git a/gtk/gtkactionobserverprivate.h b/gtk/gtkactionobserverprivate.h index a9ea3cdb57..705844a74e 100644 --- a/gtk/gtkactionobserverprivate.h +++ b/gtk/gtkactionobserverprivate.h @@ -17,8 +17,7 @@ * Authors: Ryan Lortie */ -#ifndef __GTK_ACTION_OBSERVER_PRIVATE_H__ -#define __GTK_ACTION_OBSERVER_PRIVATE_H__ +#pragma once #include @@ -88,4 +87,3 @@ void gtk_action_observer_primary_accel_changed (GtkActi G_END_DECLS -#endif /* __GTK_ACTION_OBSERVER_PRIVATE_H__ */ diff --git a/gtk/gtkadjustment.h b/gtk/gtkadjustment.h index 133d160e28..138500ac08 100644 --- a/gtk/gtkadjustment.h +++ b/gtk/gtkadjustment.h @@ -22,8 +22,7 @@ * GTK+ at ftp://ftp.gtk.org/pub/gtk/. */ -#ifndef __GTK_ADJUSTMENT_H__ -#define __GTK_ADJUSTMENT_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -125,4 +124,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkAdjustment, g_object_unref) G_END_DECLS -#endif /* __GTK_ADJUSTMENT_H__ */ diff --git a/gtk/gtkadjustmentprivate.h b/gtk/gtkadjustmentprivate.h index 2b42705f76..75b9bf8467 100644 --- a/gtk/gtkadjustmentprivate.h +++ b/gtk/gtkadjustmentprivate.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_ADJUSTMENT_PRIVATE_H__ -#define __GTK_ADJUSTMENT_PRIVATE_H__ +#pragma once #include @@ -37,4 +36,3 @@ gboolean gtk_adjustment_is_animating (GtkAdjustment *adjustment); G_END_DECLS -#endif /* __GTK_ADJUSTMENT_PRIVATE_H__ */ diff --git a/gtk/gtkallocatedbitmaskprivate.h b/gtk/gtkallocatedbitmaskprivate.h index 3076605ab1..76b92eafa2 100644 --- a/gtk/gtkallocatedbitmaskprivate.h +++ b/gtk/gtkallocatedbitmaskprivate.h @@ -18,8 +18,7 @@ * Authors: Benjamin Otte */ -#ifndef __GTK_ALLOCATED_BITMASK_PRIVATE_H__ -#define __GTK_ALLOCATED_BITMASK_PRIVATE_H__ +#pragma once #include @@ -70,4 +69,3 @@ gboolean _gtk_allocated_bitmask_intersects (const GtkBitmask *mask G_END_DECLS -#endif /* __GTK_ALLOCATED_BITMASK_PRIVATE_H__ */ diff --git a/gtk/gtkapplication.h b/gtk/gtkapplication.h index ae354388e5..7260de6dc7 100644 --- a/gtk/gtkapplication.h +++ b/gtk/gtkapplication.h @@ -17,8 +17,7 @@ * Author: Ryan Lortie */ -#ifndef __GTK_APPLICATION_H__ -#define __GTK_APPLICATION_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -139,4 +138,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkApplication, g_object_unref) G_END_DECLS -#endif /* __GTK_APPLICATION_H__ */ diff --git a/gtk/gtkapplicationaccelsprivate.h b/gtk/gtkapplicationaccelsprivate.h index a33f7618b9..6adc5272a4 100644 --- a/gtk/gtkapplicationaccelsprivate.h +++ b/gtk/gtkapplicationaccelsprivate.h @@ -19,8 +19,7 @@ * Sébastien Wilmet */ -#ifndef __GTK_APPLICATION_ACCELS_H__ -#define __GTK_APPLICATION_ACCELS_H__ +#pragma once #include #include "gtkwindowprivate.h" @@ -51,4 +50,3 @@ GListModel * gtk_application_accels_get_shortcuts (GtkApplicat G_END_DECLS -#endif /* __GTK_APPLICATION_ACCELS_H__ */ diff --git a/gtk/gtkapplicationprivate.h b/gtk/gtkapplicationprivate.h index 8288c2b093..93a0a28c31 100644 --- a/gtk/gtkapplicationprivate.h +++ b/gtk/gtkapplicationprivate.h @@ -18,8 +18,7 @@ */ -#ifndef __GTK_APPLICATION_PRIVATE_H__ -#define __GTK_APPLICATION_PRIVATE_H__ +#pragma once #include "gtkapplicationwindow.h" #include "gtkwindowprivate.h" @@ -197,4 +196,3 @@ void gtk_application_impl_quartz_setup_menu (GMenuMo G_END_DECLS -#endif /* __GTK_APPLICATION_PRIVATE_H__ */ diff --git a/gtk/gtkapplicationwindow.h b/gtk/gtkapplicationwindow.h index 9e083881a0..5f27e0c6b0 100644 --- a/gtk/gtkapplicationwindow.h +++ b/gtk/gtkapplicationwindow.h @@ -17,8 +17,7 @@ * Author: Ryan Lortie */ -#ifndef __GTK_APPLICATION_WINDOW_H__ -#define __GTK_APPLICATION_WINDOW_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -86,4 +85,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkApplicationWindow, g_object_unref) G_END_DECLS -#endif /* __GTK_APPLICATION_WINDOW_H__ */ diff --git a/gtk/gtkaspectframe.h b/gtk/gtkaspectframe.h index 27e4e28148..b3746f266c 100644 --- a/gtk/gtkaspectframe.h +++ b/gtk/gtkaspectframe.h @@ -22,8 +22,7 @@ * GTK+ at ftp://ftp.gtk.org/pub/gtk/. */ -#ifndef __GTK_ASPECT_FRAME_H__ -#define __GTK_ASPECT_FRAME_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) @@ -83,4 +82,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkAspectFrame, g_object_unref) G_END_DECLS -#endif /* __GTK_ASPECT_FRAME_H__ */ diff --git a/gtk/gtkbitmaskprivate.h b/gtk/gtkbitmaskprivate.h index 1c76c9df2c..c08d4f1554 100644 --- a/gtk/gtkbitmaskprivate.h +++ b/gtk/gtkbitmaskprivate.h @@ -17,8 +17,7 @@ * Authors: Benjamin Otte */ -#ifndef __GTK_BITMASK_PRIVATE_H__ -#define __GTK_BITMASK_PRIVATE_H__ +#pragma once #include #include "gtkallocatedbitmaskprivate.h" @@ -66,4 +65,3 @@ static inline gboolean _gtk_bitmask_intersects (const GtkBitm G_END_DECLS -#endif /* __GTK_BITMASK_PRIVATE_H__ */ diff --git a/gtk/gtkbitset.h b/gtk/gtkbitset.h index 094ab0a72b..cca01a3737 100644 --- a/gtk/gtkbitset.h +++ b/gtk/gtkbitset.h @@ -18,8 +18,7 @@ */ -#ifndef __GTK_BITSET_H__ -#define __GTK_BITSET_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -178,4 +177,3 @@ gboolean gtk_bitset_iter_is_valid (const GtkBitset G_END_DECLS -#endif /* __GTK_BITSET_H__ */ diff --git a/gtk/gtkbookmarklist.h b/gtk/gtkbookmarklist.h index 78c48a5f69..196eddf61a 100644 --- a/gtk/gtkbookmarklist.h +++ b/gtk/gtkbookmarklist.h @@ -17,8 +17,7 @@ * Authors: Matthias Clasen */ -#ifndef __GTK_BOOKMARK_LIST_H__ -#define __GTK_BOOKMARK_LIST_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) @@ -61,4 +60,3 @@ gboolean gtk_bookmark_list_is_loading (GtkBookmarkList *se G_END_DECLS -#endif /* __GTK_BOOKMARK_LIST_H__ */ diff --git a/gtk/gtkbookmarksmanagerprivate.h b/gtk/gtkbookmarksmanagerprivate.h index 1a05115871..56b38c743b 100644 --- a/gtk/gtkbookmarksmanagerprivate.h +++ b/gtk/gtkbookmarksmanagerprivate.h @@ -21,8 +21,7 @@ * Authors: Federico Mena Quintero */ -#ifndef __GTK_BOOKMARKS_MANAGER_H__ -#define __GTK_BOOKMARKS_MANAGER_H__ +#pragma once #include @@ -86,4 +85,3 @@ gboolean _gtk_bookmarks_manager_get_is_builtin (GtkBookmarksManager *manager, gboolean _gtk_bookmarks_manager_get_is_xdg_dir_builtin (GUserDirectory xdg_type); -#endif /* __GTK_BOOKMARKS_MANAGER_H__ */ diff --git a/gtk/gtkboolfilter.h b/gtk/gtkboolfilter.h index e81345339c..a86aa7c26d 100644 --- a/gtk/gtkboolfilter.h +++ b/gtk/gtkboolfilter.h @@ -17,8 +17,7 @@ * Authors: Benjamin Otte */ -#ifndef __GTK_BOOL_FILTER_H__ -#define __GTK_BOOL_FILTER_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -50,4 +49,3 @@ void gtk_bool_filter_set_invert (GtkBoolFilter G_END_DECLS -#endif /* __GTK_BOOL_FILTER_H__ */ diff --git a/gtk/gtkborder.h b/gtk/gtkborder.h index 0d4918c62e..58180de4d9 100644 --- a/gtk/gtkborder.h +++ b/gtk/gtkborder.h @@ -22,8 +22,7 @@ * GTK+ at ftp://ftp.gtk.org/pub/gtk/. */ -#ifndef __GTK_BORDER_H__ -#define __GTK_BORDER_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -70,4 +69,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkBorder, gtk_border_free) G_END_DECLS -#endif /* __GTK_BORDER_H__ */ diff --git a/gtk/gtkbox.h b/gtk/gtkbox.h index 067ae1a2b7..c0d1da4890 100644 --- a/gtk/gtkbox.h +++ b/gtk/gtkbox.h @@ -22,8 +22,7 @@ * GTK+ at ftp://ftp.gtk.org/pub/gtk/. */ -#ifndef __GTK_BOX_H__ -#define __GTK_BOX_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) @@ -111,4 +110,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkBox, g_object_unref) G_END_DECLS -#endif /* __GTK_BOX_H__ */ diff --git a/gtk/gtkbuildable.h b/gtk/gtkbuildable.h index 2a9d6f7cda..6eda22c8dd 100644 --- a/gtk/gtkbuildable.h +++ b/gtk/gtkbuildable.h @@ -16,8 +16,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_BUILDABLE_H__ -#define __GTK_BUILDABLE_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -264,4 +263,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkBuildable, g_object_unref) G_END_DECLS -#endif /* __GTK_BUILDABLE_H__ */ diff --git a/gtk/gtkbuildableprivate.h b/gtk/gtkbuildableprivate.h index 90d447a995..a4b68424db 100644 --- a/gtk/gtkbuildableprivate.h +++ b/gtk/gtkbuildableprivate.h @@ -1,5 +1,4 @@ -#ifndef __GTK_BUILDABLE_PRIVATE_H__ -#define __GTK_BUILDABLE_PRIVATE_H__ +#pragma once #include "gtkbuildable.h" @@ -38,4 +37,3 @@ GObject * gtk_buildable_get_internal_child (GtkBuildable *buildable, G_END_DECLS -#endif /* __GTK_BUILDABLE_PRIVATE_H__ */ diff --git a/gtk/gtkbuilder.h b/gtk/gtkbuilder.h index b97d7fd8ba..e96f394c8b 100644 --- a/gtk/gtkbuilder.h +++ b/gtk/gtkbuilder.h @@ -16,8 +16,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_BUILDER_H__ -#define __GTK_BUILDER_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -207,4 +206,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkBuilder, g_object_unref) G_END_DECLS -#endif /* __GTK_BUILDER_H__ */ diff --git a/gtk/gtkbuilderlistitemfactory.h b/gtk/gtkbuilderlistitemfactory.h index cf2a7add44..82c6825afe 100644 --- a/gtk/gtkbuilderlistitemfactory.h +++ b/gtk/gtkbuilderlistitemfactory.h @@ -17,8 +17,7 @@ * Authors: Benjamin Otte */ -#ifndef __GTK_BUILDER_LIST_ITEM_FACTORY_H__ -#define __GTK_BUILDER_LIST_ITEM_FACTORY_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -57,4 +56,3 @@ GtkBuilderScope * gtk_builder_list_item_factory_get_scope (GtkBuil G_END_DECLS -#endif /* __GTK_BUILDER_LIST_ITEM_FACTORY_H__ */ diff --git a/gtk/gtkbuilderprivate.h b/gtk/gtkbuilderprivate.h index 20b874c843..7e717eaf2a 100644 --- a/gtk/gtkbuilderprivate.h +++ b/gtk/gtkbuilderprivate.h @@ -16,8 +16,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_BUILDER_PRIVATE_H__ -#define __GTK_BUILDER_PRIVATE_H__ +#pragma once #include "gtkbuilder.h" #include "gtkbuildable.h" @@ -295,4 +294,3 @@ GObject *_gtk_builder_lookup_object (GtkBuilder *builder, gboolean _gtk_builder_lookup_failed (GtkBuilder *builder, GError **error); -#endif /* __GTK_BUILDER_PRIVATE_H__ */ diff --git a/gtk/gtkbuilderscope.h b/gtk/gtkbuilderscope.h index 59e2928cef..d1a005993f 100644 --- a/gtk/gtkbuilderscope.h +++ b/gtk/gtkbuilderscope.h @@ -17,8 +17,7 @@ * Authors: Benjamin Otte */ -#ifndef __GTK_BUILDER_SCOPE_H__ -#define __GTK_BUILDER_SCOPE_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -126,4 +125,3 @@ GCallback gtk_builder_cscope_lookup_callback_symbol(GtkBuilderCSco G_END_DECLS -#endif /* __GTK_BUILDER_SCOPE_H__ */ diff --git a/gtk/gtkbuilderscopeprivate.h b/gtk/gtkbuilderscopeprivate.h index 4e2005f698..bf068e61ed 100644 --- a/gtk/gtkbuilderscopeprivate.h +++ b/gtk/gtkbuilderscopeprivate.h @@ -17,8 +17,7 @@ * Authors: Benjamin Otte */ -#ifndef __GTK_BUILDER_SCOPE_PRIVATE_H__ -#define __GTK_BUILDER_SCOPE_PRIVATE_H__ +#pragma once #include @@ -40,4 +39,3 @@ GClosure * gtk_builder_scope_create_closure (GtkBuilderScope G_END_DECLS -#endif /* __GTK_BUILDER_SCOPE_PRIVATE_H__ */ diff --git a/gtk/gtkbuiltiniconprivate.h b/gtk/gtkbuiltiniconprivate.h index 46fa8df15f..137e0e3ea2 100644 --- a/gtk/gtkbuiltiniconprivate.h +++ b/gtk/gtkbuiltiniconprivate.h @@ -17,8 +17,7 @@ * Authors: Cosimo Cecchi */ -#ifndef __GTK_BUILTIN_ICON_PRIVATE_H__ -#define __GTK_BUILTIN_ICON_PRIVATE_H__ +#pragma once #include "gtkwidget.h" #include "gtkcsstypesprivate.h" @@ -35,4 +34,3 @@ void gtk_builtin_icon_set_css_name (GtkBuiltinIcon *self, G_END_DECLS -#endif /* __GTK_BUILTIN_ICON_PRIVATE_H__ */ diff --git a/gtk/gtkbutton.h b/gtk/gtkbutton.h index b6d0ce5cbd..799126b63d 100644 --- a/gtk/gtkbutton.h +++ b/gtk/gtkbutton.h @@ -22,8 +22,7 @@ * GTK+ at ftp://ftp.gtk.org/pub/gtk/. */ -#ifndef __GTK_BUTTON_H__ -#define __GTK_BUTTON_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) @@ -117,4 +116,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkButton, g_object_unref) G_END_DECLS -#endif /* __GTK_BUTTON_H__ */ diff --git a/gtk/gtkbuttonprivate.h b/gtk/gtkbuttonprivate.h index 07eb23e6f0..278668bb2a 100644 --- a/gtk/gtkbuttonprivate.h +++ b/gtk/gtkbuttonprivate.h @@ -16,8 +16,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_BUTTON_PRIVATE_H__ -#define __GTK_BUTTON_PRIVATE_H__ +#pragma once #include "gtkbutton.h" @@ -27,4 +26,3 @@ GtkGesture * gtk_button_get_gesture (GtkButton *button); GtkActionHelper * gtk_button_get_action_helper (GtkButton *button); -#endif /* __GTK_BUTTON_PRIVATE_H__ */ diff --git a/gtk/gtkcalendar.h b/gtk/gtkcalendar.h index 90ef3757ed..0e3475b4b7 100644 --- a/gtk/gtkcalendar.h +++ b/gtk/gtkcalendar.h @@ -25,8 +25,7 @@ * GTK+ at ftp://ftp.gtk.org/pub/gtk/. */ -#ifndef __GTK_CALENDAR_H__ -#define __GTK_CALENDAR_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) @@ -90,4 +89,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkCalendar, g_object_unref) G_END_DECLS -#endif /* __GTK_CALENDAR_H__ */ diff --git a/gtk/gtkcenterbox.h b/gtk/gtkcenterbox.h index c1996a35f4..1f5831fd79 100644 --- a/gtk/gtkcenterbox.h +++ b/gtk/gtkcenterbox.h @@ -19,8 +19,7 @@ * */ -#ifndef __GTK_CENTER_BOX_H__ -#define __GTK_CENTER_BOX_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -70,4 +69,3 @@ GtkBaselinePosition gtk_center_box_get_baseline_position (GtkCenterBox *s G_END_DECLS -#endif diff --git a/gtk/gtkcheckbutton.h b/gtk/gtkcheckbutton.h index d4aefc1582..00bf8af5a6 100644 --- a/gtk/gtkcheckbutton.h +++ b/gtk/gtkcheckbutton.h @@ -22,8 +22,7 @@ * GTK+ at ftp://ftp.gtk.org/pub/gtk/. */ -#ifndef __GTK_CHECK_BUTTON_H__ -#define __GTK_CHECK_BUTTON_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) @@ -105,4 +104,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkCheckButton, g_object_unref) G_END_DECLS -#endif /* __GTK_CHECK_BUTTON_H__ */ diff --git a/gtk/gtkcoloreditorprivate.h b/gtk/gtkcoloreditorprivate.h index 97bb8b7066..59d10deb59 100644 --- a/gtk/gtkcoloreditorprivate.h +++ b/gtk/gtkcoloreditorprivate.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_COLOR_EDITOR_H__ -#define __GTK_COLOR_EDITOR_H__ +#pragma once #include @@ -37,4 +36,3 @@ GtkWidget * gtk_color_editor_new (void); G_END_DECLS -#endif /* __GTK_COLOR_EDITOR_H__ */ diff --git a/gtk/gtkcolorpickerkwinprivate.h b/gtk/gtkcolorpickerkwinprivate.h index 89644423f6..cef028eee4 100644 --- a/gtk/gtkcolorpickerkwinprivate.h +++ b/gtk/gtkcolorpickerkwinprivate.h @@ -17,8 +17,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_COLOR_PICKER_KWIN_H__ -#define __GTK_COLOR_PICKER_KWIN_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) @@ -38,4 +37,3 @@ GtkColorPicker * gtk_color_picker_kwin_new (void); G_END_DECLS -#endif /* __GTK_COLOR_PICKER_KWIN_H__ */ diff --git a/gtk/gtkcolorpickerportalprivate.h b/gtk/gtkcolorpickerportalprivate.h index 1069c5ee9d..3ec247133a 100644 --- a/gtk/gtkcolorpickerportalprivate.h +++ b/gtk/gtkcolorpickerportalprivate.h @@ -17,8 +17,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_COLOR_PICKER_PORTAL_H__ -#define __GTK_COLOR_PICKER_PORTAL_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) @@ -38,4 +37,3 @@ GtkColorPicker * gtk_color_picker_portal_new (void); G_END_DECLS -#endif /* __GTK_COLOR_PICKER_PORTAL_H__ */ diff --git a/gtk/gtkcolorpickerprivate.h b/gtk/gtkcolorpickerprivate.h index 8e74b0be22..67e0d9db6b 100644 --- a/gtk/gtkcolorpickerprivate.h +++ b/gtk/gtkcolorpickerprivate.h @@ -17,8 +17,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_COLOR_PICKER_H__ -#define __GTK_COLOR_PICKER_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) @@ -62,4 +61,3 @@ GdkRGBA * gtk_color_picker_pick_finish (GtkColorPicker *picker, G_END_DECLS -#endif /* __GTK_COLOR_PICKER_H__ */ diff --git a/gtk/gtkcolorpickershellprivate.h b/gtk/gtkcolorpickershellprivate.h index c41b0868f0..cb6378c6ef 100644 --- a/gtk/gtkcolorpickershellprivate.h +++ b/gtk/gtkcolorpickershellprivate.h @@ -17,8 +17,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_COLOR_PICKER_SHELL_H__ -#define __GTK_COLOR_PICKER_SHELL_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) @@ -38,4 +37,3 @@ GtkColorPicker * gtk_color_picker_shell_new (void); G_END_DECLS -#endif /* __GTK_COLOR_PICKER_SHELL_H__ */ diff --git a/gtk/gtkcolorpickerwin32private.h b/gtk/gtkcolorpickerwin32private.h index 1d4a423637..9fa1f84279 100644 --- a/gtk/gtkcolorpickerwin32private.h +++ b/gtk/gtkcolorpickerwin32private.h @@ -17,8 +17,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_COLOR_PICKER_WIN32_H__ -#define __GTK_COLOR_PICKER_WIN32_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) @@ -38,4 +37,3 @@ GtkColorPicker * gtk_color_picker_win32_new (void); G_END_DECLS -#endif /* __GTK_COLOR_PICKER_WIN32_H__ */ diff --git a/gtk/gtkcolorplaneprivate.h b/gtk/gtkcolorplaneprivate.h index ecd99b4ff0..d4afb63eeb 100644 --- a/gtk/gtkcolorplaneprivate.h +++ b/gtk/gtkcolorplaneprivate.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_COLOR_PLANE_H__ -#define __GTK_COLOR_PLANE_H__ +#pragma once #include @@ -37,4 +36,3 @@ GtkWidget * gtk_color_plane_new (GtkAdjustment *h_adj, G_END_DECLS -#endif /* __GTK_COLOR_PLANE_H__ */ diff --git a/gtk/gtkcolorscaleprivate.h b/gtk/gtkcolorscaleprivate.h index 47bf018702..81689a5126 100644 --- a/gtk/gtkcolorscaleprivate.h +++ b/gtk/gtkcolorscaleprivate.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_COLOR_SCALE_H__ -#define __GTK_COLOR_SCALE_H__ +#pragma once #include @@ -48,4 +47,3 @@ void gtk_color_scale_snapshot_trough (GtkColorScale *scale, G_END_DECLS -#endif /* __GTK_COLOR_SCALE_H__ */ diff --git a/gtk/gtkcolorswatchprivate.h b/gtk/gtkcolorswatchprivate.h index 17c0d6b8c8..9db2c62a8a 100644 --- a/gtk/gtkcolorswatchprivate.h +++ b/gtk/gtkcolorswatchprivate.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_COLOR_SWATCH_PRIVATE_H__ -#define __GTK_COLOR_SWATCH_PRIVATE_H__ +#pragma once #include @@ -58,4 +57,3 @@ void gtk_color_swatch_customize (GtkColorSwatch *swatch); G_END_DECLS -#endif /* __GTK_COLOR_SWATCH_PRIVATE_H__ */ diff --git a/gtk/gtkcolorutils.h b/gtk/gtkcolorutils.h index 08a797a2b9..a1619121b8 100644 --- a/gtk/gtkcolorutils.h +++ b/gtk/gtkcolorutils.h @@ -27,8 +27,7 @@ * GTK+ at ftp://ftp.gtk.org/pub/gtk/. */ -#ifndef __GTK_COLOR_UTILS_H__ -#define __GTK_COLOR_UTILS_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -48,4 +47,3 @@ void gtk_rgb_to_hsv (float r, float g, float b, G_END_DECLS -#endif /* __GTK_COLOR_UTILS_H__ */ diff --git a/gtk/gtkcolumnview.h b/gtk/gtkcolumnview.h index 8f38bf5545..aa04cd9363 100644 --- a/gtk/gtkcolumnview.h +++ b/gtk/gtkcolumnview.h @@ -17,8 +17,7 @@ * Authors: Benjamin Otte */ -#ifndef __GTK_COLUMN_VIEW_H__ -#define __GTK_COLUMN_VIEW_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -117,4 +116,3 @@ gboolean gtk_column_view_get_tab_behavior (GtkColumnView G_END_DECLS -#endif /* __GTK_COLUMN_VIEW_H__ */ diff --git a/gtk/gtkcolumnviewcellprivate.h b/gtk/gtkcolumnviewcellprivate.h index 4378d082e7..5e78ea4901 100644 --- a/gtk/gtkcolumnviewcellprivate.h +++ b/gtk/gtkcolumnviewcellprivate.h @@ -17,8 +17,7 @@ * Authors: Benjamin Otte */ -#ifndef __GTK_COLUMN_VIEW_CELL_PRIVATE_H__ -#define __GTK_COLUMN_VIEW_CELL_PRIVATE_H__ +#pragma once #include "gtkcolumnviewcolumn.h" @@ -46,4 +45,3 @@ GtkColumnViewColumn * gtk_column_view_cell_get_column (GtkColumnViewCe G_END_DECLS -#endif /* __GTK_COLUMN_VIEW_CELL_PRIVATE_H__ */ diff --git a/gtk/gtkcolumnviewcolumn.h b/gtk/gtkcolumnviewcolumn.h index 1af7097711..fb5d2ec1cb 100644 --- a/gtk/gtkcolumnviewcolumn.h +++ b/gtk/gtkcolumnviewcolumn.h @@ -17,8 +17,7 @@ * Authors: Benjamin Otte */ -#ifndef __GTK_COLUMN_VIEW_COLUMN_H__ -#define __GTK_COLUMN_VIEW_COLUMN_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -105,4 +104,3 @@ const char * gtk_column_view_column_get_id (GtkColu G_END_DECLS -#endif /* __GTK_COLUMN_VIEW_COLUMN_H__ */ diff --git a/gtk/gtkcolumnviewcolumnprivate.h b/gtk/gtkcolumnviewcolumnprivate.h index d71bc8a9dd..aa7f1c73fd 100644 --- a/gtk/gtkcolumnviewcolumnprivate.h +++ b/gtk/gtkcolumnviewcolumnprivate.h @@ -17,8 +17,7 @@ * Authors: Benjamin Otte */ -#ifndef __GTK_COLUMN_VIEW_COLUMN_PRIVATE_H__ -#define __GTK_COLUMN_VIEW_COLUMN_PRIVATE_H__ +#pragma once #include "gtk/gtkcolumnviewcolumn.h" @@ -57,4 +56,3 @@ void gtk_column_view_column_get_header_allocation (GtkColu int *offset, int *size); -#endif /* __GTK_COLUMN_VIEW_COLUMN_PRIVATE_H__ */ diff --git a/gtk/gtkcolumnviewprivate.h b/gtk/gtkcolumnviewprivate.h index 65bc3679e8..679b582aed 100644 --- a/gtk/gtkcolumnviewprivate.h +++ b/gtk/gtkcolumnviewprivate.h @@ -17,8 +17,7 @@ * Authors: Benjamin Otte */ -#ifndef __GTK_COLUMN_VIEW_PRIVATE_H__ -#define __GTK_COLUMN_VIEW_PRIVATE_H__ +#pragma once #include "gtk/gtkcolumnview.h" #include "gtk/gtklistview.h" @@ -42,4 +41,3 @@ void gtk_column_view_set_focus_column (GtkColumnView GtkColumnViewColumn *focus_column); GtkColumnViewColumn * gtk_column_view_get_focus_column (GtkColumnView *self); -#endif /* __GTK_COLUMN_VIEW_PRIVATE_H__ */ diff --git a/gtk/gtkcolumnviewrowwidgetprivate.h b/gtk/gtkcolumnviewrowwidgetprivate.h index b55a7ab45b..5cc4aa1dad 100644 --- a/gtk/gtkcolumnviewrowwidgetprivate.h +++ b/gtk/gtkcolumnviewrowwidgetprivate.h @@ -17,8 +17,7 @@ * Authors: Benjamin Otte */ -#ifndef __GTK_COLUMN_VIEW_ROW_WIDGET_PRIVATE_H__ -#define __GTK_COLUMN_VIEW_ROW_WIDGET_PRIVATE_H__ +#pragma once #include "gtklistfactorywidgetprivate.h" @@ -58,4 +57,3 @@ void gtk_column_view_row_widget_remove_child (GtkColu G_END_DECLS -#endif /* __GTK_COLUMN_VIEW_ROW_WIDGET_PRIVATE_H__ */ diff --git a/gtk/gtkcolumnviewsorter.h b/gtk/gtkcolumnviewsorter.h index ec562da87a..29e0358433 100644 --- a/gtk/gtkcolumnviewsorter.h +++ b/gtk/gtkcolumnviewsorter.h @@ -17,8 +17,7 @@ * Authors: Matthias Clasen */ -#ifndef __GTK_COLUMN_VIEW_SORTER_H__ -#define __GTK_COLUMN_VIEW_SORTER_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -51,5 +50,4 @@ GtkColumnViewColumn * gtk_column_view_sorter_get_nth_sort_column (GtkColum G_END_DECLS -#endif /* __GTK_SORTER_H__ */ diff --git a/gtk/gtkcolumnviewsorterprivate.h b/gtk/gtkcolumnviewsorterprivate.h index 7b370b7e71..04e2a247fa 100644 --- a/gtk/gtkcolumnviewsorterprivate.h +++ b/gtk/gtkcolumnviewsorterprivate.h @@ -17,8 +17,7 @@ * Authors: Matthias Clasen */ -#ifndef __GTK_COLUMN_VIEW_SORTER_PRIVATE_H__ -#define __GTK_COLUMN_VIEW_SORTER_PRIVATE_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -47,5 +46,4 @@ gboolean gtk_column_view_sorter_set_column (GtkColumnViewSo G_END_DECLS -#endif /* __GTK_COLUMN_VIEW_SORTER_PRIVATE_H__ */ diff --git a/gtk/gtkcolumnviewtitleprivate.h b/gtk/gtkcolumnviewtitleprivate.h index dae569f55a..a072108616 100644 --- a/gtk/gtkcolumnviewtitleprivate.h +++ b/gtk/gtkcolumnviewtitleprivate.h @@ -17,8 +17,7 @@ * Authors: Benjamin Otte */ -#ifndef __GTK_COLUMN_VIEW_TITLE_PRIVATE_H__ -#define __GTK_COLUMN_VIEW_TITLE_PRIVATE_H__ +#pragma once #include "gtkcolumnviewcolumn.h" @@ -49,4 +48,3 @@ GtkColumnViewColumn * gtk_column_view_title_get_column (GtkColumnViewTi G_END_DECLS -#endif /* __GTK_COLUMN_VIEW_TITLE_PRIVATE_H__ */ diff --git a/gtk/gtkcomposetable.h b/gtk/gtkcomposetable.h index bb7d8c6155..f6665e63c0 100644 --- a/gtk/gtkcomposetable.h +++ b/gtk/gtkcomposetable.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_COMPOSETABLE_H__ -#define __GTK_COMPOSETABLE_H__ +#pragma once #include @@ -97,4 +96,3 @@ char * gtk_compose_table_get_x11_compose_file_dir (void); G_END_DECLS -#endif /* __GTK_COMPOSETABLE_H__ */ diff --git a/gtk/gtkcountingbloomfilterprivate.h b/gtk/gtkcountingbloomfilterprivate.h index 73cc429d20..15c7d4a07f 100644 --- a/gtk/gtkcountingbloomfilterprivate.h +++ b/gtk/gtkcountingbloomfilterprivate.h @@ -17,8 +17,7 @@ * Authors: Benjamin Otte */ -#ifndef __GTK_COUNTING_BLOOM_FILTER_PRIVATE_H__ -#define __GTK_COUNTING_BLOOM_FILTER_PRIVATE_H__ +#pragma once #include @@ -154,4 +153,3 @@ gtk_counting_bloom_filter_may_contain (const GtkCountingBloomFilter *self, G_END_DECLS -#endif /* __GTK_COUNTING_BLOOM_FILTER_PRIVATE_H_ */ diff --git a/gtk/gtkcssanimatedstyleprivate.h b/gtk/gtkcssanimatedstyleprivate.h index 90e1af83bf..2612c4af88 100644 --- a/gtk/gtkcssanimatedstyleprivate.h +++ b/gtk/gtkcssanimatedstyleprivate.h @@ -17,8 +17,7 @@ * Authors: Benjamin Otte */ -#ifndef __GTK_CSS_ANIMATED_STYLE_PRIVATE_H__ -#define __GTK_CSS_ANIMATED_STYLE_PRIVATE_H__ +#pragma once #include "gtk/gtkcssstyleprivate.h" @@ -70,4 +69,3 @@ GtkCssValue * gtk_css_animated_style_get_intrinsic_value (GtkCssAnimat G_END_DECLS -#endif /* __GTK_CSS_ANIMATED_STYLE_PRIVATE_H__ */ diff --git a/gtk/gtkcssanimationprivate.h b/gtk/gtkcssanimationprivate.h index ab47be8c9c..8f715dd36d 100644 --- a/gtk/gtkcssanimationprivate.h +++ b/gtk/gtkcssanimationprivate.h @@ -17,8 +17,7 @@ * Authors: Benjamin Otte */ -#ifndef __GTK_CSS_ANIMATION_PRIVATE_H__ -#define __GTK_CSS_ANIMATION_PRIVATE_H__ +#pragma once #include "gtkstyleanimationprivate.h" @@ -70,4 +69,3 @@ gboolean _gtk_css_animation_is_animation (GtkStyleAnimation *a G_END_DECLS -#endif /* __GTK_CSS_ANIMATION_PRIVATE_H__ */ diff --git a/gtk/gtkcssarrayvalueprivate.h b/gtk/gtkcssarrayvalueprivate.h index 1f9f38b006..675a7d73f4 100644 --- a/gtk/gtkcssarrayvalueprivate.h +++ b/gtk/gtkcssarrayvalueprivate.h @@ -17,8 +17,7 @@ * Authors: Alexander Larsson */ -#ifndef __GTK_CSS_ARRAY_VALUE_PRIVATE_H__ -#define __GTK_CSS_ARRAY_VALUE_PRIVATE_H__ +#pragma once #include #include "gtk/css/gtkcsstokenizerprivate.h" @@ -41,4 +40,3 @@ guint _gtk_css_array_value_get_n_values (const GtkCssValue * G_END_DECLS -#endif /* __GTK_CSS_ARRAY_VALUE_PRIVATE_H__ */ diff --git a/gtk/gtkcssbgsizevalueprivate.h b/gtk/gtkcssbgsizevalueprivate.h index 47e356ead6..f521fa00c4 100644 --- a/gtk/gtkcssbgsizevalueprivate.h +++ b/gtk/gtkcssbgsizevalueprivate.h @@ -17,8 +17,7 @@ * Authors: Alexander Larsson */ -#ifndef __GTK_CSS_BG_SIZE_VALUE_PRIVATE_H__ -#define __GTK_CSS_BG_SIZE_VALUE_PRIVATE_H__ +#pragma once #include #include "gtk/css/gtkcsstokenizerprivate.h" @@ -42,4 +41,3 @@ void _gtk_css_bg_size_value_compute_size (const GtkCssValue *bg_ G_END_DECLS -#endif /* __GTK_CSS_BG_SIZE_VALUE_PRIVATE_H__ */ diff --git a/gtk/gtkcssbordervalueprivate.h b/gtk/gtkcssbordervalueprivate.h index 0fcaaf7db7..1f18bdecce 100644 --- a/gtk/gtkcssbordervalueprivate.h +++ b/gtk/gtkcssbordervalueprivate.h @@ -17,8 +17,7 @@ * Authors: Alexander Larsson */ -#ifndef __GTK_CSS_BORDER_VALUE_PRIVATE_H__ -#define __GTK_CSS_BORDER_VALUE_PRIVATE_H__ +#pragma once #include #include "gtk/css/gtkcsstokenizerprivate.h" @@ -45,4 +44,3 @@ GtkCssValue * _gtk_css_border_value_get_left (const GtkCssValue *val G_END_DECLS -#endif /* __GTK_CSS_BORDER_VALUE_PRIVATE_H__ */ diff --git a/gtk/gtkcssboxesimplprivate.h b/gtk/gtkcssboxesimplprivate.h index 01b046ee4e..f41ab111fa 100644 --- a/gtk/gtkcssboxesimplprivate.h +++ b/gtk/gtkcssboxesimplprivate.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_CSS_BOXES_IMPL_PRIVATE_H__ -#define __GTK_CSS_BOXES_IMPL_PRIVATE_H__ +#pragma once #include "gtkcssboxesprivate.h" @@ -564,4 +563,3 @@ gtk_css_boxes_get_outline_box (GtkCssBoxes *boxes) return &boxes->box[GTK_CSS_AREA_OUTLINE_BOX]; } -#endif /* __GTK_CSS_BOXES_IMPL_PRIVATE_H__ */ diff --git a/gtk/gtkcssboxesprivate.h b/gtk/gtkcssboxesprivate.h index 24a38ff0de..9516f687eb 100644 --- a/gtk/gtkcssboxesprivate.h +++ b/gtk/gtkcssboxesprivate.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_CSS_BOXES_PRIVATE_H__ -#define __GTK_CSS_BOXES_PRIVATE_H__ +#pragma once #include "gtkcsstypesprivate.h" #include "gtktypes.h" @@ -85,7 +84,6 @@ static inline const GskRoundedRect * gtk_css_boxes_get_outline_box G_END_DECLS -#endif /* __GTK_CSS_BOXES_PRIVATE_H__ */ /* and finally include the actual code for the functions */ #include "gtkcssboxesimplprivate.h" diff --git a/gtk/gtkcsscalcvalueprivate.h b/gtk/gtkcsscalcvalueprivate.h index 247d4c8a2a..aa46b6a2a1 100644 --- a/gtk/gtkcsscalcvalueprivate.h +++ b/gtk/gtkcsscalcvalueprivate.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_CSS_CALC_VALUE_PRIVATE_H__ -#define __GTK_CSS_CALC_VALUE_PRIVATE_H__ +#pragma once #include "gtkcssnumbervalueprivate.h" @@ -27,4 +26,3 @@ GtkCssValue * gtk_css_calc_value_parse (GtkCssParser *par G_END_DECLS -#endif /* __GTK_CSS_CALC_VALUE_PRIVATE_H__ */ diff --git a/gtk/gtkcsscolorvalueprivate.h b/gtk/gtkcsscolorvalueprivate.h index f96f6f4234..045052aedd 100644 --- a/gtk/gtkcsscolorvalueprivate.h +++ b/gtk/gtkcsscolorvalueprivate.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_CSS_COLOR_VALUE_PRIVATE_H__ -#define __GTK_CSS_COLOR_VALUE_PRIVATE_H__ +#pragma once #include #include "gtk/css/gtkcsstokenizerprivate.h" @@ -51,4 +50,3 @@ const GdkRGBA * gtk_css_color_value_get_rgba (const GtkCssValue *colo G_END_DECLS -#endif /* __GTK_CSS_COLOR_VALUE_PRIVATE_H__ */ diff --git a/gtk/gtkcsscornervalueprivate.h b/gtk/gtkcsscornervalueprivate.h index a364ce9df5..7a5028b829 100644 --- a/gtk/gtkcsscornervalueprivate.h +++ b/gtk/gtkcsscornervalueprivate.h @@ -17,8 +17,7 @@ * Authors: Alexander Larsson */ -#ifndef __GTK_CSS_CORNER_VALUE_PRIVATE_H__ -#define __GTK_CSS_CORNER_VALUE_PRIVATE_H__ +#pragma once #include #include "gtk/css/gtkcsstokenizerprivate.h" @@ -40,4 +39,3 @@ gboolean gtk_css_corner_value_is_zero (const GtkCssValue *cor G_END_DECLS -#endif /* __GTK_CSS_CORNER_VALUE_PRIVATE_H__ */ diff --git a/gtk/gtkcssdimensionvalueprivate.h b/gtk/gtkcssdimensionvalueprivate.h index 71370d8768..0c59061e1a 100644 --- a/gtk/gtkcssdimensionvalueprivate.h +++ b/gtk/gtkcssdimensionvalueprivate.h @@ -17,8 +17,7 @@ * Authors: Alexander Larsson */ -#ifndef __GTK_CSS_DIMENSION_VALUE_PRIVATE_H__ -#define __GTK_CSS_DIMENSION_VALUE_PRIVATE_H__ +#pragma once #include "gtkcssnumbervalueprivate.h" @@ -28,4 +27,3 @@ GtkCssValue * gtk_css_dimension_value_parse (GtkCssParser *par GtkCssNumberParseFlags flags); G_END_DECLS -#endif /* __GTK_CSS_DIMENSION_VALUE_PRIVATE_H__ */ diff --git a/gtk/gtkcssdynamicprivate.h b/gtk/gtkcssdynamicprivate.h index 8f356c265a..febdf6bc91 100644 --- a/gtk/gtkcssdynamicprivate.h +++ b/gtk/gtkcssdynamicprivate.h @@ -17,8 +17,7 @@ * Authors: Benjamin Otte */ -#ifndef __GTK_CSS_DYNAMIC_PRIVATE_H__ -#define __GTK_CSS_DYNAMIC_PRIVATE_H__ +#pragma once #include "gtkstyleanimationprivate.h" @@ -34,4 +33,3 @@ GtkStyleAnimation * gtk_css_dynamic_new (gint64 timestamp); G_END_DECLS -#endif /* __GTK_CSS_DYNAMIC_PRIVATE_H__ */ diff --git a/gtk/gtkcsseasevalueprivate.h b/gtk/gtkcsseasevalueprivate.h index 8aa2770fee..985a574c5d 100644 --- a/gtk/gtkcsseasevalueprivate.h +++ b/gtk/gtkcsseasevalueprivate.h @@ -17,8 +17,7 @@ * Authors: Alexander Larsson */ -#ifndef __GTK_CSS_EASE_VALUE_PRIVATE_H__ -#define __GTK_CSS_EASE_VALUE_PRIVATE_H__ +#pragma once #include #include "gtk/css/gtkcsstokenizerprivate.h" @@ -40,4 +39,3 @@ double _gtk_css_ease_value_transform (const GtkCssValue *eas G_END_DECLS -#endif /* __GTK_CSS_EASE_VALUE_PRIVATE_H__ */ diff --git a/gtk/gtkcssenumvalueprivate.h b/gtk/gtkcssenumvalueprivate.h index b6d3b0f757..7a4943f2ec 100644 --- a/gtk/gtkcssenumvalueprivate.h +++ b/gtk/gtkcssenumvalueprivate.h @@ -17,8 +17,7 @@ * Authors: Alexander Larsson */ -#ifndef __GTK_CSS_ENUM_VALUE_PRIVATE_H__ -#define __GTK_CSS_ENUM_VALUE_PRIVATE_H__ +#pragma once #include "gtkenums.h" #include @@ -120,4 +119,3 @@ GtkCssValue * _gtk_css_text_transform_value_try_parse (GtkCssParser GtkTextTransform _gtk_css_text_transform_value_get (const GtkCssValue *value); G_END_DECLS -#endif /* __GTK_CSS_ENUM_VALUE_PRIVATE_H__ */ diff --git a/gtk/gtkcssfiltervalueprivate.h b/gtk/gtkcssfiltervalueprivate.h index 6d76f906b7..4927ee65cc 100644 --- a/gtk/gtkcssfiltervalueprivate.h +++ b/gtk/gtkcssfiltervalueprivate.h @@ -17,8 +17,7 @@ * Authors: Benjamin Otte */ -#ifndef __GTK_CSS_FILTER_VALUE_PRIVATE_H__ -#define __GTK_CSS_FILTER_VALUE_PRIVATE_H__ +#pragma once #include #include "gtk/css/gtkcsstokenizerprivate.h" @@ -37,4 +36,3 @@ void gtk_css_filter_value_pop_snapshot (const GtkCssValue G_END_DECLS -#endif /* __GTK_CSS_FILTER_VALUE_PRIVATE_H__ */ diff --git a/gtk/gtkcssfontfeaturesvalueprivate.h b/gtk/gtkcssfontfeaturesvalueprivate.h index b0001da986..5313150611 100644 --- a/gtk/gtkcssfontfeaturesvalueprivate.h +++ b/gtk/gtkcssfontfeaturesvalueprivate.h @@ -17,8 +17,7 @@ * Authors: Matthias Clasen */ -#ifndef __GTK_CSS_FONT_FEATURES_VALUE_PRIVATE_H__ -#define __GTK_CSS_FONT_FEATURES_VALUE_PRIVATE_H__ +#pragma once #include #include "gtk/css/gtkcsstokenizerprivate.h" @@ -35,4 +34,3 @@ char * gtk_css_font_features_value_get_features (GtkCssValue *value); G_END_DECLS -#endif /* __GTK_CSS_FONT_FEATURES_VALUE_PRIVATE_H__ */ diff --git a/gtk/gtkcssfontvariationsvalueprivate.h b/gtk/gtkcssfontvariationsvalueprivate.h index c468848190..1276a16462 100644 --- a/gtk/gtkcssfontvariationsvalueprivate.h +++ b/gtk/gtkcssfontvariationsvalueprivate.h @@ -17,8 +17,7 @@ * Authors: Matthias Clasen */ -#ifndef __GTK_CSS_FONT_VARIATIONS_VALUE_PRIVATE_H__ -#define __GTK_CSS_FONT_VARIATIONS_VALUE_PRIVATE_H__ +#pragma once #include #include "gtk/css/gtkcsstokenizerprivate.h" @@ -35,4 +34,3 @@ char * gtk_css_font_variations_value_get_variations (GtkCssValue *valu G_END_DECLS -#endif /* __GTK_CSS_FONT_VARIATIONS_VALUE_PRIVATE_H__ */ diff --git a/gtk/gtkcssimageconicprivate.h b/gtk/gtkcssimageconicprivate.h index 89d9c26739..b0d33bf23b 100644 --- a/gtk/gtkcssimageconicprivate.h +++ b/gtk/gtkcssimageconicprivate.h @@ -17,8 +17,7 @@ * Authors: Benjamin Otte */ -#ifndef __GTK_CSS_IMAGE_CONIC_PRIVATE_H__ -#define __GTK_CSS_IMAGE_CONIC_PRIVATE_H__ +#pragma once #include "gtk/gtkcssimageprivate.h" #include "gtk/gtkcssvalueprivate.h" @@ -61,4 +60,3 @@ GType gtk_css_image_conic_get_type (void) G_GNUC_CO G_END_DECLS -#endif /* __GTK_CSS_IMAGE_CONIC_PRIVATE_H__ */ diff --git a/gtk/gtkcssimagecrossfadeprivate.h b/gtk/gtkcssimagecrossfadeprivate.h index 066508801d..0bad8e574b 100644 --- a/gtk/gtkcssimagecrossfadeprivate.h +++ b/gtk/gtkcssimagecrossfadeprivate.h @@ -17,8 +17,7 @@ * Authors: Benjamin Otte */ -#ifndef __GTK_CSS_IMAGE_CROSS_FADE_PRIVATE_H__ -#define __GTK_CSS_IMAGE_CROSS_FADE_PRIVATE_H__ +#pragma once #include "gtk/gtkcssimageprivate.h" @@ -55,4 +54,3 @@ GtkCssImage * _gtk_css_image_cross_fade_new (GtkCssImage G_END_DECLS -#endif /* __GTK_CSS_IMAGE_CROSS_FADE_PRIVATE_H__ */ diff --git a/gtk/gtkcssimagefallbackprivate.h b/gtk/gtkcssimagefallbackprivate.h index d3313c77f2..da182c8f55 100644 --- a/gtk/gtkcssimagefallbackprivate.h +++ b/gtk/gtkcssimagefallbackprivate.h @@ -17,8 +17,7 @@ * Authors: Matthias Clasen */ -#ifndef __GTK_CSS_IMAGE_FALLBACK_PRIVATE_H__ -#define __GTK_CSS_IMAGE_FALLBACK_PRIVATE_H__ +#pragma once #include "gtk/gtkcssimageprivate.h" #include "gtk/gtkcssvalueprivate.h" @@ -58,4 +57,3 @@ GtkCssImage *_gtk_css_image_fallback_new_for_color (GtkCssValue *color); G_END_DECLS -#endif /* __GTK_CSS_IMAGE_FALLBACK_PRIVATE_H__ */ diff --git a/gtk/gtkcssimageiconthemeprivate.h b/gtk/gtkcssimageiconthemeprivate.h index b0b4d09794..613c49e1d2 100644 --- a/gtk/gtkcssimageiconthemeprivate.h +++ b/gtk/gtkcssimageiconthemeprivate.h @@ -17,8 +17,7 @@ * Authors: Benjamin Otte */ -#ifndef __GTK_CSS_IMAGE_ICON_THEME_PRIVATE_H__ -#define __GTK_CSS_IMAGE_ICON_THEME_PRIVATE_H__ +#pragma once #include "gtk/gtkcssimageprivate.h" #include "gtk/gtkicontheme.h" @@ -59,4 +58,3 @@ GType _gtk_css_image_icon_theme_get_type (void) G_GNUC_CONS G_END_DECLS -#endif /* __GTK_CSS_IMAGE_ICON_THEME_PRIVATE_H__ */ diff --git a/gtk/gtkcssimageinvalidprivate.h b/gtk/gtkcssimageinvalidprivate.h index 0e7fb93036..ae63697223 100644 --- a/gtk/gtkcssimageinvalidprivate.h +++ b/gtk/gtkcssimageinvalidprivate.h @@ -17,8 +17,7 @@ * Authors: Benjamin Otte */ -#ifndef __GTK_CSS_IMAGE_INVALID_PRIVATE_H__ -#define __GTK_CSS_IMAGE_INVALID_PRIVATE_H__ +#pragma once #include "gtk/gtkcssimageprivate.h" @@ -54,4 +53,3 @@ GtkCssImage * gtk_css_image_invalid_new (void); G_END_DECLS -#endif /* __GTK_CSS_IMAGE_INVALID_PRIVATE_H__ */ diff --git a/gtk/gtkcssimagelinearprivate.h b/gtk/gtkcssimagelinearprivate.h index 438b8396ec..4ddc4eb424 100644 --- a/gtk/gtkcssimagelinearprivate.h +++ b/gtk/gtkcssimagelinearprivate.h @@ -17,8 +17,7 @@ * Authors: Benjamin Otte */ -#ifndef __GTK_CSS_IMAGE_LINEAR_PRIVATE_H__ -#define __GTK_CSS_IMAGE_LINEAR_PRIVATE_H__ +#pragma once #include "gtk/gtkcssimageprivate.h" #include "gtk/gtkcssvalueprivate.h" @@ -62,4 +61,3 @@ GType _gtk_css_image_linear_get_type (void) G_GNUC_CONST; G_END_DECLS -#endif /* __GTK_CSS_IMAGE_LINEAR_PRIVATE_H__ */ diff --git a/gtk/gtkcssimagepaintableprivate.h b/gtk/gtkcssimagepaintableprivate.h index 5b3dbf4145..949d1892d5 100644 --- a/gtk/gtkcssimagepaintableprivate.h +++ b/gtk/gtkcssimagepaintableprivate.h @@ -17,8 +17,7 @@ * Authors: Benjamin Otte */ -#ifndef __GTK_CSS_IMAGE_PAINTABLE_PRIVATE_H__ -#define __GTK_CSS_IMAGE_PAINTABLE_PRIVATE_H__ +#pragma once #include "gtk/gtkcssimageprivate.h" @@ -54,4 +53,3 @@ GtkCssImage * gtk_css_image_paintable_new (GdkPaintable G_END_DECLS -#endif /* __GTK_CSS_IMAGE_PAINTABLE_PRIVATE_H__ */ diff --git a/gtk/gtkcssimageprivate.h b/gtk/gtkcssimageprivate.h index 707c5d7648..a03b6c578b 100644 --- a/gtk/gtkcssimageprivate.h +++ b/gtk/gtkcssimageprivate.h @@ -17,8 +17,7 @@ * Authors: Benjamin Otte */ -#ifndef __GTK_CSS_IMAGE_PRIVATE_H__ -#define __GTK_CSS_IMAGE_PRIVATE_H__ +#pragma once #include #include @@ -148,4 +147,3 @@ gboolean gtk_css_image_is_computed (GtkCssImage * G_END_DECLS -#endif /* __GTK_CSS_IMAGE_PRIVATE_H__ */ diff --git a/gtk/gtkcssimageradialprivate.h b/gtk/gtkcssimageradialprivate.h index a59be6ca22..aceec9b58f 100644 --- a/gtk/gtkcssimageradialprivate.h +++ b/gtk/gtkcssimageradialprivate.h @@ -17,8 +17,7 @@ * Authors: Matthias Clasen */ -#ifndef __GTK_CSS_IMAGE_RADIAL_PRIVATE_H__ -#define __GTK_CSS_IMAGE_RADIAL_PRIVATE_H__ +#pragma once #include "gtk/gtkcssimageprivate.h" #include "gtk/gtkcssvalueprivate.h" @@ -71,4 +70,3 @@ GType _gtk_css_image_radial_get_type (void) G_GNUC_CONST; G_END_DECLS -#endif /* __GTK_CSS_IMAGE_RADIAL_PRIVATE_H__ */ diff --git a/gtk/gtkcssimagerecolorprivate.h b/gtk/gtkcssimagerecolorprivate.h index 4658e92bf3..309d3eeb45 100644 --- a/gtk/gtkcssimagerecolorprivate.h +++ b/gtk/gtkcssimagerecolorprivate.h @@ -17,8 +17,7 @@ * Authors: Matthias Clasen */ -#ifndef __GTK_CSS_IMAGE_RECOLOR_PRIVATE_H__ -#define __GTK_CSS_IMAGE_RECOLOR_PRIVATE_H__ +#pragma once #include "gtk/gtkcssimageurlprivate.h" #include "gtk/gtkcssvalueprivate.h" @@ -57,4 +56,3 @@ GType _gtk_css_image_recolor_get_type (void) G_GNUC_CONST; G_END_DECLS -#endif /* __GTK_CSS_IMAGE_RECOLOR_PRIVATE_H__ */ diff --git a/gtk/gtkcssimagescaledprivate.h b/gtk/gtkcssimagescaledprivate.h index 9fc75ef833..072ffb6799 100644 --- a/gtk/gtkcssimagescaledprivate.h +++ b/gtk/gtkcssimagescaledprivate.h @@ -17,8 +17,7 @@ * Authors: Alexander Larsson */ -#ifndef __GTK_CSS_IMAGE_SCALED_PRIVATE_H__ -#define __GTK_CSS_IMAGE_SCALED_PRIVATE_H__ +#pragma once #include "gtk/gtkcssimageprivate.h" @@ -52,4 +51,3 @@ GType _gtk_css_image_scaled_get_type (void) G_GNUC_CONST; G_END_DECLS -#endif /* __GTK_CSS_IMAGE_SCALED_PRIVATE_H__ */ diff --git a/gtk/gtkcssimageurlprivate.h b/gtk/gtkcssimageurlprivate.h index f2d91d146d..b632efcd03 100644 --- a/gtk/gtkcssimageurlprivate.h +++ b/gtk/gtkcssimageurlprivate.h @@ -17,8 +17,7 @@ * Authors: Benjamin Otte */ -#ifndef __GTK_CSS_IMAGE_URL_PRIVATE_H__ -#define __GTK_CSS_IMAGE_URL_PRIVATE_H__ +#pragma once #include "gtk/gtkcssimageprivate.h" @@ -51,4 +50,3 @@ GType _gtk_css_image_url_get_type (void) G_GNUC_CONST; G_END_DECLS -#endif /* __GTK_CSS_IMAGE_URL_PRIVATE_H__ */ diff --git a/gtk/gtkcssimagevalueprivate.h b/gtk/gtkcssimagevalueprivate.h index 2e3485094f..70a4523619 100644 --- a/gtk/gtkcssimagevalueprivate.h +++ b/gtk/gtkcssimagevalueprivate.h @@ -17,8 +17,7 @@ * Authors: Alexander Larsson */ -#ifndef __GTK_CSS_IMAGE_VALUE_PRIVATE_H__ -#define __GTK_CSS_IMAGE_VALUE_PRIVATE_H__ +#pragma once #include "gtkcssimageprivate.h" #include "gtkcssvalueprivate.h" @@ -32,4 +31,3 @@ GtkCssImage * _gtk_css_image_value_get_image (const GtkCssValue *image); G_END_DECLS -#endif /* __GTK_CSS_IMAGE_VALUE_PRIVATE_H__ */ diff --git a/gtk/gtkcssinheritvalueprivate.h b/gtk/gtkcssinheritvalueprivate.h index 6c7fe8a838..588c939e57 100644 --- a/gtk/gtkcssinheritvalueprivate.h +++ b/gtk/gtkcssinheritvalueprivate.h @@ -17,8 +17,7 @@ * Authors: Alexander Larsson */ -#ifndef __GTK_CSS_INHERIT_VALUE_PRIVATE_H__ -#define __GTK_CSS_INHERIT_VALUE_PRIVATE_H__ +#pragma once #include "gtkcssvalueprivate.h" @@ -29,4 +28,3 @@ GtkCssValue * _gtk_css_inherit_value_get (void); G_END_DECLS -#endif /* __GTK_CSS_INHERIT_VALUE_PRIVATE_H__ */ diff --git a/gtk/gtkcssinitialvalueprivate.h b/gtk/gtkcssinitialvalueprivate.h index 7bec6bd5a0..76cf677102 100644 --- a/gtk/gtkcssinitialvalueprivate.h +++ b/gtk/gtkcssinitialvalueprivate.h @@ -17,8 +17,7 @@ * Authors: Alexander Larsson */ -#ifndef __GTK_CSS_INITIAL_VALUE_PRIVATE_H__ -#define __GTK_CSS_INITIAL_VALUE_PRIVATE_H__ +#pragma once #include "gtkcssvalueprivate.h" @@ -34,4 +33,3 @@ GtkCssValue * _gtk_css_initial_value_new_compute (guint propert G_END_DECLS -#endif /* __GTK_CSS_INITIAL_VALUE_PRIVATE_H__ */ diff --git a/gtk/gtkcsskeyframesprivate.h b/gtk/gtkcsskeyframesprivate.h index 359184840a..a87651649b 100644 --- a/gtk/gtkcsskeyframesprivate.h +++ b/gtk/gtkcsskeyframesprivate.h @@ -17,8 +17,7 @@ * Authors: Alexander Larsson */ -#ifndef __GTK_CSS_KEYFRAMES_PRIVATE_H__ -#define __GTK_CSS_KEYFRAMES_PRIVATE_H__ +#pragma once #include #include "gtk/css/gtkcsstokenizerprivate.h" @@ -53,4 +52,3 @@ GtkCssValue * _gtk_css_keyframes_get_value (GtkCssKeyframes G_END_DECLS -#endif /* __GTK_CSS_KEYFRAMES_PRIVATE_H__ */ diff --git a/gtk/gtkcsslineheightvalueprivate.h b/gtk/gtkcsslineheightvalueprivate.h index 6703637fb9..a8ed2be8cd 100644 --- a/gtk/gtkcsslineheightvalueprivate.h +++ b/gtk/gtkcsslineheightvalueprivate.h @@ -17,8 +17,7 @@ * Authors: Matthias Clasen */ -#ifndef __GTK_CSS_LINE_HEIGHT_VALUE_PRIVATE_H__ -#define __GTK_CSS_LINE_HEIGHT_VALUE_PRIVATE_H__ +#pragma once #include #include "gtk/css/gtkcsstokenizerprivate.h" @@ -34,4 +33,3 @@ double gtk_css_line_height_value_get (const GtkCssValue *value); G_END_DECLS -#endif /* __GTK_CSS_LINE_HEIGHT_VALUE_PRIVATE_H__ */ diff --git a/gtk/gtkcsslookupprivate.h b/gtk/gtkcsslookupprivate.h index b433264c55..7b0e053ae1 100644 --- a/gtk/gtkcsslookupprivate.h +++ b/gtk/gtkcsslookupprivate.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_CSS_LOOKUP_PRIVATE_H__ -#define __GTK_CSS_LOOKUP_PRIVATE_H__ +#pragma once #include @@ -57,4 +56,3 @@ _gtk_css_lookup_get_set_values (const GtkCssLookup *lookup) G_END_DECLS -#endif /* __GTK_CSS_LOOKUP_PRIVATE_H__ */ diff --git a/gtk/gtkcssnodedeclarationprivate.h b/gtk/gtkcssnodedeclarationprivate.h index 663f713846..667af47c66 100644 --- a/gtk/gtkcssnodedeclarationprivate.h +++ b/gtk/gtkcssnodedeclarationprivate.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_CSS_NODE_DECLARATION_PRIVATE_H__ -#define __GTK_CSS_NODE_DECLARATION_PRIVATE_H__ +#pragma once #include "gtkcountingbloomfilterprivate.h" #include "gtkcsstypesprivate.h" @@ -64,4 +63,3 @@ char * gtk_css_node_declaration_to_string (const G G_END_DECLS -#endif /* __GTK_CSS_NODE_DECLARATION_PRIVATE_H__ */ diff --git a/gtk/gtkcssnodeprivate.h b/gtk/gtkcssnodeprivate.h index 963f7ecbc3..59f4dcd504 100644 --- a/gtk/gtkcssnodeprivate.h +++ b/gtk/gtkcssnodeprivate.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_CSS_NODE_PRIVATE_H__ -#define __GTK_CSS_NODE_PRIVATE_H__ +#pragma once #include "gtkcountingbloomfilterprivate.h" #include "gtkcssnodedeclarationprivate.h" @@ -170,4 +169,3 @@ GListModel * gtk_css_node_observe_children (GtkCssNode G_END_DECLS -#endif /* __GTK_CSS_NODE_PRIVATE_H__ */ diff --git a/gtk/gtkcssnodestylecacheprivate.h b/gtk/gtkcssnodestylecacheprivate.h index f4d62b61a0..e03e2504b3 100644 --- a/gtk/gtkcssnodestylecacheprivate.h +++ b/gtk/gtkcssnodestylecacheprivate.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_CSS_NODE_STYLE_CACHE_PRIVATE_H__ -#define __GTK_CSS_NODE_STYLE_CACHE_PRIVATE_H__ +#pragma once #include "gtkcssnodedeclarationprivate.h" #include "gtkcssstyleprivate.h" @@ -43,4 +42,3 @@ GtkCssNodeStyleCache * gtk_css_node_style_cache_lookup (GtkCssNodeStyle G_END_DECLS -#endif /* __GTK_CSS_NODE_STYLE_CACHE_PRIVATE_H__ */ diff --git a/gtk/gtkcssnumbervalueprivate.h b/gtk/gtkcssnumbervalueprivate.h index 5ea9b8f63b..e205edfac4 100644 --- a/gtk/gtkcssnumbervalueprivate.h +++ b/gtk/gtkcssnumbervalueprivate.h @@ -17,8 +17,7 @@ * Authors: Alexander Larsson */ -#ifndef __GTK_CSS_NUMBER_VALUE_PRIVATE_H__ -#define __GTK_CSS_NUMBER_VALUE_PRIVATE_H__ +#pragma once #include #include "gtk/css/gtkcsstokenizerprivate.h" @@ -61,4 +60,3 @@ gboolean gtk_css_dimension_value_is_zero (const GtkCssValue *val G_END_DECLS -#endif /* __GTK_CSS_NUMBER_VALUE_PRIVATE_H__ */ diff --git a/gtk/gtkcsspalettevalueprivate.h b/gtk/gtkcsspalettevalueprivate.h index baf25b90e7..8910581034 100644 --- a/gtk/gtkcsspalettevalueprivate.h +++ b/gtk/gtkcsspalettevalueprivate.h @@ -17,8 +17,7 @@ * Authors: Alexander Larsson */ -#ifndef __GTK_CSS_PALETTE_VALUE_PRIVATE_H__ -#define __GTK_CSS_PALETTE_VALUE_PRIVATE_H__ +#pragma once #include #include "gtk/css/gtkcsstokenizerprivate.h" @@ -36,4 +35,3 @@ const GdkRGBA * gtk_css_palette_value_get_color (GtkCssValue *va G_END_DECLS -#endif /* __GTK_CSS_PALETTE_VALUE_PRIVATE_H__ */ diff --git a/gtk/gtkcsspositionvalueprivate.h b/gtk/gtkcsspositionvalueprivate.h index 2ef70df8d7..f143a73bec 100644 --- a/gtk/gtkcsspositionvalueprivate.h +++ b/gtk/gtkcsspositionvalueprivate.h @@ -17,8 +17,7 @@ * Authors: Alexander Larsson */ -#ifndef __GTK_CSS_POSITION_VALUE_PRIVATE_H__ -#define __GTK_CSS_POSITION_VALUE_PRIVATE_H__ +#pragma once #include #include "gtk/css/gtkcsstokenizerprivate.h" @@ -41,4 +40,3 @@ double _gtk_css_position_value_get_y (const GtkCssValue *p G_END_DECLS -#endif /* __GTK_CSS_POSITION_VALUE_PRIVATE_H__ */ diff --git a/gtk/gtkcssprovider.h b/gtk/gtkcssprovider.h index 39c67eb72b..2b0085c1e3 100644 --- a/gtk/gtkcssprovider.h +++ b/gtk/gtkcssprovider.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_CSS_PROVIDER_H__ -#define __GTK_CSS_PROVIDER_H__ +#pragma once #include #include @@ -70,4 +69,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkCssProvider, g_object_unref) G_END_DECLS -#endif /* __GTK_CSS_PROVIDER_H__ */ diff --git a/gtk/gtkcssproviderprivate.h b/gtk/gtkcssproviderprivate.h index ac71cf0566..c8891e2f47 100644 --- a/gtk/gtkcssproviderprivate.h +++ b/gtk/gtkcssproviderprivate.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_CSS_PROVIDER_PRIVATE_H__ -#define __GTK_CSS_PROVIDER_PRIVATE_H__ +#pragma once #include "gtkcssprovider.h" @@ -30,4 +29,3 @@ void gtk_css_provider_set_keep_css_sections (void); G_END_DECLS -#endif /* __GTK_CSS_PROVIDER_PRIVATE_H__ */ diff --git a/gtk/gtkcssrepeatvalueprivate.h b/gtk/gtkcssrepeatvalueprivate.h index 02665c5792..ec7e492165 100644 --- a/gtk/gtkcssrepeatvalueprivate.h +++ b/gtk/gtkcssrepeatvalueprivate.h @@ -17,8 +17,7 @@ * Authors: Alexander Larsson */ -#ifndef __GTK_CSS_REPEAT_VALUE_PRIVATE_H__ -#define __GTK_CSS_REPEAT_VALUE_PRIVATE_H__ +#pragma once #include #include "gtk/css/gtkcsstokenizerprivate.h" @@ -49,4 +48,3 @@ GtkCssRepeatStyle _gtk_css_border_repeat_value_get_y (const GtkCssVal G_END_DECLS -#endif /* __GTK_CSS_REPEAT_VALUE_PRIVATE_H__ */ diff --git a/gtk/gtkcssselectorprivate.h b/gtk/gtkcssselectorprivate.h index af6781867f..31219bcc37 100644 --- a/gtk/gtkcssselectorprivate.h +++ b/gtk/gtkcssselectorprivate.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_CSS_SELECTOR_PRIVATE_H__ -#define __GTK_CSS_SELECTOR_PRIVATE_H__ +#pragma once #include #include "gtk/css/gtkcsstokenizerprivate.h" @@ -73,4 +72,3 @@ void _gtk_css_selector_tree_builder_free (GtkCssSelectorT G_END_DECLS -#endif /* __GTK_CSS_SELECTOR_PRIVATE_H__ */ diff --git a/gtk/gtkcssshadowvalueprivate.h b/gtk/gtkcssshadowvalueprivate.h index 21efac1908..c84ee7cd95 100644 --- a/gtk/gtkcssshadowvalueprivate.h +++ b/gtk/gtkcssshadowvalueprivate.h @@ -17,8 +17,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_SHADOW_H__ -#define __GTK_SHADOW_H__ +#pragma once #include #include @@ -60,4 +59,3 @@ void gtk_css_shadow_value_pop_snapshot (const GtkCssValue G_END_DECLS -#endif /* __GTK_SHADOW_H__ */ diff --git a/gtk/gtkcssshorthandpropertyprivate.h b/gtk/gtkcssshorthandpropertyprivate.h index 4af065b265..2818162f51 100644 --- a/gtk/gtkcssshorthandpropertyprivate.h +++ b/gtk/gtkcssshorthandpropertyprivate.h @@ -17,8 +17,7 @@ * Authors: Benjamin Otte */ -#ifndef __GTK_CSS_SHORTHAND_PROPERTY_PRIVATE_H__ -#define __GTK_CSS_SHORTHAND_PROPERTY_PRIVATE_H__ +#pragma once #include @@ -69,4 +68,3 @@ guint _gtk_css_shorthand_property_get_n_subproperties (GtkCssS G_END_DECLS -#endif /* __GTK_CSS_SHORTHAND_PROPERTY_PRIVATE_H__ */ diff --git a/gtk/gtkcssstaticstyleprivate.h b/gtk/gtkcssstaticstyleprivate.h index 04654ac070..61d4ba964e 100644 --- a/gtk/gtkcssstaticstyleprivate.h +++ b/gtk/gtkcssstaticstyleprivate.h @@ -17,8 +17,7 @@ * Authors: Benjamin Otte */ -#ifndef __GTK_CSS_STATIC_STYLE_PRIVATE_H__ -#define __GTK_CSS_STATIC_STYLE_PRIVATE_H__ +#pragma once #include "gtk/gtkcssstyleprivate.h" @@ -61,4 +60,3 @@ GtkCssChange gtk_css_static_style_get_change (GtkCssStaticSty G_END_DECLS -#endif /* __GTK_CSS_STATIC_STYLE_PRIVATE_H__ */ diff --git a/gtk/gtkcssstringvalueprivate.h b/gtk/gtkcssstringvalueprivate.h index 8645077cd0..8b7f905387 100644 --- a/gtk/gtkcssstringvalueprivate.h +++ b/gtk/gtkcssstringvalueprivate.h @@ -17,8 +17,7 @@ * Authors: Alexander Larsson */ -#ifndef __GTK_CSS_STRING_VALUE_PRIVATE_H__ -#define __GTK_CSS_STRING_VALUE_PRIVATE_H__ +#pragma once #include #include "gtk/css/gtkcsstokenizerprivate.h" @@ -43,4 +42,3 @@ const char * _gtk_css_string_value_get (const GtkCssValue *str G_END_DECLS -#endif /* __GTK_CSS_STRING_VALUE_PRIVATE_H__ */ diff --git a/gtk/gtkcssstylechangeprivate.h b/gtk/gtkcssstylechangeprivate.h index 557cba37fe..31b952d425 100644 --- a/gtk/gtkcssstylechangeprivate.h +++ b/gtk/gtkcssstylechangeprivate.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_CSS_STYLE_CHANGE_PRIVATE_H__ -#define __GTK_CSS_STYLE_CHANGE_PRIVATE_H__ +#pragma once #include "gtkcssstyleprivate.h" @@ -48,4 +47,3 @@ void gtk_css_style_change_print (GtkCssStyleChange char * gtk_css_style_change_to_string (GtkCssStyleChange *change); G_END_DECLS -#endif /* __GTK_CSS_STYLE_CHANGE_PRIVATE_H__ */ diff --git a/gtk/gtkcssstyleprivate.h b/gtk/gtkcssstyleprivate.h index d618b7d741..82531a6ffe 100644 --- a/gtk/gtkcssstyleprivate.h +++ b/gtk/gtkcssstyleprivate.h @@ -17,8 +17,7 @@ * Authors: Benjamin Otte */ -#ifndef __GTK_CSS_STYLE_PRIVATE_H__ -#define __GTK_CSS_STYLE_PRIVATE_H__ +#pragma once #include #include @@ -321,4 +320,3 @@ void gtk_css_other_values_compute_changes_and_affects (GtkCssStyle *style1, G_END_DECLS -#endif /* __GTK_CSS_STYLE_PRIVATE_H__ */ diff --git a/gtk/gtkcssstylepropertyprivate.h b/gtk/gtkcssstylepropertyprivate.h index 5c22f3c270..720c56ee89 100644 --- a/gtk/gtkcssstylepropertyprivate.h +++ b/gtk/gtkcssstylepropertyprivate.h @@ -17,8 +17,7 @@ * Authors: Benjamin Otte */ -#ifndef __GTK_CSS_STYLE_PROPERTY_PRIVATE_H__ -#define __GTK_CSS_STYLE_PROPERTY_PRIVATE_H__ +#pragma once #include "gtk/gtkstylepropertyprivate.h" @@ -86,4 +85,3 @@ GtkCssValue * gtk_css_font_size_value_parse (GtkCssParser *parser); G_END_DECLS -#endif /* __GTK_CSS_STYLE_PROPERTY_PRIVATE_H__ */ diff --git a/gtk/gtkcsstransformvalueprivate.h b/gtk/gtkcsstransformvalueprivate.h index d6b8191d4b..c113fc0a20 100644 --- a/gtk/gtkcsstransformvalueprivate.h +++ b/gtk/gtkcsstransformvalueprivate.h @@ -17,8 +17,7 @@ * Authors: Benjamin Otte */ -#ifndef __GTK_CSS_TRANSFORM_VALUE_PRIVATE_H__ -#define __GTK_CSS_TRANSFORM_VALUE_PRIVATE_H__ +#pragma once #include #include "gtk/css/gtkcsstokenizerprivate.h" @@ -34,4 +33,3 @@ GskTransform * gtk_css_transform_value_get_transform (const GtkCssValue G_END_DECLS -#endif /* __GTK_CSS_TRANSFORM_VALUE_PRIVATE_H__ */ diff --git a/gtk/gtkcsstransientnodeprivate.h b/gtk/gtkcsstransientnodeprivate.h index 2fb438a298..f405a6f000 100644 --- a/gtk/gtkcsstransientnodeprivate.h +++ b/gtk/gtkcsstransientnodeprivate.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_CSS_TRANSIENT_NODE_PRIVATE_H__ -#define __GTK_CSS_TRANSIENT_NODE_PRIVATE_H__ +#pragma once #include "gtkcssnodeprivate.h" @@ -48,4 +47,3 @@ GtkCssNode * gtk_css_transient_node_new (GtkCssNode G_END_DECLS -#endif /* __GTK_CSS_TRANSIENT_NODE_PRIVATE_H__ */ diff --git a/gtk/gtkcsstransitionprivate.h b/gtk/gtkcsstransitionprivate.h index f50f070c7e..87924dd85b 100644 --- a/gtk/gtkcsstransitionprivate.h +++ b/gtk/gtkcsstransitionprivate.h @@ -17,8 +17,7 @@ * Authors: Benjamin Otte */ -#ifndef __GTK_CSS_TRANSITION_PRIVATE_H__ -#define __GTK_CSS_TRANSITION_PRIVATE_H__ +#pragma once #include "gtkstyleanimationprivate.h" #include "gtkprogresstrackerprivate.h" @@ -47,4 +46,3 @@ gboolean _gtk_css_transition_is_transition (GtkStyleAnimation G_END_DECLS -#endif /* __GTK_CSS_TRANSITION_PRIVATE_H__ */ diff --git a/gtk/gtkcsstypesprivate.h b/gtk/gtkcsstypesprivate.h index 3846b1d581..96eeb6b3c8 100644 --- a/gtk/gtkcsstypesprivate.h +++ b/gtk/gtkcsstypesprivate.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_CSS_TYPES_PRIVATE_H__ -#define __GTK_CSS_TYPES_PRIVATE_H__ +#pragma once #include #include @@ -550,4 +549,3 @@ gtk_css_hash_id (GQuark id) G_END_DECLS -#endif /* __GTK_CSS_TYPES_PRIVATE_H__ */ diff --git a/gtk/gtkcssunsetvalueprivate.h b/gtk/gtkcssunsetvalueprivate.h index 830bcbca85..03a7abec54 100644 --- a/gtk/gtkcssunsetvalueprivate.h +++ b/gtk/gtkcssunsetvalueprivate.h @@ -17,8 +17,7 @@ * Authors: Benjamin Otte */ -#ifndef __GTK_CSS_UNSET_VALUE_PRIVATE_H__ -#define __GTK_CSS_UNSET_VALUE_PRIVATE_H__ +#pragma once #include "gtkcssvalueprivate.h" @@ -28,4 +27,3 @@ GtkCssValue * _gtk_css_unset_value_new (void); G_END_DECLS -#endif /* __GTK_CSS_UNSET_VALUE_PRIVATE_H__ */ diff --git a/gtk/gtkcssvalueprivate.h b/gtk/gtkcssvalueprivate.h index 7a6a312fd3..185faf959e 100644 --- a/gtk/gtkcssvalueprivate.h +++ b/gtk/gtkcssvalueprivate.h @@ -17,8 +17,7 @@ * Authors: Alexander Larsson */ -#ifndef __GTK_CSS_VALUE_PRIVATE_H__ -#define __GTK_CSS_VALUE_PRIVATE_H__ +#pragma once #include @@ -97,4 +96,3 @@ gboolean gtk_css_value_is_computed (const GtkCssValue G_END_DECLS -#endif /* __GTK_CSS_VALUE_PRIVATE_H__ */ diff --git a/gtk/gtkcsswidgetnodeprivate.h b/gtk/gtkcsswidgetnodeprivate.h index bd39dd1ba1..65b384ddfa 100644 --- a/gtk/gtkcsswidgetnodeprivate.h +++ b/gtk/gtkcsswidgetnodeprivate.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_CSS_WIDGET_NODE_PRIVATE_H__ -#define __GTK_CSS_WIDGET_NODE_PRIVATE_H__ +#pragma once #include "gtkcssnodeprivate.h" #include "gtkwidget.h" @@ -57,4 +56,3 @@ GtkWidget * gtk_css_widget_node_get_widget (GtkCssWidgetNod G_END_DECLS -#endif /* __GTK_CSS_WIDGET_NODE_PRIVATE_H__ */ diff --git a/gtk/gtkcustomfilter.h b/gtk/gtkcustomfilter.h index ba2fae055e..08d5161d0d 100644 --- a/gtk/gtkcustomfilter.h +++ b/gtk/gtkcustomfilter.h @@ -17,8 +17,7 @@ * Authors: Benjamin Otte */ -#ifndef __GTK_CUSTOM_FILTER_H__ -#define __GTK_CUSTOM_FILTER_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -58,4 +57,3 @@ void gtk_custom_filter_set_filter_func (GtkCustomFilter G_END_DECLS -#endif /* __GTK_CUSTOM_FILTER_H__ */ diff --git a/gtk/gtkcustompaperunixdialog.h b/gtk/gtkcustompaperunixdialog.h index b123ee9392..630737acf2 100644 --- a/gtk/gtkcustompaperunixdialog.h +++ b/gtk/gtkcustompaperunixdialog.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_CUSTOM_PAPER_UNIX_DIALOG_H__ -#define __GTK_CUSTOM_PAPER_UNIX_DIALOG_H__ +#pragma once #include @@ -39,4 +38,3 @@ GList * _gtk_load_custom_papers (void); G_END_DECLS -#endif /* __GTK_CUSTOM_PAPER_UNIX_DIALOG_H__ */ diff --git a/gtk/gtkcustomsorter.h b/gtk/gtkcustomsorter.h index 6846d01d46..e47d6b3304 100644 --- a/gtk/gtkcustomsorter.h +++ b/gtk/gtkcustomsorter.h @@ -17,8 +17,7 @@ * Authors: Matthias Clasen */ -#ifndef __GTK_CUSTOM_SORTER_H__ -#define __GTK_CUSTOM_SORTER_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -46,4 +45,3 @@ void gtk_custom_sorter_set_sort_func (GtkCustomSorter G_END_DECLS -#endif /* __GTK_CUSTOM_SORTER_H__ */ diff --git a/gtk/gtkdebug.h b/gtk/gtkdebug.h index f65c1e76de..c0fc528cdd 100644 --- a/gtk/gtkdebug.h +++ b/gtk/gtkdebug.h @@ -22,8 +22,7 @@ * GTK+ at ftp://ftp.gtk.org/pub/gtk/. */ -#ifndef __GTK_DEBUG_H__ -#define __GTK_DEBUG_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -102,4 +101,3 @@ void gtk_set_debug_flags (GtkDebugFlags flags); G_END_DECLS -#endif /* __GTK_DEBUG_H__ */ diff --git a/gtk/gtkdirectorylist.h b/gtk/gtkdirectorylist.h index a41b4928af..8426198818 100644 --- a/gtk/gtkdirectorylist.h +++ b/gtk/gtkdirectorylist.h @@ -17,8 +17,7 @@ * Authors: Benjamin Otte */ -#ifndef __GTK_DIRECTORY_LIST_H__ -#define __GTK_DIRECTORY_LIST_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) @@ -70,4 +69,3 @@ gboolean gtk_directory_list_get_monitored (GtkDirectoryLis G_END_DECLS -#endif /* __GTK_DIRECTORY_LIST_H__ */ diff --git a/gtk/gtkdragdestprivate.h b/gtk/gtkdragdestprivate.h index 0113f98709..1705915d30 100644 --- a/gtk/gtkdragdestprivate.h +++ b/gtk/gtkdragdestprivate.h @@ -16,8 +16,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_DRAG_DEST_PRIVATE_H__ -#define __GTK_DRAG_DEST_PRIVATE_H__ +#pragma once #include "gtkdragdest.h" @@ -29,4 +28,3 @@ void gtk_drag_dest_handle_event (GtkWidget *toplevel, G_END_DECLS -#endif diff --git a/gtk/gtkdragicon.h b/gtk/gtkdragicon.h index ea5907f38c..4703c883d8 100644 --- a/gtk/gtkdragicon.h +++ b/gtk/gtkdragicon.h @@ -17,8 +17,7 @@ * Authors: Benjamin Otte */ -#ifndef __GTK_DRAG_ICON_H__ -#define __GTK_DRAG_ICON_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) @@ -57,4 +56,3 @@ GtkWidget * gtk_drag_icon_create_widget_for_value (const GValue G_END_DECLS -#endif /* __GTK_DRAG_ICON_H__ */ diff --git a/gtk/gtkdragsource.h b/gtk/gtkdragsource.h index 2083390242..a3b090dd6d 100644 --- a/gtk/gtkdragsource.h +++ b/gtk/gtkdragsource.h @@ -23,8 +23,7 @@ * GTK+ at ftp://ftp.gtk.org/pub/gtk/. */ -#ifndef __GTK_DRAG_SOURCE_H__ -#define __GTK_DRAG_SOURCE_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) @@ -85,4 +84,3 @@ gboolean gtk_drag_check_threshold (GtkWidget *widget, G_END_DECLS -#endif /* __GTK_DRAG_SOURCE_H__ */ diff --git a/gtk/gtkdragsourceprivate.h b/gtk/gtkdragsourceprivate.h index 8226e3fee1..3018b96c91 100644 --- a/gtk/gtkdragsourceprivate.h +++ b/gtk/gtkdragsourceprivate.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_DRAG_SOURCE_PRIVATE_H__ -#define __GTK_DRAG_SOURCE_PRIVATE_H__ +#pragma once #include "gtkdragsource.h" @@ -30,4 +29,3 @@ gboolean gtk_drag_check_threshold_double (GtkWidget *widget, G_END_DECLS -#endif /* __GTK_DRAG_SOURCE_PRIVATE_H__ */ diff --git a/gtk/gtkdrawingarea.h b/gtk/gtkdrawingarea.h index 2cc32e6d62..0be0d410cd 100644 --- a/gtk/gtkdrawingarea.h +++ b/gtk/gtkdrawingarea.h @@ -22,8 +22,7 @@ * GTK+ at ftp://ftp.gtk.org/pub/gtk/. */ -#ifndef __GTK_DRAWING_AREA_H__ -#define __GTK_DRAWING_AREA_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) @@ -110,4 +109,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkDrawingArea, g_object_unref) G_END_DECLS -#endif /* __GTK_DRAWING_AREA_H__ */ diff --git a/gtk/gtkdropcontrollermotion.h b/gtk/gtkdropcontrollermotion.h index 5eee5c6478..58a070f9fe 100644 --- a/gtk/gtkdropcontrollermotion.h +++ b/gtk/gtkdropcontrollermotion.h @@ -17,8 +17,7 @@ * Authors: Benjamin Otte */ -#ifndef __GTK_DROP_CONTROLLER_MOTION_H__ -#define __GTK_DROP_CONTROLLER_MOTION_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -54,4 +53,3 @@ gboolean gtk_drop_controller_motion_is_pointer (GtkDrop G_END_DECLS -#endif /* __GTK_DROP_CONTROLLER_MOTION_H__ */ diff --git a/gtk/gtkdropdown.h b/gtk/gtkdropdown.h index 542b71f2a7..c902cb52b3 100644 --- a/gtk/gtkdropdown.h +++ b/gtk/gtkdropdown.h @@ -17,8 +17,7 @@ * Authors: Matthias Clasen */ -#ifndef __GTK_DROP_DOWN_H__ -#define __GTK_DROP_DOWN_H__ +#pragma once #include #include @@ -85,4 +84,3 @@ gboolean gtk_drop_down_get_show_arrow (GtkDropDown G_END_DECLS -#endif /* __GTK_DROP_DOWN_H__ */ diff --git a/gtk/gtkdropprivate.h b/gtk/gtkdropprivate.h index 769013bfcd..0296af6bfc 100644 --- a/gtk/gtkdropprivate.h +++ b/gtk/gtkdropprivate.h @@ -17,8 +17,7 @@ * Authors: Benjamin Otte */ -#ifndef __GTK_DROP_PRIVATE_H__ -#define __GTK_DROP_PRIVATE_H__ +#pragma once #include @@ -35,4 +34,3 @@ gboolean gtk_drop_status (GdkDrop G_END_DECLS -#endif diff --git a/gtk/gtkdroptarget.h b/gtk/gtkdroptarget.h index 12e652a533..1b0849d717 100644 --- a/gtk/gtkdroptarget.h +++ b/gtk/gtkdroptarget.h @@ -17,8 +17,7 @@ * Authors: Benjamin Otte */ -#ifndef __GTK_DROP_TARGET_H__ -#define __GTK_DROP_TARGET_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) @@ -86,4 +85,3 @@ void gtk_drop_target_reject (GtkDropTarget G_END_DECLS -#endif /* __GTK_DROP_TARGET_H__ */ diff --git a/gtk/gtkdroptargetasync.h b/gtk/gtkdroptargetasync.h index 6e9578ab53..52ab4afc60 100644 --- a/gtk/gtkdroptargetasync.h +++ b/gtk/gtkdroptargetasync.h @@ -23,8 +23,7 @@ * GTK+ at ftp://ftp.gtk.org/pub/gtk/. */ -#ifndef __GTK_DROP_TARGET_ASYNC_H__ -#define __GTK_DROP_TARGET_ASYNC_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) @@ -74,4 +73,3 @@ void gtk_drop_target_async_reject_drop (GtkDropTargetAs G_END_DECLS -#endif /* __GTK_DROP_TARGET_ASYNC_H__ */ diff --git a/gtk/gtkeditable.h b/gtk/gtkeditable.h index 7ca3da4034..4efb0d5857 100644 --- a/gtk/gtkeditable.h +++ b/gtk/gtkeditable.h @@ -22,8 +22,7 @@ * GTK+ at ftp://ftp.gtk.org/pub/gtk/. */ -#ifndef __GTK_EDITABLE_H__ -#define __GTK_EDITABLE_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) @@ -202,4 +201,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkEditable, g_object_unref) G_END_DECLS -#endif /* __GTK_EDITABLE_H__ */ diff --git a/gtk/gtkeditablelabel.h b/gtk/gtkeditablelabel.h index faeea1dde9..abe36fa731 100644 --- a/gtk/gtkeditablelabel.h +++ b/gtk/gtkeditablelabel.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_EDITABLE_LABEL_H__ -#define __GTK_EDITABLE_LABEL_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -46,4 +45,3 @@ void gtk_editable_label_stop_editing (GtkEditableLabel *self, G_END_DECLS -#endif /* __GTK_EDITABLE_LABEL_H__ */ diff --git a/gtk/gtkentry.h b/gtk/gtkentry.h index 4e3d09fbf3..264f6a86ad 100644 --- a/gtk/gtkentry.h +++ b/gtk/gtkentry.h @@ -26,8 +26,7 @@ * GTK+ at ftp://ftp.gtk.org/pub/gtk/. */ -#ifndef __GTK_ENTRY_H__ -#define __GTK_ENTRY_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) @@ -295,4 +294,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkEntry, g_object_unref) G_END_DECLS -#endif /* __GTK_ENTRY_H__ */ diff --git a/gtk/gtkentrybuffer.h b/gtk/gtkentrybuffer.h index a98ce90bcb..3e6f6d486e 100644 --- a/gtk/gtkentrybuffer.h +++ b/gtk/gtkentrybuffer.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_ENTRY_BUFFER_H__ -#define __GTK_ENTRY_BUFFER_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -141,4 +140,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkEntryBuffer, g_object_unref) G_END_DECLS -#endif /* __GTK_ENTRY_BUFFER_H__ */ diff --git a/gtk/gtkentryprivate.h b/gtk/gtkentryprivate.h index 877a19f122..e5c381021e 100644 --- a/gtk/gtkentryprivate.h +++ b/gtk/gtkentryprivate.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_ENTRY_PRIVATE_H__ -#define __GTK_ENTRY_PRIVATE_H__ +#pragma once #include "gtkentry.h" @@ -111,4 +110,3 @@ gboolean gtk_entry_activate_icon (GtkEntry *entry, G_END_DECLS -#endif /* __GTK_ENTRY_PRIVATE_H__ */ diff --git a/gtk/gtkenums.h b/gtk/gtkenums.h index 9a4ab205a8..ae8f6025f1 100644 --- a/gtk/gtkenums.h +++ b/gtk/gtkenums.h @@ -22,8 +22,7 @@ * GTK+ at ftp://ftp.gtk.org/pub/gtk/. */ -#ifndef __GTK_ENUMS_H__ -#define __GTK_ENUMS_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -1698,4 +1697,3 @@ typedef enum { /*< prefix=GTK_ACCESSIBLE_SORT >*/ G_END_DECLS -#endif /* __GTK_ENUMS_H__ */ diff --git a/gtk/gtkeventcontroller.h b/gtk/gtkeventcontroller.h index 7bf8bdbebd..d34d9c9487 100644 --- a/gtk/gtkeventcontroller.h +++ b/gtk/gtkeventcontroller.h @@ -17,8 +17,7 @@ * * Author(s): Carlos Garnacho */ -#ifndef __GTK_EVENT_CONTROLLER_H__ -#define __GTK_EVENT_CONTROLLER_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -85,4 +84,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkEventController, g_object_unref) G_END_DECLS -#endif /* __GTK_EVENT_CONTROLLER_H__ */ diff --git a/gtk/gtkeventcontrollerfocus.h b/gtk/gtkeventcontrollerfocus.h index 30b7c7d93e..ccb9f68a31 100644 --- a/gtk/gtkeventcontrollerfocus.h +++ b/gtk/gtkeventcontrollerfocus.h @@ -17,8 +17,7 @@ * Author(s): Matthias Clasen */ -#ifndef __GTK_EVENT_CONTROLLER_FOCUS_H__ -#define __GTK_EVENT_CONTROLLER_FOCUS_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -54,4 +53,3 @@ gboolean gtk_event_controller_focus_is_focus (GtkEventContr G_END_DECLS -#endif /* __GTK_EVENT_CONTROLLER_FOCUS_H__ */ diff --git a/gtk/gtkeventcontrollerkey.h b/gtk/gtkeventcontrollerkey.h index b24df105d0..f2d838864c 100644 --- a/gtk/gtkeventcontrollerkey.h +++ b/gtk/gtkeventcontrollerkey.h @@ -17,8 +17,7 @@ * Author(s): Carlos Garnacho */ -#ifndef __GTK_EVENT_CONTROLLER_KEY_H__ -#define __GTK_EVENT_CONTROLLER_KEY_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -61,4 +60,3 @@ guint gtk_event_controller_key_get_group (GtkEventControllerK G_END_DECLS -#endif /* __GTK_EVENT_CONTROLLER_KEY_H__ */ diff --git a/gtk/gtkeventcontrollerlegacy.h b/gtk/gtkeventcontrollerlegacy.h index 748bebb59a..8929d7a8d6 100644 --- a/gtk/gtkeventcontrollerlegacy.h +++ b/gtk/gtkeventcontrollerlegacy.h @@ -17,8 +17,7 @@ * Author(s): Carlos Garnacho */ -#ifndef __GTK_EVENT_CONTROLLER_LEGACY_H__ -#define __GTK_EVENT_CONTROLLER_LEGACY_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -46,4 +45,3 @@ GtkEventController *gtk_event_controller_legacy_new (void); G_END_DECLS -#endif /* __GTK_EVENT_CONTROLLER_LEGACY_H__ */ diff --git a/gtk/gtkeventcontrollermotion.h b/gtk/gtkeventcontrollermotion.h index 5fbcffe3b6..0a3eb3d79a 100644 --- a/gtk/gtkeventcontrollermotion.h +++ b/gtk/gtkeventcontrollermotion.h @@ -17,8 +17,7 @@ * Author(s): Matthias Clasen */ -#ifndef __GTK_EVENT_CONTROLLER_MOTION_H__ -#define __GTK_EVENT_CONTROLLER_MOTION_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -52,4 +51,3 @@ gboolean gtk_event_controller_motion_is_pointer (GtkEventCont G_END_DECLS -#endif /* __GTK_EVENT_CONTROLLER_MOTION_H__ */ diff --git a/gtk/gtkeventcontrollerprivate.h b/gtk/gtkeventcontrollerprivate.h index d411c8f470..b9b83082c6 100644 --- a/gtk/gtkeventcontrollerprivate.h +++ b/gtk/gtkeventcontrollerprivate.h @@ -17,8 +17,7 @@ * * Author(s): Carlos Garnacho */ -#ifndef __GTK_EVENT_CONTROLLER_PRIVATE_H__ -#define __GTK_EVENT_CONTROLLER_PRIVATE_H__ +#pragma once #include "gtkeventcontroller.h" @@ -130,4 +129,3 @@ void gtk_event_controller_handle_crossing (GtkEventController *controll double x, double y); -#endif /* __GTK_EVENT_CONTROLLER_PRIVATE_H__ */ diff --git a/gtk/gtkeventcontrollerscroll.h b/gtk/gtkeventcontrollerscroll.h index 2be1753568..5c5cdf7318 100644 --- a/gtk/gtkeventcontrollerscroll.h +++ b/gtk/gtkeventcontrollerscroll.h @@ -17,8 +17,7 @@ * Author(s): Carlos Garnacho */ -#ifndef __GTK_EVENT_CONTROLLER_SCROLL_H__ -#define __GTK_EVENT_CONTROLLER_SCROLL_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -76,4 +75,3 @@ GdkScrollUnit gtk_event_controller_scroll_get_unit (GtkEventControllerScro G_END_DECLS -#endif /* __GTK_EVENT_CONTROLLER_SCROLL_H__ */ diff --git a/gtk/gtkexpander.h b/gtk/gtkexpander.h index 1bbcf23791..dd82b86c2b 100644 --- a/gtk/gtkexpander.h +++ b/gtk/gtkexpander.h @@ -19,8 +19,7 @@ * Mark McLoughlin */ -#ifndef __GTK_EXPANDER_H__ -#define __GTK_EXPANDER_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -89,4 +88,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkExpander, g_object_unref) G_END_DECLS -#endif /* __GTK_EXPANDER_H__ */ diff --git a/gtk/gtkexpression.h b/gtk/gtkexpression.h index 91a9b88396..aa1d9d2479 100644 --- a/gtk/gtkexpression.h +++ b/gtk/gtkexpression.h @@ -18,8 +18,7 @@ */ -#ifndef __GTK_EXPRESSION_H__ -#define __GTK_EXPRESSION_H__ +#pragma once #include @@ -202,4 +201,3 @@ GParamSpec * gtk_param_spec_expression (const char *name, G_END_DECLS -#endif /* __GTK_EXPRESSION_H__ */ diff --git a/gtk/gtkfilechoosercellprivate.h b/gtk/gtkfilechoosercellprivate.h index b70371abec..55c52e9c46 100644 --- a/gtk/gtkfilechoosercellprivate.h +++ b/gtk/gtkfilechoosercellprivate.h @@ -17,8 +17,7 @@ * Authors: Matthias Clasen */ -#ifndef __GTK_FILE_CHOOSER_CELL_PRIVATE_H__ -#define __GTK_FILE_CHOOSER_CELL_PRIVATE_H__ +#pragma once #include #include @@ -34,4 +33,3 @@ GtkFileChooserCell * gtk_file_chooser_cell_new (void); G_END_DECLS -#endif /* __GTK_FILE_CHOOSER_CELL_PRIVATE_H__ */ diff --git a/gtk/gtkfilechooserentry.h b/gtk/gtkfilechooserentry.h index e58adb0f8a..dec46fa620 100644 --- a/gtk/gtkfilechooserentry.h +++ b/gtk/gtkfilechooserentry.h @@ -16,8 +16,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_FILE_CHOOSER_ENTRY_H__ -#define __GTK_FILE_CHOOSER_ENTRY_H__ +#pragma once #include "deprecated/gtkfilechooser.h" @@ -49,4 +48,3 @@ void gtk_file_chooser_entry_set_text (GtkFileChooserEnt G_END_DECLS -#endif /* __GTK_FILE_CHOOSER_ENTRY_H__ */ diff --git a/gtk/gtkfilechoosererrorstackprivate.h b/gtk/gtkfilechoosererrorstackprivate.h index 5fc9dc21e4..b716d0c402 100644 --- a/gtk/gtkfilechoosererrorstackprivate.h +++ b/gtk/gtkfilechoosererrorstackprivate.h @@ -12,8 +12,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_FILE_CHOOSER_ERROR_STACK_H__ -#define __GTK_FILE_CHOOSER_ERROR_STACK_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) @@ -57,4 +56,3 @@ void gtk_file_chooser_error_stack_set_custom_error (GtkFileChooserErrorStack G_END_DECLS -#endif diff --git a/gtk/gtkfilechoosernativeprivate.h b/gtk/gtkfilechoosernativeprivate.h index bc4633dfe5..31731f0e13 100644 --- a/gtk/gtkfilechoosernativeprivate.h +++ b/gtk/gtkfilechoosernativeprivate.h @@ -16,8 +16,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_FILE_CHOOSER_NATIVE_PRIVATE_H__ -#define __GTK_FILE_CHOOSER_NATIVE_PRIVATE_H__ +#pragma once #include @@ -72,4 +71,3 @@ void gtk_file_chooser_native_portal_hide (GtkFileChooserNative *self); G_END_DECLS -#endif /* __GTK_FILE_CHOOSER_NATIVE_PRIVATE_H__ */ diff --git a/gtk/gtkfilechooserprivate.h b/gtk/gtkfilechooserprivate.h index c53784bcf9..a4c9b77ff3 100644 --- a/gtk/gtkfilechooserprivate.h +++ b/gtk/gtkfilechooserprivate.h @@ -16,8 +16,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_FILE_CHOOSER_PRIVATE_H__ -#define __GTK_FILE_CHOOSER_PRIVATE_H__ +#pragma once #include "deprecated/gtkfilechooser.h" #include "gtkfilesystemmodelprivate.h" @@ -117,4 +116,3 @@ void gtk_file_chooser_unselect_file (GtkFileChooser *chooser, GFile *file); G_END_DECLS -#endif /* __GTK_FILE_CHOOSER_PRIVATE_H__ */ diff --git a/gtk/gtkfilechooserutils.h b/gtk/gtkfilechooserutils.h index 3a41403802..ba70f8dcbe 100644 --- a/gtk/gtkfilechooserutils.h +++ b/gtk/gtkfilechooserutils.h @@ -17,8 +17,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_FILE_CHOOSER_UTILS_H__ -#define __GTK_FILE_CHOOSER_UTILS_H__ +#pragma once #include "gtkfilechooserprivate.h" #include "gtkicontheme.h" @@ -62,4 +61,3 @@ GFile * _gtk_file_info_get_file (GFileInfo *info); G_END_DECLS -#endif /* __GTK_FILE_CHOOSER_UTILS_H__ */ diff --git a/gtk/gtkfilechooserwidgetprivate.h b/gtk/gtkfilechooserwidgetprivate.h index 6b0647d3d8..319209c58d 100644 --- a/gtk/gtkfilechooserwidgetprivate.h +++ b/gtk/gtkfilechooserwidgetprivate.h @@ -18,8 +18,7 @@ * Authors: Matthias Clasen */ -#ifndef __GTK_FILE_CHOOSER_WIDGET_PRIVATE_H__ -#define __GTK_FILE_CHOOSER_WIDGET_PRIVATE_H__ +#pragma once #include #include "deprecated/gtkfilechooserwidget.h" @@ -45,4 +44,3 @@ gtk_file_chooser_widget_get_selection_model (GtkFileChooserWidget *chooser); G_END_DECLS -#endif /* __GTK_FILE_CHOOSER_WIDGET_PRIVATE_H__ */ diff --git a/gtk/gtkfilefilter.h b/gtk/gtkfilefilter.h index b59922a17f..511b5a79b2 100644 --- a/gtk/gtkfilefilter.h +++ b/gtk/gtkfilefilter.h @@ -16,8 +16,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_FILE_FILTER_H__ -#define __GTK_FILE_FILTER_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -72,4 +71,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkFileFilter, g_object_unref) G_END_DECLS -#endif /* __GTK_FILE_FILTER_H__ */ diff --git a/gtk/gtkfilefilterprivate.h b/gtk/gtkfilefilterprivate.h index 29c4859d65..3e0fe2126e 100644 --- a/gtk/gtkfilefilterprivate.h +++ b/gtk/gtkfilefilterprivate.h @@ -16,8 +16,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_FILE_FILTER_PRIVATE_H__ -#define __GTK_FILE_FILTER_PRIVATE_H__ +#pragma once #include #include @@ -37,4 +36,3 @@ NSArray * _gtk_file_filter_get_as_pattern_nsstrings (GtkFileFilter *filter); G_END_DECLS -#endif /* __GTK_FILE_FILTER_PRIVATE_H__ */ diff --git a/gtk/gtkfilesystemmodelprivate.h b/gtk/gtkfilesystemmodelprivate.h index 131063cb9a..5540d8b0e5 100644 --- a/gtk/gtkfilesystemmodelprivate.h +++ b/gtk/gtkfilesystemmodelprivate.h @@ -16,8 +16,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_FILE_SYSTEM_MODEL_PRIVATE_H__ -#define __GTK_FILE_SYSTEM_MODEL_PRIVATE_H__ +#pragma once #include #include @@ -63,4 +62,3 @@ void _gtk_file_system_model_set_can_select_files (GtkFileSystemMo G_END_DECLS -#endif /* __GTK_FILE_SYSTEM_MODEL_PRIVATE_H__ */ diff --git a/gtk/gtkfilethumbnail.h b/gtk/gtkfilethumbnail.h index ad6b7eebfa..eb0b8b4080 100644 --- a/gtk/gtkfilethumbnail.h +++ b/gtk/gtkfilethumbnail.h @@ -19,8 +19,7 @@ */ -#ifndef __GTK_FILE_THUMBNAIL_H__ -#define __GTK_FILE_THUMBNAIL_H__ +#pragma once #include @@ -46,5 +45,4 @@ void _gtk_file_thumbnail_set_icon_size (GtkFileThumbnail *self, G_END_DECLS -#endif /* __GTK_FILE_THUMBNAIL_H__ */ diff --git a/gtk/gtkfilter.h b/gtk/gtkfilter.h index 3bfb4971e0..140ba14a9d 100644 --- a/gtk/gtkfilter.h +++ b/gtk/gtkfilter.h @@ -17,8 +17,7 @@ * Authors: Benjamin Otte */ -#ifndef __GTK_FILTER_H__ -#define __GTK_FILTER_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -113,4 +112,3 @@ void gtk_filter_changed (GtkFilter G_END_DECLS -#endif /* __GTK_FILTER_H__ */ diff --git a/gtk/gtkfilterlistmodel.h b/gtk/gtkfilterlistmodel.h index 35913c1836..746c80a9f0 100644 --- a/gtk/gtkfilterlistmodel.h +++ b/gtk/gtkfilterlistmodel.h @@ -17,8 +17,7 @@ * Authors: Benjamin Otte */ -#ifndef __GTK_FILTER_LIST_MODEL_H__ -#define __GTK_FILTER_LIST_MODEL_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) @@ -61,4 +60,3 @@ guint gtk_filter_list_model_get_pending (GtkFilterListMo G_END_DECLS -#endif /* __GTK_FILTER_LIST_MODEL_H__ */ diff --git a/gtk/gtkfixed.h b/gtk/gtkfixed.h index 433bd01121..5a6201bc66 100644 --- a/gtk/gtkfixed.h +++ b/gtk/gtkfixed.h @@ -22,8 +22,7 @@ * GTK+ at ftp://ftp.gtk.org/pub/gtk/. */ -#ifndef __GTK_FIXED_H__ -#define __GTK_FIXED_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) @@ -95,4 +94,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkFixed, g_object_unref) G_END_DECLS -#endif /* __GTK_FIXED_H__ */ diff --git a/gtk/gtkflattenlistmodel.h b/gtk/gtkflattenlistmodel.h index c934674ff3..3604cde764 100644 --- a/gtk/gtkflattenlistmodel.h +++ b/gtk/gtkflattenlistmodel.h @@ -17,8 +17,7 @@ * Authors: Benjamin Otte */ -#ifndef __GTK_FLATTEN_LIST_MODEL_H__ -#define __GTK_FLATTEN_LIST_MODEL_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) @@ -50,4 +49,3 @@ GListModel * gtk_flatten_list_model_get_model_for_item (GtkFlattenLis G_END_DECLS -#endif /* __GTK_FLATTEN_LIST_MODEL_H__ */ diff --git a/gtk/gtkflowbox.h b/gtk/gtkflowbox.h index 38b6351ee4..80c9f2939d 100644 --- a/gtk/gtkflowbox.h +++ b/gtk/gtkflowbox.h @@ -22,8 +22,7 @@ * William Jon McCann */ -#ifndef __GTK_FLOW_BOX_H__ -#define __GTK_FLOW_BOX_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -230,4 +229,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkFlowBoxChild, g_object_unref) G_END_DECLS -#endif /* __GTK_FLOW_BOX_H__ */ diff --git a/gtk/gtkflowboxprivate.h b/gtk/gtkflowboxprivate.h index c609da36a3..5ca4ff7b70 100644 --- a/gtk/gtkflowboxprivate.h +++ b/gtk/gtkflowboxprivate.h @@ -16,11 +16,9 @@ * License along with this library. If not, see . */ -#ifndef __GTK_FLOW_BOX_PRIVATE_H__ -#define __GTK_FLOW_BOX_PRIVATE_H__ +#pragma once #include "gtkflowbox.h" void gtk_flow_box_disable_move_cursor (GtkFlowBox *box); -#endif diff --git a/gtk/gtkfontchooserdialogprivate.h b/gtk/gtkfontchooserdialogprivate.h index 5020714a58..30507077b2 100644 --- a/gtk/gtkfontchooserdialogprivate.h +++ b/gtk/gtkfontchooserdialogprivate.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_FONT_CHOOSER_DIALOG_PRIVATE_H__ -#define __GTK_FONT_CHOOSER_DIALOG_PRIVATE_H__ +#pragma once #include "deprecated/gtkfontchooserdialog.h" #include "gtkfilter.h" @@ -28,4 +27,3 @@ void gtk_font_chooser_dialog_set_filter (GtkFontChooserDialog *dialog, G_END_DECLS -#endif /* __GTK_FONT_CHOOSER_WIDGET_PRIVATE_H__ */ diff --git a/gtk/gtkfontchooserutils.h b/gtk/gtkfontchooserutils.h index 7ddade5126..e8c5422c09 100644 --- a/gtk/gtkfontchooserutils.h +++ b/gtk/gtkfontchooserutils.h @@ -22,8 +22,7 @@ * Copyright (C) 2003 Red Hat, Inc. */ -#ifndef __GTK_FONT_CHOOSER_UTILS_H__ -#define __GTK_FONT_CHOOSER_UTILS_H__ +#pragma once #include "deprecated/gtkfontchooserprivate.h" @@ -52,4 +51,3 @@ GQuark _gtk_font_chooser_delegate_get_quark (void) G_GNUC_CONST; G_END_DECLS -#endif /* __GTK_FONT_CHOOSER_UTILS_H__ */ diff --git a/gtk/gtkfontchooserwidgetprivate.h b/gtk/gtkfontchooserwidgetprivate.h index 80d1400c58..aad1b70ef7 100644 --- a/gtk/gtkfontchooserwidgetprivate.h +++ b/gtk/gtkfontchooserwidgetprivate.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_FONT_CHOOSER_WIDGET_PRIVATE_H__ -#define __GTK_FONT_CHOOSER_WIDGET_PRIVATE_H__ +#pragma once #include "deprecated/gtkfontchooserwidget.h" #include "gtkfilter.h" @@ -30,4 +29,3 @@ void gtk_font_chooser_widget_set_filter (GtkFontChooserWidget *widget, G_END_DECLS -#endif /* __GTK_FONT_CHOOSER_WIDGET_PRIVATE_H__ */ diff --git a/gtk/gtkframe.h b/gtk/gtkframe.h index a79581baf6..bfb24cb41a 100644 --- a/gtk/gtkframe.h +++ b/gtk/gtkframe.h @@ -22,8 +22,7 @@ * GTK+ at ftp://ftp.gtk.org/pub/gtk/. */ -#ifndef __GTK_FRAME_H__ -#define __GTK_FRAME_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) @@ -104,4 +103,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkFrame, g_object_unref) G_END_DECLS -#endif /* __GTK_FRAME_H__ */ diff --git a/gtk/gtkgesture.h b/gtk/gtkgesture.h index 9ca88900de..b096520252 100644 --- a/gtk/gtkgesture.h +++ b/gtk/gtkgesture.h @@ -17,8 +17,7 @@ * * Author(s): Carlos Garnacho */ -#ifndef __GTK_GESTURE_H__ -#define __GTK_GESTURE_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -106,4 +105,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkGesture, g_object_unref) G_END_DECLS -#endif /* __GTK_GESTURE_H__ */ diff --git a/gtk/gtkgestureclick.h b/gtk/gtkgestureclick.h index 71365e2ad2..226d1fc8a4 100644 --- a/gtk/gtkgestureclick.h +++ b/gtk/gtkgestureclick.h @@ -16,8 +16,7 @@ * * Author(s): Carlos Garnacho */ -#ifndef __GTK_GESTURE_CLICK_H__ -#define __GTK_GESTURE_CLICK_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -48,4 +47,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkGestureClick, g_object_unref) G_END_DECLS -#endif /* __GTK_GESTURE_CLICK_H__ */ diff --git a/gtk/gtkgestureclickprivate.h b/gtk/gtkgestureclickprivate.h index 87d7da635e..31c8d493ca 100644 --- a/gtk/gtkgestureclickprivate.h +++ b/gtk/gtkgestureclickprivate.h @@ -16,8 +16,7 @@ * * Author(s): Carlos Garnacho */ -#ifndef __GTK_GESTURE_CLICK_PRIVATE_H__ -#define __GTK_GESTURE_CLICK_PRIVATE_H__ +#pragma once #include "gtkgesturesingleprivate.h" #include "gtkgestureclick.h" @@ -45,4 +44,3 @@ struct _GtkGestureClickClass gpointer padding[10]; }; -#endif /* __GTK_GESTURE_CLICK_PRIVATE_H__ */ diff --git a/gtk/gtkgesturedrag.h b/gtk/gtkgesturedrag.h index 7499276d80..f09c34be9a 100644 --- a/gtk/gtkgesturedrag.h +++ b/gtk/gtkgesturedrag.h @@ -16,8 +16,7 @@ * * Author(s): Carlos Garnacho */ -#ifndef __GTK_GESTURE_DRAG_H__ -#define __GTK_GESTURE_DRAG_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -57,4 +56,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkGestureDrag, g_object_unref) G_END_DECLS -#endif /* __GTK_GESTURE_DRAG_H__ */ diff --git a/gtk/gtkgesturedragprivate.h b/gtk/gtkgesturedragprivate.h index f29eaeb78b..db9f17a71b 100644 --- a/gtk/gtkgesturedragprivate.h +++ b/gtk/gtkgesturedragprivate.h @@ -16,8 +16,7 @@ * * Author(s): Carlos Garnacho */ -#ifndef __GTK_GESTURE_DRAG_PRIVATE_H__ -#define __GTK_GESTURE_DRAG_PRIVATE_H__ +#pragma once #include "gtkgesturesingleprivate.h" #include "gtkgesturedrag.h" @@ -44,4 +43,3 @@ struct _GtkGestureDragClass gpointer padding[10]; }; -#endif /* __GTK_GESTURE_DRAG_PRIVATE_H__ */ diff --git a/gtk/gtkgesturelongpress.h b/gtk/gtkgesturelongpress.h index 0de91548af..80ac473b06 100644 --- a/gtk/gtkgesturelongpress.h +++ b/gtk/gtkgesturelongpress.h @@ -17,8 +17,7 @@ * * Author(s): Carlos Garnacho */ -#ifndef __GTK_GESTURE_LONG_PRESS_H__ -#define __GTK_GESTURE_LONG_PRESS_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -55,4 +54,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkGestureLongPress, g_object_unref) G_END_DECLS -#endif /* __GTK_GESTURE_LONG_PRESS_H__ */ diff --git a/gtk/gtkgesturelongpressprivate.h b/gtk/gtkgesturelongpressprivate.h index 67dc4ef985..1b136e9fd8 100644 --- a/gtk/gtkgesturelongpressprivate.h +++ b/gtk/gtkgesturelongpressprivate.h @@ -17,8 +17,7 @@ * * Author(s): Carlos Garnacho */ -#ifndef __GTK_GESTURE_LONG_PRESS_PRIVATE_H__ -#define __GTK_GESTURE_LONG_PRESS_PRIVATE_H__ +#pragma once #include "gtkgesturesingleprivate.h" #include "gtkgesturelongpress.h" @@ -41,4 +40,3 @@ struct _GtkGestureLongPressClass gpointer padding[10]; }; -#endif /* __GTK_GESTURE_LONG_PRESS_PRIVATE_H__ */ diff --git a/gtk/gtkgesturepan.h b/gtk/gtkgesturepan.h index 9e364c2a69..a4b373142f 100644 --- a/gtk/gtkgesturepan.h +++ b/gtk/gtkgesturepan.h @@ -16,8 +16,7 @@ * * Author(s): Carlos Garnacho */ -#ifndef __GTK_GESTURE_PAN_H__ -#define __GTK_GESTURE_PAN_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -55,4 +54,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkGesturePan, g_object_unref) G_END_DECLS -#endif /* __GTK_GESTURE_PAN_H__ */ diff --git a/gtk/gtkgesturepanprivate.h b/gtk/gtkgesturepanprivate.h index 723c3f2696..e45289b6b8 100644 --- a/gtk/gtkgesturepanprivate.h +++ b/gtk/gtkgesturepanprivate.h @@ -16,8 +16,7 @@ * * Author(s): Carlos Garnacho */ -#ifndef __GTK_GESTURE_PAN_PRIVATE_H__ -#define __GTK_GESTURE_PAN_PRIVATE_H__ +#pragma once #include "gtkgesturedragprivate.h" #include "gtkgesturepan.h" @@ -39,4 +38,3 @@ struct _GtkGesturePanClass gpointer padding[10]; }; -#endif /* __GTK_GESTURE_PAN_PRIVATE_H__ */ diff --git a/gtk/gtkgestureprivate.h b/gtk/gtkgestureprivate.h index 1e7e498a13..ba324487f4 100644 --- a/gtk/gtkgestureprivate.h +++ b/gtk/gtkgestureprivate.h @@ -16,8 +16,7 @@ * * Author(s): Carlos Garnacho */ -#ifndef __GTK_GESTURE_PRIVATE_H__ -#define __GTK_GESTURE_PRIVATE_H__ +#pragma once #include "gtkeventcontrollerprivate.h" #include "gtkgesture.h" @@ -76,4 +75,3 @@ GtkWidget *gtk_gesture_get_last_target (GtkGesture *gesture, G_END_DECLS -#endif /* __GTK_GESTURE_PRIVATE_H__ */ diff --git a/gtk/gtkgesturerotate.h b/gtk/gtkgesturerotate.h index 1cdb8edad4..0bed32de88 100644 --- a/gtk/gtkgesturerotate.h +++ b/gtk/gtkgesturerotate.h @@ -17,8 +17,7 @@ * * Author(s): Carlos Garnacho */ -#ifndef __GTK_GESTURE_ROTATE_H__ -#define __GTK_GESTURE_ROTATE_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -52,4 +51,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkGestureRotate, g_object_unref) G_END_DECLS -#endif /* __GTK_GESTURE_ROTATE_H__ */ diff --git a/gtk/gtkgesturerotateprivate.h b/gtk/gtkgesturerotateprivate.h index c3805a43b1..c5edf6db59 100644 --- a/gtk/gtkgesturerotateprivate.h +++ b/gtk/gtkgesturerotateprivate.h @@ -17,8 +17,7 @@ * * Author(s): Carlos Garnacho */ -#ifndef __GTK_GESTURE_ROTATE_PRIVATE_H__ -#define __GTK_GESTURE_ROTATE_PRIVATE_H__ +#pragma once #include "gtkgestureprivate.h" #include "gtkgesturerotate.h" @@ -39,4 +38,3 @@ struct _GtkGestureRotateClass gpointer padding[10]; }; -#endif /* __GTK_GESTURE_ROTATE_PRIVATE_H__ */ diff --git a/gtk/gtkgesturesingle.h b/gtk/gtkgesturesingle.h index 4cd338de26..361de81ab6 100644 --- a/gtk/gtkgesturesingle.h +++ b/gtk/gtkgesturesingle.h @@ -18,8 +18,7 @@ * Author(s): Carlos Garnacho */ -#ifndef __GTK_GESTURE_SINGLE_H__ -#define __GTK_GESTURE_SINGLE_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -74,4 +73,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkGestureSingle, g_object_unref) G_END_DECLS -#endif /* __GTK_GESTURE_SINGLE_H__ */ diff --git a/gtk/gtkgesturesingleprivate.h b/gtk/gtkgesturesingleprivate.h index 34b905ff12..0fd23b1dff 100644 --- a/gtk/gtkgesturesingleprivate.h +++ b/gtk/gtkgesturesingleprivate.h @@ -18,8 +18,7 @@ * Author(s): Carlos Garnacho */ -#ifndef __GTK_GESTURE_SINGLE_PRIVATE_H__ -#define __GTK_GESTURE_SINGLE_PRIVATE_H__ +#pragma once #include "gtkgestureprivate.h" #include "gtkgesturesingle.h" @@ -37,4 +36,3 @@ struct _GtkGestureSingleClass gpointer padding[10]; }; -#endif /* __GTK_GESTURE_SINGLE_PRIVATE_H__ */ diff --git a/gtk/gtkgesturestylus.h b/gtk/gtkgesturestylus.h index ea7784d249..fdf42cdc0f 100644 --- a/gtk/gtkgesturestylus.h +++ b/gtk/gtkgesturestylus.h @@ -16,8 +16,7 @@ * * Author(s): Carlos Garnacho */ -#ifndef __GTK_GESTURE_STYLUS_H__ -#define __GTK_GESTURE_STYLUS_H__ +#pragma once #include @@ -66,4 +65,3 @@ GdkDeviceTool * gtk_gesture_stylus_get_device_tool (GtkGestureStylus *gesture) G_END_DECLS -#endif /* __GTK_GESTURE_STYLUS_H__ */ diff --git a/gtk/gtkgesturestylusprivate.h b/gtk/gtkgesturestylusprivate.h index c37e638339..89706e028a 100644 --- a/gtk/gtkgesturestylusprivate.h +++ b/gtk/gtkgesturestylusprivate.h @@ -16,8 +16,7 @@ * * Author(s): Carlos Garnacho */ -#ifndef __GTK_GESTURE_STYLUS_PRIVATE_H__ -#define __GTK_GESTURE_STYLUS_PRIVATE_H__ +#pragma once #include "gtkgesturesingleprivate.h" #include "gtkgesturestylus.h" @@ -48,4 +47,3 @@ struct _GtkGestureStylusClass gpointer padding[10]; }; -#endif /* __GTK_GESTURE_STYLUS_PRIVATE_H__ */ diff --git a/gtk/gtkgestureswipe.h b/gtk/gtkgestureswipe.h index db110eafc8..49661c3425 100644 --- a/gtk/gtkgestureswipe.h +++ b/gtk/gtkgestureswipe.h @@ -17,8 +17,7 @@ * * Author(s): Carlos Garnacho */ -#ifndef __GTK_GESTURE_SWIPE_H__ -#define __GTK_GESTURE_SWIPE_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -54,4 +53,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkGestureSwipe, g_object_unref) G_END_DECLS -#endif /* __GTK_GESTURE_SWIPE_H__ */ diff --git a/gtk/gtkgestureswipeprivate.h b/gtk/gtkgestureswipeprivate.h index 6e41f2a691..18e31cf322 100644 --- a/gtk/gtkgestureswipeprivate.h +++ b/gtk/gtkgestureswipeprivate.h @@ -17,8 +17,7 @@ * * Author(s): Carlos Garnacho */ -#ifndef __GTK_GESTURE_SWIPE_PRIVATE_H__ -#define __GTK_GESTURE_SWIPE_PRIVATE_H__ +#pragma once #include "gtkgesturesingleprivate.h" #include "gtkgestureswipe.h" @@ -40,4 +39,3 @@ struct _GtkGestureSwipeClass gpointer padding[10]; }; -#endif /* __GTK_GESTURE_SWIPE_PRIVATE_H__ */ diff --git a/gtk/gtkgesturezoom.h b/gtk/gtkgesturezoom.h index a57cb7b1fc..d991d96b42 100644 --- a/gtk/gtkgesturezoom.h +++ b/gtk/gtkgesturezoom.h @@ -17,8 +17,7 @@ * * Author(s): Carlos Garnacho */ -#ifndef __GTK_GESTURE_ZOOM_H__ -#define __GTK_GESTURE_ZOOM_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -52,4 +51,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkGestureZoom, g_object_unref) G_END_DECLS -#endif /* __GTK_GESTURE_ZOOM_H__ */ diff --git a/gtk/gtkgesturezoomprivate.h b/gtk/gtkgesturezoomprivate.h index 3c7e9da331..28c78c5364 100644 --- a/gtk/gtkgesturezoomprivate.h +++ b/gtk/gtkgesturezoomprivate.h @@ -17,8 +17,7 @@ * * Author(s): Carlos Garnacho */ -#ifndef __GTK_GESTURE_ZOOM_PRIVATE_H__ -#define __GTK_GESTURE_ZOOM_PRIVATE_H__ +#pragma once #include "gtkgestureprivate.h" #include "gtkgesturezoom.h" @@ -38,4 +37,3 @@ struct _GtkGestureZoomClass gpointer padding[10]; }; -#endif /* __GTK_GESTURE_ZOOM_PRIVATE_H__ */ diff --git a/gtk/gtkgizmoprivate.h b/gtk/gtkgizmoprivate.h index 9257201a59..f5b81ccfb3 100644 --- a/gtk/gtkgizmoprivate.h +++ b/gtk/gtkgizmoprivate.h @@ -1,6 +1,5 @@ -#ifndef __GTK_GIZMO_H__ -#define __GTK_GIZMO_H__ +#pragma once #include "gtkwidget.h" #include "gtkenums.h" @@ -72,4 +71,3 @@ GtkWidget *gtk_gizmo_new_with_role (const char *css_name, GtkGizmoGrabFocusFunc grab_focus_func); -#endif diff --git a/gtk/gtkglarea.h b/gtk/gtkglarea.h index 97ef463f0b..3458746b81 100644 --- a/gtk/gtkglarea.h +++ b/gtk/gtkglarea.h @@ -18,8 +18,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_GL_AREA_H__ -#define __GTK_GL_AREA_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -126,4 +125,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkGLArea, g_object_unref) G_END_DECLS -#endif /* __GTK_GL_AREA_H__ */ diff --git a/gtk/gtkgrid.h b/gtk/gtkgrid.h index 35081d830b..b1502a1181 100644 --- a/gtk/gtkgrid.h +++ b/gtk/gtkgrid.h @@ -16,8 +16,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_GRID_H__ -#define __GTK_GRID_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) @@ -146,4 +145,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkGrid, g_object_unref) G_END_DECLS -#endif /* __GTK_GRID_H__ */ diff --git a/gtk/gtkgridview.h b/gtk/gtkgridview.h index 8ebfcb8cde..2d14e399e5 100644 --- a/gtk/gtkgridview.h +++ b/gtk/gtkgridview.h @@ -17,8 +17,7 @@ * Authors: Benjamin Otte */ -#ifndef __GTK_GRID_VIEW_H__ -#define __GTK_GRID_VIEW_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -89,4 +88,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkGridView, g_object_unref) G_END_DECLS -#endif /* __GTK_GRID_VIEW_H__ */ diff --git a/gtk/gtkheaderbar.h b/gtk/gtkheaderbar.h index cf60231173..8033f0ae30 100644 --- a/gtk/gtkheaderbar.h +++ b/gtk/gtkheaderbar.h @@ -17,8 +17,7 @@ * */ -#ifndef __GTK_HEADER_BAR_H__ -#define __GTK_HEADER_BAR_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -71,4 +70,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkHeaderBar, g_object_unref) G_END_DECLS -#endif /* __GTK_HEADER_BAR_H__ */ diff --git a/gtk/gtkheaderbarprivate.h b/gtk/gtkheaderbarprivate.h index d6a0a7cda3..d7c924e2a4 100644 --- a/gtk/gtkheaderbarprivate.h +++ b/gtk/gtkheaderbarprivate.h @@ -17,8 +17,7 @@ * */ -#ifndef __GTK_HEADER_BAR_PRIVATE_H__ -#define __GTK_HEADER_BAR_PRIVATE_H__ +#pragma once #include "gtkheaderbar.h" @@ -28,4 +27,3 @@ void _gtk_header_bar_track_default_decoration (GtkHeaderBar *bar); G_END_DECLS -#endif /* __GTK_HEADER_BAR_PRIVATE_H__ */ diff --git a/gtk/gtkiconcacheprivate.h b/gtk/gtkiconcacheprivate.h index d27d94f04c..d38eaf82c1 100644 --- a/gtk/gtkiconcacheprivate.h +++ b/gtk/gtkiconcacheprivate.h @@ -14,8 +14,7 @@ * You should have received a copy of the GNU Library General Public * License along with this library. If not, see . */ -#ifndef __GTK_ICON_CACHE_PRIVATE_H__ -#define __GTK_ICON_CACHE_PRIVATE_H__ +#pragma once #include #include @@ -48,4 +47,3 @@ void gtk_icon_cache_unref (GtkIconCache *cache); G_END_DECLS -#endif /* __GTK_ICON_CACHE_PRIVATE_H__ */ diff --git a/gtk/gtkiconcachevalidatorprivate.h b/gtk/gtkiconcachevalidatorprivate.h index a255426bd3..276df4de72 100644 --- a/gtk/gtkiconcachevalidatorprivate.h +++ b/gtk/gtkiconcachevalidatorprivate.h @@ -14,8 +14,7 @@ * You should have received a copy of the GNU Library General Public * License along with this library. If not, see . */ -#ifndef __GTK_ICON_CACHE_VALIDATOR_PRIVATE_H__ -#define __GTK_ICON_CACHE_VALIDATOR_PRIVATE_H__ +#pragma once #include @@ -38,4 +37,3 @@ gboolean gtk_icon_cache_validate (CacheInfo *info); G_END_DECLS -#endif /* __GTK_ICON_CACHE_VALIDATOR_PRIVATE_H__ */ diff --git a/gtk/gtkiconhelperprivate.h b/gtk/gtkiconhelperprivate.h index 80b2e4acce..a3f28ef966 100644 --- a/gtk/gtkiconhelperprivate.h +++ b/gtk/gtkiconhelperprivate.h @@ -17,8 +17,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_ICON_HELPER_H__ -#define __GTK_ICON_HELPER_H__ +#pragma once #include "gtk/gtkimage.h" #include "gtk/gtktypes.h" @@ -75,4 +74,3 @@ void gtk_icon_size_set_style_classes (GtkCssNode *cssnode, G_END_DECLS -#endif /* __GTK_ICON_HELPER_H__ */ diff --git a/gtk/gtkicontheme.h b/gtk/gtkicontheme.h index 1b6c725df3..ef172ea755 100644 --- a/gtk/gtkicontheme.h +++ b/gtk/gtkicontheme.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_ICON_THEME_H__ -#define __GTK_ICON_THEME_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -159,4 +158,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkIconTheme, g_object_unref) G_END_DECLS -#endif /* __GTK_ICON_THEME_H__ */ diff --git a/gtk/gtkiconthemeprivate.h b/gtk/gtkiconthemeprivate.h index 0d877332a3..a4c5066ac5 100644 --- a/gtk/gtkiconthemeprivate.h +++ b/gtk/gtkiconthemeprivate.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_ICON_THEME_PRIVATE_H__ -#define __GTK_ICON_THEME_PRIVATE_H__ +#pragma once #include #include @@ -32,4 +31,3 @@ void gtk_icon_theme_lookup_symbolic_colors (GtkCssStyle *style, int gtk_icon_theme_get_serial (GtkIconTheme *self); -#endif /* __GTK_ICON_THEME_PRIVATE_H__ */ diff --git a/gtk/gtkimage.h b/gtk/gtkimage.h index b810c67166..59083e1b9b 100644 --- a/gtk/gtkimage.h +++ b/gtk/gtkimage.h @@ -22,8 +22,7 @@ * GTK+ at ftp://ftp.gtk.org/pub/gtk/. */ -#ifndef __GTK_IMAGE_H__ -#define __GTK_IMAGE_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) @@ -130,4 +129,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkImage, g_object_unref) G_END_DECLS -#endif /* __GTK_IMAGE_H__ */ diff --git a/gtk/gtkimagedefinitionprivate.h b/gtk/gtkimagedefinitionprivate.h index b66d6c0cd4..c218d8af84 100644 --- a/gtk/gtkimagedefinitionprivate.h +++ b/gtk/gtkimagedefinitionprivate.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_IMAGE_DEFINITION_H__ -#define __GTK_IMAGE_DEFINITION_H__ +#pragma once #include "gtk/gtkimage.h" #include "gtk/gtktypes.h" @@ -42,4 +41,3 @@ GdkPaintable * gtk_image_definition_get_paintable (const GtkImageD G_END_DECLS -#endif /* __GTK_IMAGE_DEFINITION_H__ */ diff --git a/gtk/gtkimageprivate.h b/gtk/gtkimageprivate.h index 04b99c1313..47c6e9a33f 100644 --- a/gtk/gtkimageprivate.h +++ b/gtk/gtkimageprivate.h @@ -22,8 +22,7 @@ * GTK+ at ftp://ftp.gtk.org/pub/gtk/. */ -#ifndef __GTK_IMAGE_PRIVATE_H__ -#define __GTK_IMAGE_PRIVATE_H__ +#pragma once #include "gtkimage.h" @@ -45,4 +44,3 @@ void gtk_image_get_image_size (GtkImage G_END_DECLS -#endif /* __GTK_IMAGE_H__ */ diff --git a/gtk/gtkimcontext.h b/gtk/gtkimcontext.h index fe53feddf9..80864112df 100644 --- a/gtk/gtkimcontext.h +++ b/gtk/gtkimcontext.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_IM_CONTEXT_H__ -#define __GTK_IM_CONTEXT_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) @@ -173,4 +172,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkIMContext, g_object_unref) G_END_DECLS -#endif /* __GTK_IM_CONTEXT_H__ */ diff --git a/gtk/gtkimcontextbroadway.h b/gtk/gtkimcontextbroadway.h index aacf60d9ce..4f6c5cc74b 100644 --- a/gtk/gtkimcontextbroadway.h +++ b/gtk/gtkimcontextbroadway.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_IM_CONTEXT_BROADWAY_H__ -#define __GTK_IM_CONTEXT_BROADWAY_H__ +#pragma once #include @@ -26,4 +25,3 @@ GType gtk_im_context_broadway_get_type (void) G_GNUC_CONST; G_END_DECLS -#endif /* __GTK_IM_CONTEXT_BROADWAY_H__ */ diff --git a/gtk/gtkimcontextprivate.h b/gtk/gtkimcontextprivate.h index 73b952ffd0..c4c65ef144 100644 --- a/gtk/gtkimcontextprivate.h +++ b/gtk/gtkimcontextprivate.h @@ -15,11 +15,9 @@ * License along with this library. If not, see . */ -#ifndef __GTK_IM_CONTEXT_PRIVATE_H__ -#define __GTK_IM_CONTEXT_PRIVATE_H__ +#pragma once #include "gtkimcontext.h" void gtk_im_context_activate_osk (GtkIMContext *context); -#endif /* __GTK_IM_CONTEXT_PRIVATE_H__ */ diff --git a/gtk/gtkimcontextquartz.h b/gtk/gtkimcontextquartz.h index 68d1c96fe7..d85ffe9480 100644 --- a/gtk/gtkimcontextquartz.h +++ b/gtk/gtkimcontextquartz.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_IM_CONTEXT_QUARTZ_H__ -#define __GTK_IM_CONTEXT_QUARTZ_H__ +#pragma once #include @@ -26,4 +25,3 @@ GType gtk_im_context_quartz_get_type (void) G_GNUC_CONST; G_END_DECLS -#endif /* __GTK_IM_CONTEXT_QUARTZ_H__ */ diff --git a/gtk/gtkimcontextsimple.h b/gtk/gtkimcontextsimple.h index 59a5f69def..3fe3089a4c 100644 --- a/gtk/gtkimcontextsimple.h +++ b/gtk/gtkimcontextsimple.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_IM_CONTEXT_SIMPLE_H__ -#define __GTK_IM_CONTEXT_SIMPLE_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -77,4 +76,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkIMContextSimple, g_object_unref) G_END_DECLS -#endif /* __GTK_IM_CONTEXT_SIMPLE_H__ */ diff --git a/gtk/gtkimcontextsimpleseqs.h b/gtk/gtkimcontextsimpleseqs.h index 99a2dd4289..cd8916b155 100644 --- a/gtk/gtkimcontextsimpleseqs.h +++ b/gtk/gtkimcontextsimpleseqs.h @@ -36,8 +36,7 @@ * GTK+ at ftp://ftp.gtk.org/pub/gtk/. */ -#ifndef __GTK_IM_CONTEXT_SIMPLE_SEQS_H__ -#define __GTK_IM_CONTEXT_SIMPLE_SEQS_H__ +#pragma once /* === These are the original comments of the file; we keep for historical purposes === * @@ -4878,5 +4877,4 @@ GDK_KEY_Greek_iota, GDK_KEY_dead_tilde, GDK_KEY_dead_dasia, GDK_KEY_Greek_alpha, GDK_KEY_Greek_iota, GDK_KEY_dead_tilde, GDK_KEY_dead_dasia, GDK_KEY_Greek_eta, 0x1F97, }; -#endif /* __GTK_IM_CONTEXT_SIMPLE_SEQS_H__ */ diff --git a/gtk/gtkimcontextwayland.h b/gtk/gtkimcontextwayland.h index b3a75d3c02..c50d4e82ed 100644 --- a/gtk/gtkimcontextwayland.h +++ b/gtk/gtkimcontextwayland.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_IM_CONTEXT_WAYLAND_H__ -#define __GTK_IM_CONTEXT_WAYLAND_H__ +#pragma once #include @@ -26,4 +25,3 @@ GType gtk_im_context_wayland_get_type (void) G_GNUC_CONST; G_END_DECLS -#endif /* __GTK_IM_CONTEXT_WAYLAND_H__ */ diff --git a/gtk/gtkimmodule.h b/gtk/gtkimmodule.h index d70772b219..5506412fd5 100644 --- a/gtk/gtkimmodule.h +++ b/gtk/gtkimmodule.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_IM_MODULE_H__ -#define __GTK_IM_MODULE_H__ +#pragma once #include @@ -26,4 +25,3 @@ G_BEGIN_DECLS G_END_DECLS -#endif /* __GTK_IM_MODULE_H__ */ diff --git a/gtk/gtkimmoduleprivate.h b/gtk/gtkimmoduleprivate.h index cd4361c414..7887d90469 100644 --- a/gtk/gtkimmoduleprivate.h +++ b/gtk/gtkimmoduleprivate.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_IM_MODULE_PRIVATE_H__ -#define __GTK_IM_MODULE_PRIVATE_H__ +#pragma once #include #include "gtkimcontext.h" @@ -32,4 +31,3 @@ const char * _gtk_im_module_get_default_context_id (GdkDisplay *display); G_END_DECLS -#endif /* __GTK_IM_MODULE_PRIVATE_H__ */ diff --git a/gtk/gtkimmulticontext.h b/gtk/gtkimmulticontext.h index 73eaafdddc..49e8150168 100644 --- a/gtk/gtkimmulticontext.h +++ b/gtk/gtkimmulticontext.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_IM_MULTICONTEXT_H__ -#define __GTK_IM_MULTICONTEXT_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -73,4 +72,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkIMMulticontext, g_object_unref) G_END_DECLS -#endif /* __GTK_IM_MULTICONTEXT_H__ */ diff --git a/gtk/gtkinscription.h b/gtk/gtkinscription.h index 164d05991a..b45a1e0999 100644 --- a/gtk/gtkinscription.h +++ b/gtk/gtkinscription.h @@ -17,8 +17,7 @@ * Authors: Benjamin Otte */ -#ifndef __GTK_INSCRIPTION_H__ -#define __GTK_INSCRIPTION_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -113,4 +112,3 @@ void gtk_inscription_set_yalign (GtkInscription G_END_DECLS -#endif /* __GTK_INSCRIPTION_H__ */ diff --git a/gtk/gtkinscriptionprivate.h b/gtk/gtkinscriptionprivate.h index 97de354e27..7bfc90fc7c 100644 --- a/gtk/gtkinscriptionprivate.h +++ b/gtk/gtkinscriptionprivate.h @@ -17,8 +17,7 @@ * Authors: Benjamin Otte */ -#ifndef __GTK_INSCRIPTION_PRIVATE_H__ -#define __GTK_INSCRIPTION_PRIVATE_H__ +#pragma once #include @@ -30,4 +29,3 @@ PangoLayout * gtk_inscription_get_layout (GtkInscription G_END_DECLS -#endif /* __GTK_INSCRIPTION_PRIVATE_H__ */ diff --git a/gtk/gtkistringprivate.h b/gtk/gtkistringprivate.h index 8c64261771..9d5045316a 100644 --- a/gtk/gtkistringprivate.h +++ b/gtk/gtkistringprivate.h @@ -1,5 +1,4 @@ -#ifndef __GTK_ISTRING_PRIVATE_H__ -#define __GTK_ISTRING_PRIVATE_H__ +#pragma once #include #include @@ -168,4 +167,3 @@ istring_append (IString *str, istring_str (str)[str->n_bytes] = 0; } -#endif /* __GTK_ISTRING_PRIVATE_H__ */ diff --git a/gtk/gtkkineticscrollingprivate.h b/gtk/gtkkineticscrollingprivate.h index a519bd7ec0..39cee10058 100644 --- a/gtk/gtkkineticscrollingprivate.h +++ b/gtk/gtkkineticscrollingprivate.h @@ -16,8 +16,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_KINETIC_SCROLLING_H__ -#define __GTK_KINETIC_SCROLLING_H__ +#pragma once #include @@ -54,4 +53,3 @@ void gtk_kinetic_scrolling_stop (GtkKineticScrolling *data) G_END_DECLS -#endif /* __GTK_KINETIC_SCROLLING_H__ */ diff --git a/gtk/gtklabel.h b/gtk/gtklabel.h index 087dd27239..c27b60b5f9 100644 --- a/gtk/gtklabel.h +++ b/gtk/gtklabel.h @@ -22,8 +22,7 @@ * GTK+ at ftp://ftp.gtk.org/pub/gtk/. */ -#ifndef __GTK_LABEL_H__ -#define __GTK_LABEL_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -190,4 +189,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkLabel, g_object_unref) G_END_DECLS -#endif /* __GTK_LABEL_H__ */ diff --git a/gtk/gtklabelprivate.h b/gtk/gtklabelprivate.h index 5fbbf79cc3..17eecb353a 100644 --- a/gtk/gtklabelprivate.h +++ b/gtk/gtklabelprivate.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_LABEL_PRIVATE_H__ -#define __GTK_LABEL_PRIVATE_H__ +#pragma once #include @@ -29,4 +28,3 @@ int _gtk_label_get_selection_bound (GtkLabel *label); G_END_DECLS -#endif /* __GTK_LABEL_PRIVATE_H__ */ diff --git a/gtk/gtklevelbar.h b/gtk/gtklevelbar.h index 40accd124f..cc180ee1c8 100644 --- a/gtk/gtklevelbar.h +++ b/gtk/gtklevelbar.h @@ -18,8 +18,7 @@ * */ -#ifndef __GTK_LEVEL_BAR_H__ -#define __GTK_LEVEL_BAR_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -114,4 +113,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkLevelBar, g_object_unref) G_END_DECLS -#endif /* __GTK_LEVEL_BAR_H__ */ diff --git a/gtk/gtklinkbutton.h b/gtk/gtklinkbutton.h index 8f6818374a..30152832bf 100644 --- a/gtk/gtklinkbutton.h +++ b/gtk/gtklinkbutton.h @@ -21,8 +21,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_LINK_BUTTON_H__ -#define __GTK_LINK_BUTTON_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -63,4 +62,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkLinkButton, g_object_unref) G_END_DECLS -#endif /* __GTK_LINK_BUTTON_H__ */ diff --git a/gtk/gtklistbase.h b/gtk/gtklistbase.h index 57f89aded1..dd795a6aef 100644 --- a/gtk/gtklistbase.h +++ b/gtk/gtklistbase.h @@ -17,8 +17,7 @@ * Authors: Benjamin Otte */ -#ifndef __GTK_LIST_BASE_H__ -#define __GTK_LIST_BASE_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -49,4 +48,3 @@ GType gtk_list_base_get_type (void) G_GNUC_CO G_END_DECLS -#endif /* __GTK_LIST_BASE_H__ */ diff --git a/gtk/gtklistbaseprivate.h b/gtk/gtklistbaseprivate.h index cd66e58ecc..7aa596ffde 100644 --- a/gtk/gtklistbaseprivate.h +++ b/gtk/gtklistbaseprivate.h @@ -17,8 +17,7 @@ * Authors: Benjamin Otte */ -#ifndef __GTK_LIST_BASE_PRIVATE_H__ -#define __GTK_LIST_BASE_PRIVATE_H__ +#pragma once #include "gtklistbase.h" @@ -92,4 +91,3 @@ GtkListTabBehavior gtk_list_base_get_tab_behavior (GtkListBase void gtk_list_base_allocate (GtkListBase *self); -#endif /* __GTK_LIST_BASE_PRIVATE_H__ */ diff --git a/gtk/gtklistbox.h b/gtk/gtklistbox.h index 68f02549f6..1a2dec8cd9 100644 --- a/gtk/gtklistbox.h +++ b/gtk/gtklistbox.h @@ -19,8 +19,7 @@ * */ -#ifndef __GTK_LIST_BOX_H__ -#define __GTK_LIST_BOX_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -277,4 +276,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkListBoxRow, g_object_unref) G_END_DECLS -#endif diff --git a/gtk/gtklistfactorywidgetprivate.h b/gtk/gtklistfactorywidgetprivate.h index ee01a64c51..5ec2825f42 100644 --- a/gtk/gtklistfactorywidgetprivate.h +++ b/gtk/gtklistfactorywidgetprivate.h @@ -17,8 +17,7 @@ * Authors: Benjamin Otte */ -#ifndef __GTK_LIST_FACTORY_WIDGET_PRIVATE_H__ -#define __GTK_LIST_FACTORY_WIDGET_PRIVATE_H__ +#pragma once #include "gtklistitembaseprivate.h" @@ -83,4 +82,3 @@ gboolean gtk_list_factory_widget_get_selectable (GtkListFactoryW G_END_DECLS -#endif /* __GTK_LIST_FACTORY_WIDGET_PRIVATE_H__ */ diff --git a/gtk/gtklistitem.h b/gtk/gtklistitem.h index 0db22641fd..f66da44d19 100644 --- a/gtk/gtklistitem.h +++ b/gtk/gtklistitem.h @@ -17,8 +17,7 @@ * Authors: Benjamin Otte */ -#ifndef __GTK_LIST_ITEM_H__ -#define __GTK_LIST_ITEM_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -68,4 +67,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkListItem, g_object_unref) G_END_DECLS -#endif /* __GTK_LIST_ITEM_H__ */ diff --git a/gtk/gtklistitembaseprivate.h b/gtk/gtklistitembaseprivate.h index a5b48dd1ca..b5260d1e2e 100644 --- a/gtk/gtklistitembaseprivate.h +++ b/gtk/gtklistitembaseprivate.h @@ -17,8 +17,7 @@ * Authors: Benjamin Otte */ -#ifndef __GTK_LIST_ITEM_BASE_PRIVATE_H__ -#define __GTK_LIST_ITEM_BASE_PRIVATE_H__ +#pragma once #include "gtkwidget.h" @@ -62,4 +61,3 @@ gboolean gtk_list_item_base_get_selected (GtkListItemBase G_END_DECLS -#endif /* __GTK_LIST_ITEM_BASE_PRIVATE_H__ */ diff --git a/gtk/gtklistitemfactory.h b/gtk/gtklistitemfactory.h index c058ad6398..cc976e8f6f 100644 --- a/gtk/gtklistitemfactory.h +++ b/gtk/gtklistitemfactory.h @@ -17,8 +17,7 @@ * Authors: Benjamin Otte */ -#ifndef __GTK_LIST_ITEM_FACTORY_H__ -#define __GTK_LIST_ITEM_FACTORY_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -46,4 +45,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkListItemFactory, g_object_unref) G_END_DECLS -#endif /* __GTK_LIST_ITEM_FACTORY_H__ */ diff --git a/gtk/gtklistitemfactoryprivate.h b/gtk/gtklistitemfactoryprivate.h index a860987231..7d9b1864f2 100644 --- a/gtk/gtklistitemfactoryprivate.h +++ b/gtk/gtklistitemfactoryprivate.h @@ -18,8 +18,7 @@ */ -#ifndef __GTK_LIST_ITEM_FACTORY_PRIVATE_H__ -#define __GTK_LIST_ITEM_FACTORY_PRIVATE_H__ +#pragma once #include #include "gtk/gtklistitemwidgetprivate.h" @@ -79,4 +78,3 @@ void gtk_list_item_factory_update (GtkListItemFact G_END_DECLS -#endif /* __GTK_LIST_ITEM_FACTORY_PRIVATE_H__ */ diff --git a/gtk/gtklistitemmanagerprivate.h b/gtk/gtklistitemmanagerprivate.h index 9b5d33812c..44a9ac82ea 100644 --- a/gtk/gtklistitemmanagerprivate.h +++ b/gtk/gtklistitemmanagerprivate.h @@ -18,8 +18,7 @@ */ -#ifndef __GTK_LIST_ITEM_MANAGER_H__ -#define __GTK_LIST_ITEM_MANAGER_H__ +#pragma once #include "gtk/gtktypes.h" #include "gtk/gtkenums.h" @@ -119,4 +118,3 @@ guint gtk_list_item_tracker_get_position (GtkListItemMana G_END_DECLS -#endif /* __GTK_LIST_ITEM_MANAGER_H__ */ diff --git a/gtk/gtklistitemprivate.h b/gtk/gtklistitemprivate.h index af8cdd4c94..af56b37a37 100644 --- a/gtk/gtklistitemprivate.h +++ b/gtk/gtklistitemprivate.h @@ -17,8 +17,7 @@ * Authors: Benjamin Otte */ -#ifndef __GTK_LIST_ITEM_PRIVATE_H__ -#define __GTK_LIST_ITEM_PRIVATE_H__ +#pragma once #include "gtklistitem.h" @@ -48,4 +47,3 @@ void gtk_list_item_do_notify (GtkListItem *li G_END_DECLS -#endif /* __GTK_LIST_ITEM_PRIVATE_H__ */ diff --git a/gtk/gtklistitemwidgetprivate.h b/gtk/gtklistitemwidgetprivate.h index cccea77de5..205a91ce37 100644 --- a/gtk/gtklistitemwidgetprivate.h +++ b/gtk/gtklistitemwidgetprivate.h @@ -17,8 +17,7 @@ * Authors: Benjamin Otte */ -#ifndef __GTK_LIST_ITEM_WIDGET_PRIVATE_H__ -#define __GTK_LIST_ITEM_WIDGET_PRIVATE_H__ +#pragma once #include "gtklistfactorywidgetprivate.h" @@ -55,4 +54,3 @@ void gtk_list_item_widget_set_child (GtkListItemWidg G_END_DECLS -#endif /* __GTK_LIST_ITEM_WIDGET_PRIVATE_H__ */ diff --git a/gtk/gtklistlistmodelprivate.h b/gtk/gtklistlistmodelprivate.h index 0274224227..7db136ce12 100644 --- a/gtk/gtklistlistmodelprivate.h +++ b/gtk/gtklistlistmodelprivate.h @@ -18,8 +18,7 @@ */ -#ifndef __GTK_LIST_LIST_MODEL_H__ -#define __GTK_LIST_LIST_MODEL_H__ +#pragma once #include @@ -71,4 +70,3 @@ void gtk_list_list_model_clear (GtkListListMode G_END_DECLS -#endif /* __GTK_LIST_LIST_MODEL_H__ */ diff --git a/gtk/gtklistview.h b/gtk/gtklistview.h index e2ee0b8c4d..0067bec200 100644 --- a/gtk/gtklistview.h +++ b/gtk/gtklistview.h @@ -17,8 +17,7 @@ * Authors: Benjamin Otte */ -#ifndef __GTK_LIST_VIEW_H__ -#define __GTK_LIST_VIEW_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -87,4 +86,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkListView, g_object_unref) G_END_DECLS -#endif /* __GTK_LIST_VIEW_H__ */ diff --git a/gtk/gtklistviewprivate.h b/gtk/gtklistviewprivate.h index 791a0818f2..002376fc1e 100644 --- a/gtk/gtklistviewprivate.h +++ b/gtk/gtklistviewprivate.h @@ -17,8 +17,7 @@ * Authors: Benjamin Otte */ -#ifndef __GTK_LIST_VIEW_PRIVATE_H__ -#define __GTK_LIST_VIEW_PRIVATE_H__ +#pragma once #include #include @@ -42,4 +41,3 @@ struct _GtkListViewClass G_END_DECLS -#endif /* __GTK_LIST_VIEW_H__ */ diff --git a/gtk/gtkmagnifierprivate.h b/gtk/gtkmagnifierprivate.h index 77fee2cc98..9b4c791484 100644 --- a/gtk/gtkmagnifierprivate.h +++ b/gtk/gtkmagnifierprivate.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_MAGNIFIER_H__ -#define __GTK_MAGNIFIER_H__ +#pragma once G_BEGIN_DECLS @@ -51,4 +50,3 @@ gboolean _gtk_magnifier_get_resize (GtkMagnifier *magnifier); G_END_DECLS -#endif /* __GTK_MAGNIFIER_H__ */ diff --git a/gtk/gtkmain.h b/gtk/gtkmain.h index 876422fc48..063f0d789a 100644 --- a/gtk/gtkmain.h +++ b/gtk/gtkmain.h @@ -22,8 +22,7 @@ * GTK+ at ftp://ftp.gtk.org/pub/gtk/. */ -#ifndef __GTK_MAIN_H__ -#define __GTK_MAIN_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) @@ -91,4 +90,3 @@ GtkTextDirection gtk_get_locale_direction (void); G_END_DECLS -#endif /* __GTK_MAIN_H__ */ diff --git a/gtk/gtkmaplistmodel.h b/gtk/gtkmaplistmodel.h index 6d9cccdaee..abb19f787f 100644 --- a/gtk/gtkmaplistmodel.h +++ b/gtk/gtkmaplistmodel.h @@ -17,8 +17,7 @@ * Authors: Benjamin Otte */ -#ifndef __GTK_MAP_LIST_MODEL_H__ -#define __GTK_MAP_LIST_MODEL_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) @@ -72,4 +71,3 @@ gboolean gtk_map_list_model_has_map (GtkMapListModel G_END_DECLS -#endif /* __GTK_MAP_LIST_MODEL_H__ */ diff --git a/gtk/gtkmediacontrols.h b/gtk/gtkmediacontrols.h index 2dce1cba29..02349d3e67 100644 --- a/gtk/gtkmediacontrols.h +++ b/gtk/gtkmediacontrols.h @@ -17,8 +17,7 @@ * Authors: Benjamin Otte */ -#ifndef __GTK_MEDIA_CONTROLS_H__ -#define __GTK_MEDIA_CONTROLS_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -46,4 +45,3 @@ void gtk_media_controls_set_media_stream (GtkMediaControls G_END_DECLS -#endif /* __GTK_MEDIA_CONTROLS_H__ */ diff --git a/gtk/gtkmediafile.h b/gtk/gtkmediafile.h index daa17d9aa8..9bff52ce7e 100644 --- a/gtk/gtkmediafile.h +++ b/gtk/gtkmediafile.h @@ -17,8 +17,7 @@ * Authors: Benjamin Otte */ -#ifndef __GTK_MEDIA_FILE_H__ -#define __GTK_MEDIA_FILE_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -83,4 +82,3 @@ GInputStream * gtk_media_file_get_input_stream (GtkMediaFile G_END_DECLS -#endif /* __GTK_MEDIA_FILE_H__ */ diff --git a/gtk/gtkmediafileprivate.h b/gtk/gtkmediafileprivate.h index 00844f816f..e02dfb09eb 100644 --- a/gtk/gtkmediafileprivate.h +++ b/gtk/gtkmediafileprivate.h @@ -17,8 +17,7 @@ * Authors: Benjamin Otte */ -#ifndef __GTK_MEDIA_FILE_PRIVATE_H__ -#define __GTK_MEDIA_FILE_PRIVATE_H__ +#pragma once #include "gtkmediafile.h" @@ -27,4 +26,3 @@ void gtk_media_file_extension_init (void); GIOExtension * gtk_media_file_get_extension (void); -#endif /* __GTK_MEDIA_FILE_PRIVATE_H__ */ diff --git a/gtk/gtkmediastream.h b/gtk/gtkmediastream.h index 8956c00237..512fe09bba 100644 --- a/gtk/gtkmediastream.h +++ b/gtk/gtkmediastream.h @@ -17,8 +17,7 @@ * Authors: Benjamin Otte */ -#ifndef __GTK_MEDIA_STREAM_H__ -#define __GTK_MEDIA_STREAM_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -163,4 +162,3 @@ void gtk_media_stream_error_valist (GtkMediaStream G_END_DECLS -#endif /* __GTK_MEDIA_STREAM_H__ */ diff --git a/gtk/gtkmenubutton.h b/gtk/gtkmenubutton.h index 87d87976b2..566f592d35 100644 --- a/gtk/gtkmenubutton.h +++ b/gtk/gtkmenubutton.h @@ -18,8 +18,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_MENU_BUTTON_H__ -#define __GTK_MENU_BUTTON_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -137,4 +136,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkMenuButton, g_object_unref) G_END_DECLS -#endif /* __GTK_MENU_BUTTON_H__ */ diff --git a/gtk/gtkmenubuttonprivate.h b/gtk/gtkmenubuttonprivate.h index 9fb6cee70a..b73f10ad15 100644 --- a/gtk/gtkmenubuttonprivate.h +++ b/gtk/gtkmenubuttonprivate.h @@ -18,8 +18,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_MENU_BUTTON_PRIVATE_H__ -#define __GTK_MENU_BUTTON_PRIVATE_H__ +#pragma once #include @@ -27,4 +26,3 @@ G_BEGIN_DECLS G_END_DECLS -#endif /* __GTK_MENU_BUTTON_PRIVATE_H__ */ diff --git a/gtk/gtkmenusectionboxprivate.h b/gtk/gtkmenusectionboxprivate.h index 232d62ee0c..f582cb752b 100644 --- a/gtk/gtkmenusectionboxprivate.h +++ b/gtk/gtkmenusectionboxprivate.h @@ -17,8 +17,7 @@ * Author: Ryan Lortie */ -#ifndef __GTK_MENU_SECTION_BOX_PRIVATE_H__ -#define __GTK_MENU_SECTION_BOX_PRIVATE_H__ +#pragma once #include #include @@ -54,4 +53,3 @@ gboolean gtk_menu_section_box_remove_custom (GtkPopo G_END_DECLS -#endif /* __GTK_MENU_SECTION_BOX_PRIVATE_H__ */ diff --git a/gtk/gtkmenutrackeritemprivate.h b/gtk/gtkmenutrackeritemprivate.h index 50343ba99e..dd3964fc9b 100644 --- a/gtk/gtkmenutrackeritemprivate.h +++ b/gtk/gtkmenutrackeritemprivate.h @@ -17,8 +17,7 @@ * Author: Ryan Lortie */ -#ifndef __GTK_MENU_TRACKER_ITEM_PRIVATE_H__ -#define __GTK_MENU_TRACKER_ITEM_PRIVATE_H__ +#pragma once #include "gtkactionobservableprivate.h" @@ -98,4 +97,3 @@ void gtk_menu_tracker_item_request_submenu_shown (GtkMenu gboolean gtk_menu_tracker_item_get_submenu_shown (GtkMenuTrackerItem *self); -#endif diff --git a/gtk/gtkmenutrackerprivate.h b/gtk/gtkmenutrackerprivate.h index 9d2602cbfb..0a9e589f23 100644 --- a/gtk/gtkmenutrackerprivate.h +++ b/gtk/gtkmenutrackerprivate.h @@ -17,8 +17,7 @@ * Author: Ryan Lortie */ -#ifndef __GTK_MENU_TRACKER_PRIVATE_H__ -#define __GTK_MENU_TRACKER_PRIVATE_H__ +#pragma once #include "gtkmenutrackeritemprivate.h" @@ -52,4 +51,3 @@ GtkMenuTracker * gtk_menu_tracker_new_for_item_link (GtkMenu void gtk_menu_tracker_free (GtkMenuTracker *tracker); -#endif /* __GTK_MENU_TRACKER_PRIVATE_H__ */ diff --git a/gtk/gtkmodelbuttonprivate.h b/gtk/gtkmodelbuttonprivate.h index 2c0f0a5610..0e0b859d15 100644 --- a/gtk/gtkmodelbuttonprivate.h +++ b/gtk/gtkmodelbuttonprivate.h @@ -17,8 +17,7 @@ * Author: Matthias Clasen */ -#ifndef __GTK_MODEL_BUTTON_PRIVATE_H__ -#define __GTK_MODEL_BUTTON_PRIVATE_H__ +#pragma once #include @@ -57,4 +56,3 @@ GtkWidget * gtk_model_button_new (void); G_END_DECLS -#endif /* __GTK_MODEL_BUTTON_PRIVATE_H__ */ diff --git a/gtk/gtkmodulesprivate.h b/gtk/gtkmodulesprivate.h index c3a1ea59ab..016c213a10 100644 --- a/gtk/gtkmodulesprivate.h +++ b/gtk/gtkmodulesprivate.h @@ -22,8 +22,7 @@ * GTK+ at ftp://ftp.gtk.org/pub/gtk/. */ -#ifndef __GTK_MODULES_PRIVATE_H__ -#define __GTK_MODULES_PRIVATE_H__ +#pragma once G_BEGIN_DECLS @@ -31,4 +30,3 @@ char ** _gtk_get_module_path (const char *type); G_END_DECLS -#endif /* __GTK_MODULES_PRIVATE_H__ */ diff --git a/gtk/gtkmountoperation.h b/gtk/gtkmountoperation.h index 21e6effd6c..ca2e25b39c 100644 --- a/gtk/gtkmountoperation.h +++ b/gtk/gtkmountoperation.h @@ -22,8 +22,7 @@ * GTK+ at ftp://ftp.gtk.org/pub/gtk/. */ -#ifndef __GTK_MOUNT_OPERATION_H__ -#define __GTK_MOUNT_OPERATION_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -88,4 +87,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkMountOperation, g_object_unref) G_END_DECLS -#endif /* __GTK_MOUNT_OPERATION_H__ */ diff --git a/gtk/gtkmountoperationprivate.h b/gtk/gtkmountoperationprivate.h index 522970772c..bca4741a4d 100644 --- a/gtk/gtkmountoperationprivate.h +++ b/gtk/gtkmountoperationprivate.h @@ -23,8 +23,7 @@ * GTK+ at ftp://ftp.gtk.org/pub/gtk/. */ -#ifndef __GTK_MOUNT_OPERATION_PRIVATE_H__ -#define __GTK_MOUNT_OPERATION_PRIVATE_H__ +#pragma once #include #include @@ -48,4 +47,3 @@ void _gtk_mount_operation_lookup_context_free (GtkMountOperationLookupContex gboolean _gtk_mount_operation_kill_process (GPid pid, GError **error); -#endif /* __GTK_MOUNT_OPERATION_PRIVATE_H__ */ diff --git a/gtk/gtkmultifilter.h b/gtk/gtkmultifilter.h index 77ada4c7cc..3b9e9dd89a 100644 --- a/gtk/gtkmultifilter.h +++ b/gtk/gtkmultifilter.h @@ -17,8 +17,7 @@ * Authors: Benjamin Otte */ -#ifndef __GTK_MULTI_FILTER_H__ -#define __GTK_MULTI_FILTER_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -55,4 +54,3 @@ GtkEveryFilter * gtk_every_filter_new (void); G_END_DECLS -#endif /* __GTK_MULTI_FILTER_H__ */ diff --git a/gtk/gtkmultiselection.h b/gtk/gtkmultiselection.h index b8e0300ed1..d5cf6fdd84 100644 --- a/gtk/gtkmultiselection.h +++ b/gtk/gtkmultiselection.h @@ -17,8 +17,7 @@ * Authors: Matthias Clasen */ -#ifndef __GTK_MULTI_SELECTION_H__ -#define __GTK_MULTI_SELECTION_H__ +#pragma once #include #include @@ -41,4 +40,3 @@ void gtk_multi_selection_set_model (GtkMultiSelection G_END_DECLS -#endif /* __GTK_MULTI_SELECTION_H__ */ diff --git a/gtk/gtkmultisorter.h b/gtk/gtkmultisorter.h index d634711d51..d48cd2c669 100644 --- a/gtk/gtkmultisorter.h +++ b/gtk/gtkmultisorter.h @@ -17,8 +17,7 @@ * Authors: Matthias Clasen */ -#ifndef __GTK_MULTI_SORTER_H__ -#define __GTK_MULTI_SORTER_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -46,4 +45,3 @@ void gtk_multi_sorter_remove (GtkMultiSorter G_END_DECLS -#endif /* __GTK_MULTI_SORTER_H__ */ diff --git a/gtk/gtknative.h b/gtk/gtknative.h index 18346f32fa..d167910556 100644 --- a/gtk/gtknative.h +++ b/gtk/gtknative.h @@ -17,8 +17,7 @@ * Authors: Matthias Clasen */ -#ifndef __GTK_NATIVE_H__ -#define __GTK_NATIVE_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -56,4 +55,3 @@ void gtk_native_get_surface_transform (GtkNative *self, G_END_DECLS -#endif /* __GTK_NATIVE_H__ */ diff --git a/gtk/gtknativedialog.h b/gtk/gtknativedialog.h index 8015386496..ea47069009 100644 --- a/gtk/gtknativedialog.h +++ b/gtk/gtknativedialog.h @@ -16,8 +16,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_NATIVE_DIALOG_H__ -#define __GTK_NATIVE_DIALOG_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -83,4 +82,3 @@ GtkWindow * gtk_native_dialog_get_transient_for (GtkNativeDialog *self G_END_DECLS -#endif /* __GTK_NATIVE_DIALOG_H__ */ diff --git a/gtk/gtknativedialogprivate.h b/gtk/gtknativedialogprivate.h index 8f7013ad54..212828ca6c 100644 --- a/gtk/gtknativedialogprivate.h +++ b/gtk/gtknativedialogprivate.h @@ -16,8 +16,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_NATIVE_DIALOG_PRIVATE_H__ -#define __GTK_NATIVE_DIALOG_PRIVATE_H__ +#pragma once #include @@ -28,4 +27,3 @@ void _gtk_native_dialog_emit_response (GtkNativeDialog *self, G_END_DECLS -#endif /* __GTK_NATIVE_DIALOG_PRIVATE_H__ */ diff --git a/gtk/gtknativeprivate.h b/gtk/gtknativeprivate.h index d00ebc50cd..31e1335e9b 100644 --- a/gtk/gtknativeprivate.h +++ b/gtk/gtknativeprivate.h @@ -1,5 +1,4 @@ -#ifndef __GTK_NATIVE_PRIVATE_H__ -#define __GTK_NATIVE_PRIVATE_H__ +#pragma once #include "gtknative.h" @@ -37,4 +36,3 @@ void gtk_native_update_opaque_region (GtkNative *native, G_END_DECLS -#endif /* __GTK_NATIVE_PRIVATE_H__ */ diff --git a/gtk/gtknomediafileprivate.h b/gtk/gtknomediafileprivate.h index 0bb6f7375a..00537d6c4d 100644 --- a/gtk/gtknomediafileprivate.h +++ b/gtk/gtknomediafileprivate.h @@ -17,8 +17,7 @@ * Authors: Benjamin Otte */ -#ifndef __GTK_NO_MEDIA_FILE_H__ -#define __GTK_NO_MEDIA_FILE_H__ +#pragma once #include @@ -30,4 +29,3 @@ G_DECLARE_FINAL_TYPE (GtkNoMediaFile, gtk_no_media_file, GTK, NO_MEDIA_FILE, Gtk G_END_DECLS -#endif /* __GTK_NO_MEDIA_FILE_H__ */ diff --git a/gtk/gtknoselection.h b/gtk/gtknoselection.h index 09f027c9d9..548f3604af 100644 --- a/gtk/gtknoselection.h +++ b/gtk/gtknoselection.h @@ -17,8 +17,7 @@ * Authors: Benjamin Otte */ -#ifndef __GTK_NO_SELECTION_H__ -#define __GTK_NO_SELECTION_H__ +#pragma once #include @@ -40,4 +39,3 @@ void gtk_no_selection_set_model (GtkNoSelection G_END_DECLS -#endif /* __GTK_NO_SELECTION_H__ */ diff --git a/gtk/gtknotebook.h b/gtk/gtknotebook.h index 437b7b9746..7a039c7cef 100644 --- a/gtk/gtknotebook.h +++ b/gtk/gtknotebook.h @@ -23,8 +23,7 @@ * GTK+ at ftp://ftp.gtk.org/pub/gtk/. */ -#ifndef __GTK_NOTEBOOK_H__ -#define __GTK_NOTEBOOK_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) @@ -247,4 +246,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkNotebook, g_object_unref) G_END_DECLS -#endif /* __GTK_NOTEBOOK_H__ */ diff --git a/gtk/gtknumericsorter.h b/gtk/gtknumericsorter.h index b7460f5bca..89ab2b27a0 100644 --- a/gtk/gtknumericsorter.h +++ b/gtk/gtknumericsorter.h @@ -17,8 +17,7 @@ * Authors: Matthias Clasen */ -#ifndef __GTK_NUMERIC_SORTER_H__ -#define __GTK_NUMERIC_SORTER_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -50,4 +49,3 @@ void gtk_numeric_sorter_set_sort_order (GtkNumericSort G_END_DECLS -#endif /* __GTK_NUMERIC_SORTER_H__ */ diff --git a/gtk/gtkorientable.h b/gtk/gtkorientable.h index 551d1ad05f..4bc227e41f 100644 --- a/gtk/gtkorientable.h +++ b/gtk/gtkorientable.h @@ -19,8 +19,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_ORIENTABLE_H__ -#define __GTK_ORIENTABLE_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -57,4 +56,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkOrientable, g_object_unref) G_END_DECLS -#endif /* __GTK_ORIENTABLE_H__ */ diff --git a/gtk/gtkoverlay.h b/gtk/gtkoverlay.h index fa02fe4f95..bb89717737 100644 --- a/gtk/gtkoverlay.h +++ b/gtk/gtkoverlay.h @@ -18,8 +18,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_OVERLAY_H__ -#define __GTK_OVERLAY_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -71,4 +70,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkOverlay, g_object_unref) G_END_DECLS -#endif /* __GTK_OVERLAY_H__ */ diff --git a/gtk/gtkpadcontroller.h b/gtk/gtkpadcontroller.h index c544305734..63f4c5294d 100644 --- a/gtk/gtkpadcontroller.h +++ b/gtk/gtkpadcontroller.h @@ -17,8 +17,7 @@ * Author(s): Carlos Garnacho */ -#ifndef __GTK_PAD_CONTROLLER_H__ -#define __GTK_PAD_CONTROLLER_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -95,4 +94,3 @@ void gtk_pad_controller_set_action (GtkPadController *controller, G_END_DECLS -#endif /* __GTK_PAD_CONTROLLER_H__ */ diff --git a/gtk/gtkpagesetup.h b/gtk/gtkpagesetup.h index 30d07518c6..770db797a8 100644 --- a/gtk/gtkpagesetup.h +++ b/gtk/gtkpagesetup.h @@ -16,8 +16,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_PAGE_SETUP_H__ -#define __GTK_PAGE_SETUP_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) @@ -136,4 +135,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkPageSetup, g_object_unref) G_END_DECLS -#endif /* __GTK_PAGE_SETUP_H__ */ diff --git a/gtk/gtkpagesetupunixdialog.h b/gtk/gtkpagesetupunixdialog.h index 9d8f6047fb..84a42cb94b 100644 --- a/gtk/gtkpagesetupunixdialog.h +++ b/gtk/gtkpagesetupunixdialog.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_PAGE_SETUP_UNIX_DIALOG_H__ -#define __GTK_PAGE_SETUP_UNIX_DIALOG_H__ +#pragma once #if !defined (__GTK_UNIX_PRINT_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -52,4 +51,3 @@ GtkPrintSettings *gtk_page_setup_unix_dialog_get_print_settings (GtkPageSetupUni G_END_DECLS -#endif /* __GTK_PAGE_SETUP_UNIX_DIALOG_H__ */ diff --git a/gtk/gtkpaned.h b/gtk/gtkpaned.h index 6b1b91bcde..f3125a7ad1 100644 --- a/gtk/gtkpaned.h +++ b/gtk/gtkpaned.h @@ -22,8 +22,7 @@ * GTK+ at ftp://ftp.gtk.org/pub/gtk/. */ -#ifndef __GTK_PANED_H__ -#define __GTK_PANED_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -94,4 +93,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkPaned, g_object_unref) G_END_DECLS -#endif /* __GTK_PANED_H__ */ diff --git a/gtk/gtkpanedhandleprivate.h b/gtk/gtkpanedhandleprivate.h index 34b188de64..38f350602f 100644 --- a/gtk/gtkpanedhandleprivate.h +++ b/gtk/gtkpanedhandleprivate.h @@ -1,6 +1,5 @@ -#ifndef __GTK_PANED_HANDLE_H__ -#define __GTK_PANED_HANDLE_H__ +#pragma once #include "gtkwidget.h" #include "gtkenums.h" @@ -29,4 +28,3 @@ GType gtk_paned_handle_get_type (void) G_GNUC_CONST; GtkWidget *gtk_paned_handle_new (void); -#endif diff --git a/gtk/gtkpangoprivate.h b/gtk/gtkpangoprivate.h index cb16bcb331..b03e281582 100644 --- a/gtk/gtkpangoprivate.h +++ b/gtk/gtkpangoprivate.h @@ -22,8 +22,7 @@ * GTK+ at ftp://ftp.gtk.org/pub/gtk/. */ -#ifndef __GTK_PANGO_PRIVATE_H__ -#define __GTK_PANGO_PRIVATE_H__ +#pragma once #include #include "gtkbuildable.h" @@ -63,4 +62,3 @@ const char *pango_align_to_string (PangoAlignment align); G_END_DECLS -#endif /* __GTK_PANGO_PRIVATE_H__ */ diff --git a/gtk/gtkpapersize.h b/gtk/gtkpapersize.h index 29bcc52db9..6aaf2d70c2 100644 --- a/gtk/gtkpapersize.h +++ b/gtk/gtkpapersize.h @@ -16,8 +16,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_PAPER_SIZE_H__ -#define __GTK_PAPER_SIZE_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) @@ -173,4 +172,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkPaperSize, gtk_paper_size_free) G_END_DECLS -#endif /* __GTK_PAPER_SIZE_H__ */ diff --git a/gtk/gtkpasswordentry.h b/gtk/gtkpasswordentry.h index 43a2222660..f3b4500a33 100644 --- a/gtk/gtkpasswordentry.h +++ b/gtk/gtkpasswordentry.h @@ -18,8 +18,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_PASSWORD_ENTRY_H__ -#define __GTK_PASSWORD_ENTRY_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -56,4 +55,3 @@ GMenuModel * gtk_password_entry_get_extra_menu (GtkPasswordEntry *entry); G_END_DECLS -#endif /* __GTK_PASSWORD_ENTRY_H__ */ diff --git a/gtk/gtkpathbarprivate.h b/gtk/gtkpathbarprivate.h index 3b20985929..d0bf97f034 100644 --- a/gtk/gtkpathbarprivate.h +++ b/gtk/gtkpathbarprivate.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_PATH_BAR_PRIVATE_H__ -#define __GTK_PATH_BAR_PRIVATE_H__ +#pragma once #include "gtkwidget.h" @@ -38,4 +37,3 @@ void _gtk_path_bar_down (GtkPathBar *path_bar); G_END_DECLS -#endif /* __GTK_PATH_BAR_PRIVATE_H__ */ diff --git a/gtk/gtkpicture.h b/gtk/gtkpicture.h index 4de07d0ba7..919369e43d 100644 --- a/gtk/gtkpicture.h +++ b/gtk/gtkpicture.h @@ -17,8 +17,7 @@ * Authors: Benjamin Otte */ -#ifndef __GTK_PICTURE_H__ -#define __GTK_PICTURE_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) @@ -95,4 +94,3 @@ const char * gtk_picture_get_alternative_text (GtkPicture G_END_DECLS -#endif /* __GTK_PICTURE_H__ */ diff --git a/gtk/gtkplacessidebarprivate.h b/gtk/gtkplacessidebarprivate.h index 9fbf22f035..5f06f84af6 100644 --- a/gtk/gtkplacessidebarprivate.h +++ b/gtk/gtkplacessidebarprivate.h @@ -18,8 +18,7 @@ * Authors: Carlos Soriano */ -#ifndef __GTK_PLACES_SIDEBAR_PRIVATE_H__ -#define __GTK_PLACES_SIDEBAR_PRIVATE_H__ +#pragma once #include #include @@ -146,4 +145,3 @@ char *gtk_places_sidebar_get_location_title (GtkPlacesSidebar *sidebar); G_END_DECLS -#endif /* __GTK_PLACES_SIDEBAR_PRIVATE_H__ */ diff --git a/gtk/gtkplacesviewprivate.h b/gtk/gtkplacesviewprivate.h index 90f954812d..01753aea22 100644 --- a/gtk/gtkplacesviewprivate.h +++ b/gtk/gtkplacesviewprivate.h @@ -16,8 +16,7 @@ * along with this program. If not, see . */ -#ifndef GTK_PLACES_VIEW_H -#define GTK_PLACES_VIEW_H +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -54,4 +53,3 @@ GtkWidget * gtk_places_view_new (void); G_END_DECLS -#endif /* GTK_PLACES_VIEW_H */ diff --git a/gtk/gtkplacesviewrowprivate.h b/gtk/gtkplacesviewrowprivate.h index ad913275a1..12e7d3cd6c 100644 --- a/gtk/gtkplacesviewrowprivate.h +++ b/gtk/gtkplacesviewrowprivate.h @@ -16,8 +16,7 @@ * along with this program. If not, see . */ -#ifndef GTK_PLACES_VIEW_ROW_H -#define GTK_PLACES_VIEW_ROW_H +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -60,4 +59,3 @@ void gtk_places_view_row_set_space_size_group (GtkPlacesViewR G_END_DECLS -#endif /* GTK_PLACES_VIEW_ROW_H */ diff --git a/gtk/gtkpointerfocusprivate.h b/gtk/gtkpointerfocusprivate.h index 7cd192902a..6cf7ca2e36 100644 --- a/gtk/gtkpointerfocusprivate.h +++ b/gtk/gtkpointerfocusprivate.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef _GTK_POINTER_FOCUS_PRIVATE_H_ -#define _GTK_POINTER_FOCUS_PRIVATE_H_ +#pragma once #include @@ -57,4 +56,3 @@ GtkWidget * gtk_pointer_focus_get_effective_target (GtkPointerFocus *focus void gtk_pointer_focus_repick_target (GtkPointerFocus *focus); -#endif /* _GTK_POINTER_FOCUS_PRIVATE_H_ */ diff --git a/gtk/gtkpopover.h b/gtk/gtkpopover.h index fbfa154135..9bda7c967a 100644 --- a/gtk/gtkpopover.h +++ b/gtk/gtkpopover.h @@ -18,8 +18,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_POPOVER_H__ -#define __GTK_POPOVER_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -128,4 +127,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkPopover, g_object_unref) G_END_DECLS -#endif /* __GTK_POPOVER_H__ */ diff --git a/gtk/gtkpopovercontentprivate.h b/gtk/gtkpopovercontentprivate.h index 69fe9e387c..0e3c524f58 100644 --- a/gtk/gtkpopovercontentprivate.h +++ b/gtk/gtkpopovercontentprivate.h @@ -18,8 +18,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_POPOVER_CONTENT_H__ -#define __GTK_POPOVER_CONTENT_H__ +#pragma once #include "gtkwidget.h" #include "gtkenums.h" @@ -48,4 +47,3 @@ GType gtk_popover_content_get_type (void) G_GNUC_CONST; GtkWidget *gtk_popover_content_new (void); -#endif diff --git a/gtk/gtkpopovermenu.h b/gtk/gtkpopovermenu.h index badbb0e685..003d2da888 100644 --- a/gtk/gtkpopovermenu.h +++ b/gtk/gtkpopovermenu.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_POPOVER_MENU_H__ -#define __GTK_POPOVER_MENU_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -74,4 +73,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkPopoverMenu, g_object_unref) G_END_DECLS -#endif /* __GTK_POPOVER_MENU_H__ */ diff --git a/gtk/gtkpopovermenubar.h b/gtk/gtkpopovermenubar.h index 5cc5b332cc..b2eed2a60e 100644 --- a/gtk/gtkpopovermenubar.h +++ b/gtk/gtkpopovermenubar.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_POPOVER_MENU_BAR_H__ -#define __GTK_POPOVER_MENU_BAR_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) @@ -61,4 +60,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkPopoverMenuBar, g_object_unref) G_END_DECLS -#endif /* __GTK_POPOVER_MENU_BAR_H__ */ diff --git a/gtk/gtkpopovermenubarprivate.h b/gtk/gtkpopovermenubarprivate.h index a6462c8ac8..3cbe084c4a 100644 --- a/gtk/gtkpopovermenubarprivate.h +++ b/gtk/gtkpopovermenubarprivate.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_POPOVER_MENU_BAR_PRIVATE_H__ -#define __GTK_POPOVER_MENU_BAR_PRIVATE_H__ +#pragma once #include "gtkpopovermenubar.h" @@ -28,4 +27,3 @@ GList* gtk_popover_menu_bar_get_viewable_menu_bars (GtkWindow *window); G_END_DECLS -#endif /* __GTK_POPOVER_PRIVATE_H__ */ diff --git a/gtk/gtkpopovermenuprivate.h b/gtk/gtkpopovermenuprivate.h index 0a862e0c06..6d5fbc0b61 100644 --- a/gtk/gtkpopovermenuprivate.h +++ b/gtk/gtkpopovermenuprivate.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_POPOVER_MENU_PRIVATE_H__ -#define __GTK_POPOVER_MENU_PRIVATE_H__ +#pragma once #include "gtkpopovermenu.h" @@ -46,4 +45,3 @@ GtkWidget * gtk_popover_menu_get_stack (GtkPopoverMenu *menu); G_END_DECLS -#endif /* __GTK_POPOVER_MENU_PRIVATE_H__ */ diff --git a/gtk/gtkpopoverprivate.h b/gtk/gtkpopoverprivate.h index 879562332b..72c9a2abfe 100644 --- a/gtk/gtkpopoverprivate.h +++ b/gtk/gtkpopoverprivate.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_POPOVER_PRIVATE_H__ -#define __GTK_POPOVER_PRIVATE_H__ +#pragma once #include "gtkpopover.h" @@ -28,4 +27,3 @@ void gtk_popover_disable_auto_mnemonics (GtkPopover *popover); G_END_DECLS -#endif /* __GTK_POPOVER_PRIVATE_H__ */ diff --git a/gtk/gtkprint-win32.h b/gtk/gtkprint-win32.h index 64f4d3ecae..626e15de05 100644 --- a/gtk/gtkprint-win32.h +++ b/gtk/gtkprint-win32.h @@ -16,8 +16,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_PRINT_WIN32_H__ -#define __GTK_PRINT_WIN32_H__ +#pragma once #include "win32/gdkwin32.h" @@ -61,4 +60,3 @@ HGLOBAL gtk_print_win32_devnames_to_win32_from_printer_name (const char *printer G_END_DECLS -#endif /* __GTK_PRINT_WIN32_H__ */ diff --git a/gtk/gtkprintbackendprivate.h b/gtk/gtkprintbackendprivate.h index c31a693482..ef3be89fef 100644 --- a/gtk/gtkprintbackendprivate.h +++ b/gtk/gtkprintbackendprivate.h @@ -16,8 +16,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_PRINT_BACKEND_PRIVATE_H__ -#define __GTK_PRINT_BACKEND_PRIVATE_H__ +#pragma once /* This is a "semi-private" header; it is meant only for * alternate GtkPrintDialog backend modules; no stability guarantees @@ -232,4 +231,3 @@ void gtk_print_backends_init (void); G_END_DECLS -#endif /* __GTK_PRINT_BACKEND_PRIVATE_H__ */ diff --git a/gtk/gtkprintcontext.h b/gtk/gtkprintcontext.h index cd300deace..3c09c366c2 100644 --- a/gtk/gtkprintcontext.h +++ b/gtk/gtkprintcontext.h @@ -16,8 +16,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_PRINT_CONTEXT_H__ -#define __GTK_PRINT_CONTEXT_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) @@ -80,4 +79,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkPrintContext, g_object_unref) G_END_DECLS -#endif /* __GTK_PRINT_CONTEXT_H__ */ diff --git a/gtk/gtkprinter.h b/gtk/gtkprinter.h index bd63d8008d..390c51094f 100644 --- a/gtk/gtkprinter.h +++ b/gtk/gtkprinter.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_PRINTER_H__ -#define __GTK_PRINTER_H__ +#pragma once #if !defined (__GTK_UNIX_PRINT_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -163,4 +162,3 @@ void gtk_enumerate_printers (GtkPrinterFunc func, G_END_DECLS -#endif /* __GTK_PRINTER_H__ */ diff --git a/gtk/gtkprinteroption.h b/gtk/gtkprinteroption.h index 8a1111e503..0578e30ebb 100644 --- a/gtk/gtkprinteroption.h +++ b/gtk/gtkprinteroption.h @@ -16,8 +16,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_PRINTER_OPTION_H__ -#define __GTK_PRINTER_OPTION_H__ +#pragma once /* This is a "semi-private" header; it is meant only for * alternate GtkPrintDialog backend modules; no stability guarantees @@ -126,6 +125,5 @@ gboolean gtk_printer_option_get_activates_default (GtkPrinterOption G_END_DECLS -#endif /* __GTK_PRINTER_OPTION_H__ */ diff --git a/gtk/gtkprinteroptionset.h b/gtk/gtkprinteroptionset.h index a99eb82eb8..6b00206aa3 100644 --- a/gtk/gtkprinteroptionset.h +++ b/gtk/gtkprinteroptionset.h @@ -16,8 +16,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_PRINTER_OPTION_SET_H__ -#define __GTK_PRINTER_OPTION_SET_H__ +#pragma once /* This is a "semi-private" header; it is meant only for * alternate GtkPrintDialog backend modules; no stability guarantees @@ -97,4 +96,3 @@ void gtk_printer_option_set_foreach_in_group (GtkPrinterOptionSe G_END_DECLS -#endif /* __GTK_PRINTER_OPTION_SET_H__ */ diff --git a/gtk/gtkprinteroptionwidget.h b/gtk/gtkprinteroptionwidget.h index bb39fd25cb..427eca506d 100644 --- a/gtk/gtkprinteroptionwidget.h +++ b/gtk/gtkprinteroptionwidget.h @@ -14,8 +14,7 @@ * You should have received a copy of the GNU Lesser General Public * License along with this library. If not, see . */ -#ifndef __GTK_PRINTER_OPTION_WIDGET_H__ -#define __GTK_PRINTER_OPTION_WIDGET_H__ +#pragma once #include "gtkprinteroption.h" #include "gtkbox.h" @@ -71,4 +70,3 @@ const char *gtk_printer_option_widget_get_value (GtkPrinterOptionWidget G_END_DECLS -#endif /* __GTK_PRINTER_OPTION_WIDGET_H__ */ diff --git a/gtk/gtkprinterprivate.h b/gtk/gtkprinterprivate.h index a3a11b4acc..91c49b5b4d 100644 --- a/gtk/gtkprinterprivate.h +++ b/gtk/gtkprinterprivate.h @@ -16,8 +16,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_PRINTER_PRIVATE_H__ -#define __GTK_PRINTER_PRIVATE_H__ +#pragma once #include #include @@ -71,4 +70,3 @@ void gtk_print_job_set_status (GtkPrintJob *job, GtkPrintStatus status); G_END_DECLS -#endif /* __GTK_PRINT_OPERATION_PRIVATE_H__ */ diff --git a/gtk/gtkprintjob.h b/gtk/gtkprintjob.h index ea9be52ac2..8e8b15c8bf 100644 --- a/gtk/gtkprintjob.h +++ b/gtk/gtkprintjob.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_PRINT_JOB_H__ -#define __GTK_PRINT_JOB_H__ +#pragma once #if !defined (__GTK_UNIX_PRINT_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -143,4 +142,3 @@ void gtk_print_job_set_reverse (GtkPrintJob *job, G_END_DECLS -#endif /* __GTK_PRINT_JOB_H__ */ diff --git a/gtk/gtkprintoperation-portal.h b/gtk/gtkprintoperation-portal.h index cc81b1242f..ee84b28f69 100644 --- a/gtk/gtkprintoperation-portal.h +++ b/gtk/gtkprintoperation-portal.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_PRINT_OPERATION_PORTAL_H__ -#define __GTK_PRINT_OPERATION_PORTAL_H__ +#pragma once #include "gtkprintoperation.h" @@ -37,4 +36,3 @@ void gtk_print_operation_portal_launch_preview (GtkPr G_END_DECLS -#endif /* __GTK_PRINT_OPERATION_PORTAL_H__ */ diff --git a/gtk/gtkprintoperation-private.h b/gtk/gtkprintoperation-private.h index 0ac7d19e18..46833a63c5 100644 --- a/gtk/gtkprintoperation-private.h +++ b/gtk/gtkprintoperation-private.h @@ -16,8 +16,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_PRINT_OPERATION_PRIVATE_H__ -#define __GTK_PRINT_OPERATION_PRIVATE_H__ +#pragma once #include "gtkprintoperation.h" @@ -147,4 +146,3 @@ void _gtk_print_context_set_hard_margins (GtkPrintCon G_END_DECLS -#endif /* __GTK_PRINT_OPERATION_PRIVATE_H__ */ diff --git a/gtk/gtkprintoperation.h b/gtk/gtkprintoperation.h index c10bb85a91..2b6bb7075a 100644 --- a/gtk/gtkprintoperation.h +++ b/gtk/gtkprintoperation.h @@ -16,8 +16,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_PRINT_OPERATION_H__ -#define __GTK_PRINT_OPERATION_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) @@ -335,4 +334,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkPrintOperation, g_object_unref) G_END_DECLS -#endif /* __GTK_PRINT_OPERATION_H__ */ diff --git a/gtk/gtkprintoperationpreview.h b/gtk/gtkprintoperationpreview.h index 85a4b6e0ab..32ac15c447 100644 --- a/gtk/gtkprintoperationpreview.h +++ b/gtk/gtkprintoperationpreview.h @@ -16,8 +16,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_PRINT_OPERATION_PREVIEW_H__ -#define __GTK_PRINT_OPERATION_PREVIEW_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -82,4 +81,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkPrintOperationPreview, g_object_unref) G_END_DECLS -#endif /* __GTK_PRINT_OPERATION_PREVIEW_H__ */ diff --git a/gtk/gtkprintsettings.h b/gtk/gtkprintsettings.h index 3471af40f6..507fae60fa 100644 --- a/gtk/gtkprintsettings.h +++ b/gtk/gtkprintsettings.h @@ -16,8 +16,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_PRINT_SETTINGS_H__ -#define __GTK_PRINT_SETTINGS_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -352,4 +351,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkPrintSettings, g_object_unref) G_END_DECLS -#endif /* __GTK_PRINT_SETTINGS_H__ */ diff --git a/gtk/gtkprintunixdialog.h b/gtk/gtkprintunixdialog.h index fa0b231833..b5549021d3 100644 --- a/gtk/gtkprintunixdialog.h +++ b/gtk/gtkprintunixdialog.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_PRINT_UNIX_DIALOG_H__ -#define __GTK_PRINT_UNIX_DIALOG_H__ +#pragma once #if !defined (__GTK_UNIX_PRINT_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -88,4 +87,3 @@ gboolean gtk_print_unix_dialog_get_page_setup_set (GtkPrintUnix G_END_DECLS -#endif /* __GTK_PRINT_UNIX_DIALOG_H__ */ diff --git a/gtk/gtkprintutils.h b/gtk/gtkprintutils.h index 7b4596a568..9e63e91f8f 100644 --- a/gtk/gtkprintutils.h +++ b/gtk/gtkprintutils.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_PRINT_UTILS_H__ -#define __GTK_PRINT_UTILS_H__ +#pragma once #include #include "gtkenums.h" @@ -32,4 +31,3 @@ double _gtk_print_convert_from_mm (double len, GtkUnit unit); G_END_DECLS -#endif /* __GTK_PRINT_UTILS_H__ */ diff --git a/gtk/gtkprivate.h b/gtk/gtkprivate.h index c4f34af689..aec5fa6ef7 100644 --- a/gtk/gtkprivate.h +++ b/gtk/gtkprivate.h @@ -22,8 +22,7 @@ * GTK+ at ftp://ftp.gtk.org/pub/gtk/. */ -#ifndef __GTK_PRIVATE_H__ -#define __GTK_PRIVATE_H__ +#pragma once #include #include @@ -176,4 +175,3 @@ void gtk_synthesize_crossing_events (GtkRoot *toplevel, G_END_DECLS -#endif /* __GTK_PRIVATE_H__ */ diff --git a/gtk/gtkprogressbar.h b/gtk/gtkprogressbar.h index 7ec83e73e3..b730ab2c8c 100644 --- a/gtk/gtkprogressbar.h +++ b/gtk/gtkprogressbar.h @@ -22,8 +22,7 @@ * GTK+ at ftp://ftp.gtk.org/pub/gtk/. */ -#ifndef __GTK_PROGRESS_BAR_H__ -#define __GTK_PROGRESS_BAR_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -87,4 +86,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkProgressBar, g_object_unref) G_END_DECLS -#endif /* __GTK_PROGRESS_BAR_H__ */ diff --git a/gtk/gtkprogresstrackerprivate.h b/gtk/gtkprogresstrackerprivate.h index fb635cccf9..71251f975b 100644 --- a/gtk/gtkprogresstrackerprivate.h +++ b/gtk/gtkprogresstrackerprivate.h @@ -17,8 +17,7 @@ * Authors: Matthew Watson */ -#ifndef __GTK_PROGRESS_TRACKER_PRIVATE_H__ -#define __GTK_PROGRESS_TRACKER_PRIVATE_H__ +#pragma once #include #include "gtkcsseasevalueprivate.h" @@ -72,4 +71,3 @@ double gtk_progress_tracker_get_ease_out_cubic (GtkProgressTracke G_END_DECLS -#endif /* __GTK_PROGRESS_TRACKER_PRIVATE_H__ */ diff --git a/gtk/gtkpropertylookuplistmodelprivate.h b/gtk/gtkpropertylookuplistmodelprivate.h index fae9e239b2..7c34c98f1e 100644 --- a/gtk/gtkpropertylookuplistmodelprivate.h +++ b/gtk/gtkpropertylookuplistmodelprivate.h @@ -18,8 +18,7 @@ */ -#ifndef __GTK_PROPERTY_LOOKUP_LIST_MODEL_H__ -#define __GTK_PROPERTY_LOOKUP_LIST_MODEL_H__ +#pragma once #include @@ -47,4 +46,3 @@ gpointer gtk_property_lookup_list_model_get_object G_END_DECLS -#endif /* __GTK_PROPERTY_LOOKUP_LIST_MODEL_H__ */ diff --git a/gtk/gtkquartz.h b/gtk/gtkquartz.h index 720ac5e312..45b2c67054 100644 --- a/gtk/gtkquartz.h +++ b/gtk/gtkquartz.h @@ -16,8 +16,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_QUARTZ_H__ -#define __GTK_QUARTZ_H__ +#pragma once #import @@ -35,4 +34,3 @@ const char *_gtk_get_data_prefix (void); G_END_DECLS -#endif /* __GTK_QUARTZ_H__ */ diff --git a/gtk/gtkquery.h b/gtk/gtkquery.h index 9bff68a476..e9ac0ef771 100644 --- a/gtk/gtkquery.h +++ b/gtk/gtkquery.h @@ -19,8 +19,7 @@ * Based on nautilus-query.h */ -#ifndef __GTK_QUERY_H__ -#define __GTK_QUERY_H__ +#pragma once #include @@ -64,4 +63,3 @@ gboolean gtk_query_matches_string (GtkQuery *query, G_END_DECLS -#endif /* __GTK_QUERY_H__ */ diff --git a/gtk/gtkrange.h b/gtk/gtkrange.h index 71c44b33b1..ca368ec55d 100644 --- a/gtk/gtkrange.h +++ b/gtk/gtkrange.h @@ -22,8 +22,7 @@ * GTK+ at ftp://ftp.gtk.org/pub/gtk/. */ -#ifndef __GTK_RANGE_H__ -#define __GTK_RANGE_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) @@ -152,4 +151,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkRange, g_object_unref) G_END_DECLS -#endif /* __GTK_RANGE_H__ */ diff --git a/gtk/gtkrangeprivate.h b/gtk/gtkrangeprivate.h index c96fc3a43b..235b24e21d 100644 --- a/gtk/gtkrangeprivate.h +++ b/gtk/gtkrangeprivate.h @@ -22,8 +22,7 @@ * GTK+ at ftp://ftp.gtk.org/pub/gtk/. */ -#ifndef __GTK_RANGE_PRIVATE_H__ -#define __GTK_RANGE_PRIVATE_H__ +#pragma once #include @@ -51,4 +50,3 @@ void gtk_range_stop_autoscroll (GtkRange *range G_END_DECLS -#endif /* __GTK_RANGE_PRIVATE_H__ */ diff --git a/gtk/gtkrbtreeprivate.h b/gtk/gtkrbtreeprivate.h index 45aba5cc2d..d993756338 100644 --- a/gtk/gtkrbtreeprivate.h +++ b/gtk/gtkrbtreeprivate.h @@ -17,8 +17,7 @@ /* A Red-Black Tree implementation used specifically by GtkTreeView. */ -#ifndef __GTK_RB_TREE_H__ -#define __GTK_RB_TREE_H__ +#pragma once #include @@ -72,4 +71,3 @@ void gtk_rb_tree_remove_all (GtkRbTree G_END_DECLS -#endif /* __GTK_RB_TREE_H__ */ diff --git a/gtk/gtkrecentmanager.h b/gtk/gtkrecentmanager.h index b1107239a8..1142a148e6 100644 --- a/gtk/gtkrecentmanager.h +++ b/gtk/gtkrecentmanager.h @@ -17,8 +17,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_RECENT_MANAGER_H__ -#define __GTK_RECENT_MANAGER_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -256,4 +255,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkRecentInfo, gtk_recent_info_unref) G_END_DECLS -#endif /* __GTK_RECENT_MANAGER_H__ */ diff --git a/gtk/gtkrenderbackgroundprivate.h b/gtk/gtkrenderbackgroundprivate.h index 43aaf17580..7da6c10466 100644 --- a/gtk/gtkrenderbackgroundprivate.h +++ b/gtk/gtkrenderbackgroundprivate.h @@ -17,8 +17,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_RENDER_BACKGROUND_PRIVATE_H__ -#define __GTK_RENDER_BACKGROUND_PRIVATE_H__ +#pragma once #include #include @@ -36,4 +35,3 @@ void gtk_css_style_snapshot_background (GtkCssBoxes G_END_DECLS -#endif /* __GTK_RENDER_BACKGROUND_PRIVATE_H__ */ diff --git a/gtk/gtkrenderborderprivate.h b/gtk/gtkrenderborderprivate.h index ded54fbd71..41a4452868 100644 --- a/gtk/gtkrenderborderprivate.h +++ b/gtk/gtkrenderborderprivate.h @@ -19,8 +19,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_RENDER_BORDER_H__ -#define __GTK_RENDER_BORDER_H__ +#pragma once #include "gtkborder.h" #include "gtkcssboxesprivate.h" @@ -36,4 +35,3 @@ void gtk_css_style_snapshot_outline (GtkCssBoxes G_END_DECLS -#endif /* __GTK_RENDER_BORDER_H__ */ diff --git a/gtk/gtkrendericonprivate.h b/gtk/gtkrendericonprivate.h index 3b1055970a..41f33699e1 100644 --- a/gtk/gtkrendericonprivate.h +++ b/gtk/gtkrendericonprivate.h @@ -17,8 +17,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_RENDER_ICON_PRIVATE_H__ -#define __GTK_RENDER_ICON_PRIVATE_H__ +#pragma once #include #include @@ -49,4 +48,3 @@ void gtk_css_style_render_icon_get_extents (GtkCssStyle *style, G_END_DECLS -#endif /* __GTK_RENDER_ICON_PRIVATE_H__ */ diff --git a/gtk/gtkrenderlayoutprivate.h b/gtk/gtkrenderlayoutprivate.h index e14b5c0b78..03de178538 100644 --- a/gtk/gtkrenderlayoutprivate.h +++ b/gtk/gtkrenderlayoutprivate.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_RENDER_LAYOUT_PRIVATE_H__ -#define __GTK_RENDER_LAYOUT_PRIVATE_H__ +#pragma once #include #include @@ -45,4 +44,3 @@ void gtk_css_style_snapshot_caret (GtkCssBoxes *boxes, G_END_DECLS -#endif /* __GTK_RENDER_LAYOUT_PRIVATE_H__ */ diff --git a/gtk/gtkrendernodepaintableprivate.h b/gtk/gtkrendernodepaintableprivate.h index 7a2777338b..f272451b71 100644 --- a/gtk/gtkrendernodepaintableprivate.h +++ b/gtk/gtkrendernodepaintableprivate.h @@ -17,8 +17,7 @@ * Authors: Benjamin Otte */ -#ifndef __GTK_RENDER_NODE_PAINTABLE_H__ -#define __GTK_RENDER_NODE_PAINTABLE_H__ +#pragma once #include @@ -35,4 +34,3 @@ GskRenderNode * gtk_render_node_paintable_get_render_node (GtkRenderNodePa G_END_DECLS -#endif /* __GTK_RENDER_NODE_PAINTABLE_H__ */ diff --git a/gtk/gtkrevealer.h b/gtk/gtkrevealer.h index fece00446c..1e78c2246b 100644 --- a/gtk/gtkrevealer.h +++ b/gtk/gtkrevealer.h @@ -19,8 +19,7 @@ * */ -#ifndef __GTK_REVEALER_H__ -#define __GTK_REVEALER_H__ +#pragma once #include @@ -78,4 +77,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkRevealer, g_object_unref) G_END_DECLS -#endif /* __GTK_REVEALER_H__ */ diff --git a/gtk/gtkroot.h b/gtk/gtkroot.h index 08b3888d3c..39caaf03e9 100644 --- a/gtk/gtkroot.h +++ b/gtk/gtkroot.h @@ -17,8 +17,7 @@ * Authors: Benjamin Otte */ -#ifndef __GTK_ROOT_H__ -#define __GTK_ROOT_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -45,4 +44,3 @@ GtkWidget * gtk_root_get_focus (GtkRoot *self); G_END_DECLS -#endif /* __GTK_ROOT_H__ */ diff --git a/gtk/gtkrootprivate.h b/gtk/gtkrootprivate.h index b7aa076880..d0fbafbc5f 100644 --- a/gtk/gtkrootprivate.h +++ b/gtk/gtkrootprivate.h @@ -1,5 +1,4 @@ -#ifndef __GTK_ROOT_PRIVATE_H__ -#define __GTK_ROOT_PRIVATE_H__ +#pragma once #include "gtkroot.h" @@ -36,4 +35,3 @@ void gtk_root_queue_restyle (GtkRoot *self); G_END_DECLS -#endif /* __GTK_ROOT_PRIVATE_H__ */ diff --git a/gtk/gtkroundedboxprivate.h b/gtk/gtkroundedboxprivate.h index 208d30c302..86e1df9a58 100644 --- a/gtk/gtkroundedboxprivate.h +++ b/gtk/gtkroundedboxprivate.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_ROUNDED_BOX_PRIVATE_H__ -#define __GTK_ROUNDED_BOX_PRIVATE_H__ +#pragma once #include #include @@ -49,4 +48,3 @@ void _gtk_rounded_box_path_left (const GskRounde G_END_DECLS -#endif /* __GTK_ROUNDED_BOX_PRIVATE_H__ */ diff --git a/gtk/gtkscale.h b/gtk/gtkscale.h index 7b9b6a00ff..48fdf3d905 100644 --- a/gtk/gtkscale.h +++ b/gtk/gtkscale.h @@ -22,8 +22,7 @@ * GTK+ at ftp://ftp.gtk.org/pub/gtk/. */ -#ifndef __GTK_SCALE_H__ -#define __GTK_SCALE_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) @@ -135,4 +134,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkScale, g_object_unref) G_END_DECLS -#endif /* __GTK_SCALE_H__ */ diff --git a/gtk/gtkscalebutton.h b/gtk/gtkscalebutton.h index c2132a9c04..7923a71acd 100644 --- a/gtk/gtkscalebutton.h +++ b/gtk/gtkscalebutton.h @@ -31,8 +31,7 @@ * GTK+ at ftp://ftp.gtk.org/pub/gtk/. */ -#ifndef __GTK_SCALE_BUTTON_H__ -#define __GTK_SCALE_BUTTON_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -103,4 +102,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkScaleButton, g_object_unref) G_END_DECLS -#endif /* __GTK_SCALE_BUTTON_H__ */ diff --git a/gtk/gtkscalerprivate.h b/gtk/gtkscalerprivate.h index b48bc10cd9..5f5fd5ffaa 100644 --- a/gtk/gtkscalerprivate.h +++ b/gtk/gtkscalerprivate.h @@ -17,8 +17,7 @@ * Authors: Benjamin Otte */ -#ifndef __GTK_SCALER_H__ -#define __GTK_SCALER_H__ +#pragma once #include @@ -33,4 +32,3 @@ GdkPaintable * gtk_scaler_new (GdkPaintable *paintable, G_END_DECLS -#endif /* __GTK_SCALER_H__ */ diff --git a/gtk/gtkscrollable.h b/gtk/gtkscrollable.h index ae04e4c9a9..507adb9baf 100644 --- a/gtk/gtkscrollable.h +++ b/gtk/gtkscrollable.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_SCROLLABLE_H__ -#define __GTK_SCROLLABLE_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -77,4 +76,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkScrollable, g_object_unref) G_END_DECLS -#endif /* __GTK_SCROLLABLE_H__ */ diff --git a/gtk/gtkscrollbar.h b/gtk/gtkscrollbar.h index d4cdfbdf79..6452509aab 100644 --- a/gtk/gtkscrollbar.h +++ b/gtk/gtkscrollbar.h @@ -22,8 +22,7 @@ * GTK+ at ftp://ftp.gtk.org/pub/gtk/. */ -#ifndef __GTK_SCROLLBAR_H__ -#define __GTK_SCROLLBAR_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) @@ -58,4 +57,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkScrollbar, g_object_unref) G_END_DECLS -#endif /* __GTK_SCROLLBAR_H__ */ diff --git a/gtk/gtkscrolledwindow.h b/gtk/gtkscrolledwindow.h index 6e5517027c..4d9f510ad4 100644 --- a/gtk/gtkscrolledwindow.h +++ b/gtk/gtkscrolledwindow.h @@ -22,8 +22,7 @@ * GTK+ at ftp://ftp.gtk.org/pub/gtk/. */ -#ifndef __GTK_SCROLLED_WINDOW_H__ -#define __GTK_SCROLLED_WINDOW_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -187,4 +186,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkScrolledWindow, g_object_unref) G_END_DECLS -#endif /* __GTK_SCROLLED_WINDOW_H__ */ diff --git a/gtk/gtksearchbar.h b/gtk/gtksearchbar.h index 683922726a..f0110e6ac7 100644 --- a/gtk/gtksearchbar.h +++ b/gtk/gtksearchbar.h @@ -25,8 +25,7 @@ * GTK+ at ftp://ftp.gtk.org/pub/gtk/. */ -#ifndef __GTK_SEARCH_BAR_H__ -#define __GTK_SEARCH_BAR_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -81,4 +80,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkSearchBar, g_object_unref) G_END_DECLS -#endif /* __GTK_SEARCH_BAR_H__ */ diff --git a/gtk/gtksearchenginemodelprivate.h b/gtk/gtksearchenginemodelprivate.h index 4799dd508b..5aa61560cf 100644 --- a/gtk/gtksearchenginemodelprivate.h +++ b/gtk/gtksearchenginemodelprivate.h @@ -17,8 +17,7 @@ * Author: Matthias Clasen */ -#ifndef __GTK_SEARCH_ENGINE_MODEL_H__ -#define __GTK_SEARCH_ENGINE_MODEL_H__ +#pragma once #include "gtksearchengineprivate.h" #include "gtkfilesystemmodelprivate.h" @@ -41,4 +40,3 @@ GtkSearchEngine *_gtk_search_engine_model_new (GtkFileSystemModel *model); G_END_DECLS -#endif /* __GTK_SEARCH_ENGINE_MODEL_H__ */ diff --git a/gtk/gtksearchengineprivate.h b/gtk/gtksearchengineprivate.h index f0d3da49b0..52eb7aec56 100644 --- a/gtk/gtksearchengineprivate.h +++ b/gtk/gtksearchengineprivate.h @@ -19,8 +19,7 @@ * Based on nautilus-search-engine.h */ -#ifndef __GTK_SEARCH_ENGINE_H__ -#define __GTK_SEARCH_ENGINE_H__ +#pragma once #include "gtkquery.h" #include "gtkfilesystemmodelprivate.h" @@ -97,4 +96,3 @@ void _gtk_search_engine_set_model (GtkSearchEngine *engine, G_END_DECLS -#endif /* __GTK_SEARCH_ENGINE_H__ */ diff --git a/gtk/gtksearchenginequartzprivate.h b/gtk/gtksearchenginequartzprivate.h index c74b5795f0..d8bc81bc31 100644 --- a/gtk/gtksearchenginequartzprivate.h +++ b/gtk/gtksearchenginequartzprivate.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_SEARCH_ENGINE_QUARTZ_H__ -#define __GTK_SEARCH_ENGINE_QUARTZ_H__ +#pragma once #include "gtksearchengineprivate.h" @@ -50,4 +49,3 @@ GtkSearchEngine *_gtk_search_engine_quartz_new (void); G_END_DECLS -#endif /* __GTK_SEARCH_ENGINE_QUARTZ_H__ */ diff --git a/gtk/gtksearchenginetracker3private.h b/gtk/gtksearchenginetracker3private.h index b38e6e3121..050676015f 100644 --- a/gtk/gtksearchenginetracker3private.h +++ b/gtk/gtksearchenginetracker3private.h @@ -21,8 +21,7 @@ * Based on nautilus-search-engine-tracker.h */ -#ifndef __GTK_SEARCH_ENGINE_TRACKER3_H__ -#define __GTK_SEARCH_ENGINE_TRACKER3_H__ +#pragma once #include "gtksearchengineprivate.h" @@ -38,4 +37,3 @@ GtkSearchEngine * gtk_search_engine_tracker3_new (void); G_END_DECLS -#endif /* __GTK_SEARCH_ENGINE_TRACKER3_H__ */ diff --git a/gtk/gtksearchentry.h b/gtk/gtksearchentry.h index b6b5a0fa4f..0a80c3b79c 100644 --- a/gtk/gtksearchentry.h +++ b/gtk/gtksearchentry.h @@ -25,8 +25,7 @@ * GTK+ at ftp://ftp.gtk.org/pub/gtk/. */ -#ifndef __GTK_SEARCH_ENTRY_H__ -#define __GTK_SEARCH_ENTRY_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -70,4 +69,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkSearchEntry, g_object_unref) G_END_DECLS -#endif /* __GTK_SEARCH_ENTRY_H__ */ diff --git a/gtk/gtksearchentryprivate.h b/gtk/gtksearchentryprivate.h index 957b34cd07..2ee7f8dc62 100644 --- a/gtk/gtksearchentryprivate.h +++ b/gtk/gtksearchentryprivate.h @@ -22,8 +22,7 @@ * GTK+ at ftp://ftp.gtk.org/pub/gtk/. */ -#ifndef __GTK_SEARCH_ENTRY_PRIVATE_H__ -#define __GTK_SEARCH_ENTRY_PRIVATE_H__ +#pragma once #include #include @@ -38,4 +37,3 @@ GtkEventController * gtk_search_entry_get_key_controller (GtkSearchEntry *entry) G_END_DECLS -#endif /* __GTK_SEARCH_ENTRY_PRIVATE_H__ */ diff --git a/gtk/gtkselectionfiltermodel.h b/gtk/gtkselectionfiltermodel.h index b75e2acdbf..d042b71177 100644 --- a/gtk/gtkselectionfiltermodel.h +++ b/gtk/gtkselectionfiltermodel.h @@ -17,8 +17,7 @@ * Authors: Matthias Clasen */ -#ifndef __GTK_SELECTION_FILTER_MODEL_H__ -#define __GTK_SELECTION_FILTER_MODEL_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) @@ -46,4 +45,3 @@ GtkSelectionModel * gtk_selection_filter_model_get_model (GtkSelectionF G_END_DECLS -#endif /* __GTK_SELECTION_FILTER_MODEL_H__ */ diff --git a/gtk/gtkselectionmodel.h b/gtk/gtkselectionmodel.h index a956d32a08..9c651659f2 100644 --- a/gtk/gtkselectionmodel.h +++ b/gtk/gtkselectionmodel.h @@ -17,8 +17,7 @@ * Authors: Benjamin Otte */ -#ifndef __GTK_SELECTION_MODEL_H__ -#define __GTK_SELECTION_MODEL_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -144,4 +143,3 @@ void gtk_selection_model_selection_changed (GtkSelectionMod G_END_DECLS -#endif /* __GTK_SELECTION_MODEL_H__ */ diff --git a/gtk/gtkseparator.h b/gtk/gtkseparator.h index 8b41481085..cd5e52b729 100644 --- a/gtk/gtkseparator.h +++ b/gtk/gtkseparator.h @@ -22,8 +22,7 @@ * GTK+ at ftp://ftp.gtk.org/pub/gtk/. */ -#ifndef __GTK_SEPARATOR_H__ -#define __GTK_SEPARATOR_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) @@ -50,4 +49,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkSeparator, g_object_unref) G_END_DECLS -#endif /* __GTK_SEPARATOR_H__ */ diff --git a/gtk/gtksettings.h b/gtk/gtksettings.h index 3e983dbb50..cf2178b45d 100644 --- a/gtk/gtksettings.h +++ b/gtk/gtksettings.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_SETTINGS_H__ -#define __GTK_SETTINGS_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -49,4 +48,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkSettings, g_object_unref) G_END_DECLS -#endif /* __GTK_SETTINGS_H__ */ diff --git a/gtk/gtksettingsprivate.h b/gtk/gtksettingsprivate.h index 21af69d3dc..191ff08dfc 100644 --- a/gtk/gtksettingsprivate.h +++ b/gtk/gtksettingsprivate.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_SETTINGS_PRIVATE_H__ -#define __GTK_SETTINGS_PRIVATE_H__ +#pragma once #include #include "gtkstylecascadeprivate.h" @@ -51,4 +50,3 @@ gboolean gtk_settings_get_font_size_is_absolute (GtkSettings *settings); G_END_DECLS -#endif /* __GTK_SETTINGS_PRIVATE_H__ */ diff --git a/gtk/gtkshortcut.h b/gtk/gtkshortcut.h index 91c019393d..2201e4a4e5 100644 --- a/gtk/gtkshortcut.h +++ b/gtk/gtkshortcut.h @@ -17,8 +17,7 @@ * Authors: Benjamin Otte */ -#ifndef __GTK_SHORTCUT_H__ -#define __GTK_SHORTCUT_H__ +#pragma once #include @@ -59,4 +58,3 @@ void gtk_shortcut_set_arguments (GtkShortcut G_END_DECLS -#endif /* __GTK_SHORTCUT_H__ */ diff --git a/gtk/gtkshortcutaction.h b/gtk/gtkshortcutaction.h index 5e5798878a..92de06d279 100644 --- a/gtk/gtkshortcutaction.h +++ b/gtk/gtkshortcutaction.h @@ -17,8 +17,7 @@ * Authors: Benjamin Otte */ -#ifndef __GTK_SHORTCUT_ACTION_H__ -#define __GTK_SHORTCUT_ACTION_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -164,4 +163,3 @@ const char * gtk_named_action_get_action_name (GtkNamedAction G_END_DECLS -#endif /* __GTK_SHORTCUT_ACTION_H__ */ diff --git a/gtk/gtkshortcutactionprivate.h b/gtk/gtkshortcutactionprivate.h index 4c5a0db3ef..13b526ea01 100644 --- a/gtk/gtkshortcutactionprivate.h +++ b/gtk/gtkshortcutactionprivate.h @@ -17,8 +17,7 @@ * Authors: Benjamin Otte */ -#ifndef __GTK_SHORTCUT_ACTION_PRIVATE_H__ -#define __GTK_SHORTCUT_ACTION_PRIVATE_H__ +#pragma once #include "gtkshortcutaction.h" @@ -26,4 +25,3 @@ GtkShortcutAction * gtk_shortcut_action_parse_builder (GtkBuilder const char *string, GError **error); -#endif /* __GTK_SHORTCUT_ACTION_PRIVATE_H__ */ diff --git a/gtk/gtkshortcutcontroller.h b/gtk/gtkshortcutcontroller.h index da9d89786c..121d51348f 100644 --- a/gtk/gtkshortcutcontroller.h +++ b/gtk/gtkshortcutcontroller.h @@ -18,8 +18,7 @@ */ -#ifndef __GTK_SHORTCUT_CONTROLLER_H__ -#define __GTK_SHORTCUT_CONTROLLER_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -67,4 +66,3 @@ void gtk_shortcut_controller_remove_shortcut (GtkShor G_END_DECLS -#endif /* __GTK_SHORTCUT_CONTROLLER_H__ */ diff --git a/gtk/gtkshortcutcontrollerprivate.h b/gtk/gtkshortcutcontrollerprivate.h index af622910d7..e2706bb7ad 100644 --- a/gtk/gtkshortcutcontrollerprivate.h +++ b/gtk/gtkshortcutcontrollerprivate.h @@ -17,8 +17,7 @@ * Authors: Benjamin Otte */ -#ifndef __GTK_SHORTCUT_CONTROLLER_PRIVATE_H__ -#define __GTK_SHORTCUT_CONTROLLER_PRIVATE_H__ +#pragma once #include "gtkshortcutcontroller.h" @@ -27,4 +26,3 @@ void gtk_shortcut_controller_unroot (GtkShor void gtk_shortcut_controller_update_accels (GtkShortcutController *self); -#endif /* __GTK_SHORTCUT_CONTROLLER_H__ */ diff --git a/gtk/gtkshortcutlabel.h b/gtk/gtkshortcutlabel.h index d2abd1c7ee..714eb8eb91 100644 --- a/gtk/gtkshortcutlabel.h +++ b/gtk/gtkshortcutlabel.h @@ -16,8 +16,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_SHORTCUT_LABEL_H__ -#define __GTK_SHORTCUT_LABEL_H__ +#pragma once #include @@ -53,4 +52,3 @@ void gtk_shortcut_label_set_disabled_text (GtkShortcutLabel *self, G_END_DECLS -#endif /* __GTK_SHORTCUT_LABEL_H__ */ diff --git a/gtk/gtkshortcutmanager.h b/gtk/gtkshortcutmanager.h index 50359a51f1..17b5200f29 100644 --- a/gtk/gtkshortcutmanager.h +++ b/gtk/gtkshortcutmanager.h @@ -17,8 +17,7 @@ * Authors: Benjamin Otte */ -#ifndef __GTK_SHORTCUT_MANAGER_H__ -#define __GTK_SHORTCUT_MANAGER_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -61,4 +60,3 @@ struct _GtkShortcutManagerInterface G_END_DECLS -#endif /* __GTK_SHORTCUT_MANAGER_H__ */ diff --git a/gtk/gtkshortcutmanagerprivate.h b/gtk/gtkshortcutmanagerprivate.h index 26bc220de8..a7f2a93c85 100644 --- a/gtk/gtkshortcutmanagerprivate.h +++ b/gtk/gtkshortcutmanagerprivate.h @@ -1,5 +1,4 @@ -#ifndef __GTK_SHORTCUT_MANAGER_PRIVATE_H__ -#define __GTK_SHORTCUT_MANAGER_PRIVATE_H__ +#pragma once #include "gtkshortcutmanager.h" @@ -9,4 +8,3 @@ void gtk_shortcut_manager_create_controllers (GtkWidget *widget); G_END_DECLS -#endif /* __GTK_SHORTCUT_MANAGER_PRIVATE_H__ */ diff --git a/gtk/gtkshortcutsgroup.h b/gtk/gtkshortcutsgroup.h index 5342634533..fc7003f3c5 100644 --- a/gtk/gtkshortcutsgroup.h +++ b/gtk/gtkshortcutsgroup.h @@ -16,8 +16,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_SHORTCUTS_GROUP_H__ -#define __GTK_SHORTCUTS_GROUP_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -40,4 +39,3 @@ GType gtk_shortcuts_group_get_type (void) G_GNUC_CONST; G_END_DECLS -#endif /* __GTK_SHORTCUTS_GROUP_H__ */ diff --git a/gtk/gtkshortcutssection.h b/gtk/gtkshortcutssection.h index 3f20123435..b312446c35 100644 --- a/gtk/gtkshortcutssection.h +++ b/gtk/gtkshortcutssection.h @@ -16,8 +16,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_SHORTCUTS_SECTION_H__ -#define __GTK_SHORTCUTS_SECTION_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -40,4 +39,3 @@ GType gtk_shortcuts_section_get_type (void) G_GNUC_CONST; G_END_DECLS -#endif /* __GTK_SHORTCUTS_SECTION_H__ */ diff --git a/gtk/gtkshortcutsshortcut.h b/gtk/gtkshortcutsshortcut.h index 5846d2c287..11fe8994b4 100644 --- a/gtk/gtkshortcutsshortcut.h +++ b/gtk/gtkshortcutsshortcut.h @@ -16,8 +16,7 @@ * License along with this library. If not, see . */ -#ifndef GTK_SHORTCUTS_SHORTCUT_H -#define GTK_SHORTCUTS_SHORTCUT_H +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -82,4 +81,3 @@ GType gtk_shortcuts_shortcut_get_type (void) G_GNUC_CONST; G_END_DECLS -#endif /* GTK_SHORTCUTS_SHORTCUT_H */ diff --git a/gtk/gtkshortcutsshortcutprivate.h b/gtk/gtkshortcutsshortcutprivate.h index a20706aa6f..7dcd213662 100644 --- a/gtk/gtkshortcutsshortcutprivate.h +++ b/gtk/gtkshortcutsshortcutprivate.h @@ -22,8 +22,7 @@ * GTK+ at ftp://ftp.gtk.org/pub/gtk/. */ -#ifndef __GTK_SHORTCUTS_SHORTCUT_PRIVATE_H__ -#define __GTK_SHORTCUTS_SHORTCUT_PRIVATE_H__ +#pragma once #include "gtkshortcutsshortcut.h" @@ -36,4 +35,3 @@ void gtk_shortcuts_shortcut_update_accel (GtkShortcutsShortcut *self, G_END_DECLS -#endif /* __GTK_sHORTCUTS_SHORTCUT_PRIVATE_H__ */ diff --git a/gtk/gtkshortcutswindow.h b/gtk/gtkshortcutswindow.h index a178653d47..99a2f12253 100644 --- a/gtk/gtkshortcutswindow.h +++ b/gtk/gtkshortcutswindow.h @@ -16,8 +16,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_SHORTCUTS_WINDOW_H__ -#define __GTK_SHORTCUTS_WINDOW_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -41,4 +40,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkShortcutsWindow, g_object_unref) G_END_DECLS -#endif /* GTK_SHORTCUTS_WINDOW _H */ diff --git a/gtk/gtkshortcutswindowprivate.h b/gtk/gtkshortcutswindowprivate.h index b3a2e4ba64..1a4fc2f226 100644 --- a/gtk/gtkshortcutswindowprivate.h +++ b/gtk/gtkshortcutswindowprivate.h @@ -23,8 +23,7 @@ * GTK+ at ftp://ftp.gtk.org/pub/gtk/. */ -#ifndef __GTK_SHORTCUTS_WINDOW_PRIVATE_H__ -#define __GTK_SHORTCUTS_WINDOW_PRIVATE_H__ +#pragma once #include "gtkshortcutswindow.h" @@ -35,4 +34,3 @@ void gtk_shortcuts_window_set_window (GtkShortcutsWindow *self, G_END_DECLS -#endif /* __GTK_sHORTCUTS_WINDOW_PRIVATE_H__ */ diff --git a/gtk/gtkshortcuttrigger.h b/gtk/gtkshortcuttrigger.h index 7d42489d91..ebbb230a9f 100644 --- a/gtk/gtkshortcuttrigger.h +++ b/gtk/gtkshortcuttrigger.h @@ -17,8 +17,7 @@ * Authors: Benjamin Otte */ -#ifndef __GTK_SHORTCUT_TRIGGER_H__ -#define __GTK_SHORTCUT_TRIGGER_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -139,4 +138,3 @@ GtkShortcutTrigger * gtk_alternative_trigger_get_second (GtkAlternativeT G_END_DECLS -#endif /* __GTK_SHORTCUT_TRIGGER_H__ */ diff --git a/gtk/gtksidebarrowprivate.h b/gtk/gtksidebarrowprivate.h index bdec5cc01d..a08e2a6bc4 100644 --- a/gtk/gtksidebarrowprivate.h +++ b/gtk/gtksidebarrowprivate.h @@ -15,8 +15,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with this program. If not, see . */ -#ifndef GTK_SIDEBAR_ROW_PRIVATE_H -#define GTK_SIDEBAR_ROW_PRIVATE_H +#pragma once #include #include "gtklistbox.h" @@ -58,4 +57,3 @@ void gtk_sidebar_row_set_busy (GtkSidebarRow *row, G_END_DECLS -#endif /* GTK_SIDEBAR_ROW_PRIVATE_H */ diff --git a/gtk/gtksignallistitemfactory.h b/gtk/gtksignallistitemfactory.h index cf874fdd88..2f94ed2975 100644 --- a/gtk/gtksignallistitemfactory.h +++ b/gtk/gtksignallistitemfactory.h @@ -17,8 +17,7 @@ * Authors: Benjamin Otte */ -#ifndef __GTK_SIGNAL_LIST_ITEM_FACTORY_H__ -#define __GTK_SIGNAL_LIST_ITEM_FACTORY_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -48,4 +47,3 @@ GtkListItemFactory * gtk_signal_list_item_factory_new (void); G_END_DECLS -#endif /* __GTK_SIGNAL_LIST_ITEM_FACTORY_H__ */ diff --git a/gtk/gtksingleselection.h b/gtk/gtksingleselection.h index edfb1fe5c1..2ea344edec 100644 --- a/gtk/gtksingleselection.h +++ b/gtk/gtksingleselection.h @@ -17,8 +17,7 @@ * Authors: Benjamin Otte */ -#ifndef __GTK_SINGLE_SELECTION_H__ -#define __GTK_SINGLE_SELECTION_H__ +#pragma once #include @@ -57,4 +56,3 @@ void gtk_single_selection_set_can_unselect (GtkSingleSelect G_END_DECLS -#endif /* __GTK_SINGLE_SELECTION_H__ */ diff --git a/gtk/gtksizegroup-private.h b/gtk/gtksizegroup-private.h index c192c48753..348e032bd3 100644 --- a/gtk/gtksizegroup-private.h +++ b/gtk/gtksizegroup-private.h @@ -16,8 +16,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_SIZE_GROUP_PRIVATE_H__ -#define __GTK_SIZE_GROUP_PRIVATE_H__ +#pragma once #include @@ -28,4 +27,3 @@ GHashTable * _gtk_size_group_get_widget_peers (GtkWidget *for_widget, G_END_DECLS -#endif /* __GTK_SIZE_GROUP_PRIVATE_H__ */ diff --git a/gtk/gtksizegroup.h b/gtk/gtksizegroup.h index 9986ddadfd..9b8b0ae598 100644 --- a/gtk/gtksizegroup.h +++ b/gtk/gtksizegroup.h @@ -16,8 +16,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_SIZE_GROUP_H__ -#define __GTK_SIZE_GROUP_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -61,4 +60,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkSizeGroup, g_object_unref) G_END_DECLS -#endif /* __GTK_SIZE_GROUP_H__ */ diff --git a/gtk/gtksizerequest.h b/gtk/gtksizerequest.h index 915e85e377..108b61a85a 100644 --- a/gtk/gtksizerequest.h +++ b/gtk/gtksizerequest.h @@ -19,8 +19,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_SIZE_REQUEST_H__ -#define __GTK_SIZE_REQUEST_H__ +#pragma once #include @@ -55,4 +54,3 @@ int gtk_distribute_natural_allocation (int G_END_DECLS -#endif /* __GTK_SIZE_REQUEST_H__ */ diff --git a/gtk/gtksizerequestcacheprivate.h b/gtk/gtksizerequestcacheprivate.h index 8b3a3b7240..cc85dcd974 100644 --- a/gtk/gtksizerequestcacheprivate.h +++ b/gtk/gtksizerequestcacheprivate.h @@ -22,8 +22,7 @@ * GTK+ at ftp://ftp.gtk.org/pub/gtk/. */ -#ifndef __GTK_SIZE_REQUEST_CACHE_PRIVATE_H__ -#define __GTK_SIZE_REQUEST_CACHE_PRIVATE_H__ +#pragma once #include #include @@ -101,4 +100,3 @@ gboolean _gtk_size_request_cache_lookup (const SizeReque G_END_DECLS -#endif /* __GTK_SIZE_REQUEST_CACHE_PRIVATE_H__ */ diff --git a/gtk/gtkslicelistmodel.h b/gtk/gtkslicelistmodel.h index d1b0cd8edc..55d4762632 100644 --- a/gtk/gtkslicelistmodel.h +++ b/gtk/gtkslicelistmodel.h @@ -17,8 +17,7 @@ * Authors: Benjamin Otte */ -#ifndef __GTK_SLICE_LIST_MODEL_H__ -#define __GTK_SLICE_LIST_MODEL_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) @@ -59,4 +58,3 @@ guint gtk_slice_list_model_get_size (GtkSliceListMod G_END_DECLS -#endif /* __GTK_SLICE_LIST_MODEL_H__ */ diff --git a/gtk/gtksnapshot.h b/gtk/gtksnapshot.h index f24e7955ce..375feb6dc2 100644 --- a/gtk/gtksnapshot.h +++ b/gtk/gtksnapshot.h @@ -22,8 +22,7 @@ * GTK+ at ftp://ftp.gtk.org/pub/gtk/. */ -#ifndef __GTK_SNAPSHOT_H__ -#define __GTK_SNAPSHOT_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) @@ -236,4 +235,3 @@ void gtk_snapshot_append_layout (GtkSnapshot G_END_DECLS -#endif /* __GTK_SNAPSHOT_H__ */ diff --git a/gtk/gtksnapshotprivate.h b/gtk/gtksnapshotprivate.h index 99714c5a99..cf82265035 100644 --- a/gtk/gtksnapshotprivate.h +++ b/gtk/gtksnapshotprivate.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_SNAPSHOT_PRIVATE_H__ -#define __GTK_SNAPSHOT_PRIVATE_H__ +#pragma once #include "gtksnapshot.h" @@ -36,4 +35,3 @@ GskRenderNode * gtk_snapshot_pop_collect (GtkSnapshot G_END_DECLS -#endif /* __GTK_SNAPSHOT_PRIVATE_H__ */ diff --git a/gtk/gtksorter.h b/gtk/gtksorter.h index 668aa9507c..e9cd1e7e7e 100644 --- a/gtk/gtksorter.h +++ b/gtk/gtksorter.h @@ -17,8 +17,7 @@ * Authors: Matthias Clasen */ -#ifndef __GTK_SORTER_H__ -#define __GTK_SORTER_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -118,5 +117,4 @@ void gtk_sorter_changed (GtkSorter G_END_DECLS -#endif /* __GTK_SORTER_H__ */ diff --git a/gtk/gtksorterprivate.h b/gtk/gtksorterprivate.h index 2bbe2950d0..8df0a01a7a 100644 --- a/gtk/gtksorterprivate.h +++ b/gtk/gtksorterprivate.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_SORTER_PRIVATE_H__ -#define __GTK_SORTER_PRIVATE_H__ +#pragma once #include @@ -29,5 +28,4 @@ void gtk_sorter_changed_with_keys (GtkSorter GtkSortKeys *keys); -#endif /* __GTK_SORTER_PRIVATE_H__ */ diff --git a/gtk/gtksortkeysprivate.h b/gtk/gtksortkeysprivate.h index 78b8144692..f9669e4770 100644 --- a/gtk/gtksortkeysprivate.h +++ b/gtk/gtksortkeysprivate.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_SORT_KEYS_PRIVATE_H__ -#define __GTK_SORT_KEYS_PRIVATE_H__ +#pragma once #include #include @@ -93,5 +92,4 @@ gtk_sort_keys_clear_key (GtkSortKeys *self, self->klass->clear_key (self, key_memory); } -#endif /* __GTK_SORT_KEYS_PRIVATE_H__ */ diff --git a/gtk/gtksortlistmodel.h b/gtk/gtksortlistmodel.h index 5dc37cbf70..957f5b0019 100644 --- a/gtk/gtksortlistmodel.h +++ b/gtk/gtksortlistmodel.h @@ -17,8 +17,7 @@ * Authors: Benjamin Otte */ -#ifndef __GTK_SORT_LIST_MODEL_H__ -#define __GTK_SORT_LIST_MODEL_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) @@ -63,4 +62,3 @@ guint gtk_sort_list_model_get_pending (GtkSortListMode G_END_DECLS -#endif /* __GTK_SORT_LIST_MODEL_H__ */ diff --git a/gtk/gtkspinbutton.h b/gtk/gtkspinbutton.h index f97f17c5c2..d9ad80214d 100644 --- a/gtk/gtkspinbutton.h +++ b/gtk/gtkspinbutton.h @@ -25,8 +25,7 @@ * GTK+ at ftp://ftp.gtk.org/pub/gtk/. */ -#ifndef __GTK_SPIN_BUTTON_H__ -#define __GTK_SPIN_BUTTON_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) @@ -200,4 +199,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkSpinButton, g_object_unref) G_END_DECLS -#endif /* __GTK_SPIN_BUTTON_H__ */ diff --git a/gtk/gtkspinner.h b/gtk/gtkspinner.h index 43410d1c0c..04e933cf04 100644 --- a/gtk/gtkspinner.h +++ b/gtk/gtkspinner.h @@ -20,8 +20,7 @@ * by Christian Hergert */ -#ifndef __GTK_SPINNER_H__ -#define __GTK_SPINNER_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -56,4 +55,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkSpinner, g_object_unref) G_END_DECLS -#endif /* __GTK_SPINNER_H__ */ diff --git a/gtk/gtkstack.h b/gtk/gtkstack.h index a1785ac551..d8a39e3f07 100644 --- a/gtk/gtkstack.h +++ b/gtk/gtkstack.h @@ -19,8 +19,7 @@ * */ -#ifndef __GTK_STACK_H__ -#define __GTK_STACK_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -183,4 +182,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkStack, g_object_unref) G_END_DECLS -#endif diff --git a/gtk/gtkstacksidebar.h b/gtk/gtkstacksidebar.h index 66ef681660..be67f52e81 100644 --- a/gtk/gtkstacksidebar.h +++ b/gtk/gtkstacksidebar.h @@ -19,8 +19,7 @@ * Ikey Doherty */ -#ifndef __GTK_STACK_SIDEBAR_H__ -#define __GTK_STACK_SIDEBAR_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -50,4 +49,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkStackSidebar, g_object_unref) G_END_DECLS -#endif /* __GTK_STACK_SIDEBAR_H__ */ diff --git a/gtk/gtkstackswitcher.h b/gtk/gtkstackswitcher.h index 5c22dfcca0..59df083b4a 100644 --- a/gtk/gtkstackswitcher.h +++ b/gtk/gtkstackswitcher.h @@ -17,8 +17,7 @@ * */ -#ifndef __GTK_STACK_SWITCHER_H__ -#define __GTK_STACK_SWITCHER_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -49,4 +48,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkStackSwitcher, g_object_unref) G_END_DECLS -#endif /* __GTK_STACK_SWITCHER_H__ */ diff --git a/gtk/gtkstatusbarprivate.h b/gtk/gtkstatusbarprivate.h index 4dc942726c..f330785d99 100644 --- a/gtk/gtkstatusbarprivate.h +++ b/gtk/gtkstatusbarprivate.h @@ -16,8 +16,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_STATUSBAR_PRIVATE_H__ -#define __GTK_STATUSBAR_PRIVATE_H__ +#pragma once #include "gtkwidget.h" @@ -27,4 +26,3 @@ const char * gtk_statusbar_get_message (GtkStatusbar *statusbar); G_END_DECLS -#endif /* __GTK_STATUSBAR_H__ */ diff --git a/gtk/gtkstringfilter.h b/gtk/gtkstringfilter.h index b3ccf40a09..1ed070afce 100644 --- a/gtk/gtkstringfilter.h +++ b/gtk/gtkstringfilter.h @@ -17,8 +17,7 @@ * Authors: Benjamin Otte */ -#ifndef __GTK_STRING_FILTER_H__ -#define __GTK_STRING_FILTER_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -78,4 +77,3 @@ void gtk_string_filter_set_match_mode (GtkStringFilter G_END_DECLS -#endif /* __GTK_STRING_FILTER_H__ */ diff --git a/gtk/gtkstringlist.h b/gtk/gtkstringlist.h index c426a91542..391a4598f9 100644 --- a/gtk/gtkstringlist.h +++ b/gtk/gtkstringlist.h @@ -17,8 +17,7 @@ * Authors: Matthias Clasen */ -#ifndef __GTK_STRING_LIST_H__ -#define __GTK_STRING_LIST_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) @@ -73,4 +72,3 @@ const char * gtk_string_list_get_string (GtkStringList *self, G_END_DECLS -#endif /* __GTK_STRING_LIST_H__ */ diff --git a/gtk/gtkstringsorter.h b/gtk/gtkstringsorter.h index 2d0924fd2a..51654ede18 100644 --- a/gtk/gtkstringsorter.h +++ b/gtk/gtkstringsorter.h @@ -17,8 +17,7 @@ * Authors: Matthias Clasen */ -#ifndef __GTK_STRING_SORTER_H__ -#define __GTK_STRING_SORTER_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -77,4 +76,3 @@ GtkCollation gtk_string_sorter_get_collation (GtkStringSorter G_END_DECLS -#endif /* __GTK_STRING_SORTER_H__ */ diff --git a/gtk/gtkstyleanimationprivate.h b/gtk/gtkstyleanimationprivate.h index dbf8dbce40..b8226ebfa2 100644 --- a/gtk/gtkstyleanimationprivate.h +++ b/gtk/gtkstyleanimationprivate.h @@ -17,8 +17,7 @@ * Authors: Benjamin Otte */ -#ifndef __GTK_STYLE_ANIMATION_PRIVATE_H__ -#define __GTK_STYLE_ANIMATION_PRIVATE_H__ +#pragma once #include "gtkcssanimatedstyleprivate.h" @@ -60,4 +59,3 @@ GtkStyleAnimation * gtk_style_animation_unref (GtkStyleAnimation G_END_DECLS -#endif /* __GTK_STYLE_ANIMATION_PRIVATE_H__ */ diff --git a/gtk/gtkstylecascadeprivate.h b/gtk/gtkstylecascadeprivate.h index ad2f7e69d0..0b3abba10d 100644 --- a/gtk/gtkstylecascadeprivate.h +++ b/gtk/gtkstylecascadeprivate.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_STYLECASCADE_PRIVATE_H__ -#define __GTK_STYLECASCADE_PRIVATE_H__ +#pragma once #include #include @@ -66,4 +65,3 @@ void _gtk_style_cascade_remove_provider (GtkStyleCascade G_END_DECLS -#endif /* __GTK_CSS_STYLECASCADE_PRIVATE_H__ */ diff --git a/gtk/gtkstylepropertyprivate.h b/gtk/gtkstylepropertyprivate.h index 7bd0e7f247..0c3eb22f58 100644 --- a/gtk/gtkstylepropertyprivate.h +++ b/gtk/gtkstylepropertyprivate.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_STYLEPROPERTY_PRIVATE_H__ -#define __GTK_STYLEPROPERTY_PRIVATE_H__ +#pragma once #include #include "gtk/css/gtkcsstokenizerprivate.h" @@ -68,4 +67,3 @@ GtkCssValue * _gtk_style_property_parse_value (GtkStyleProperty * G_END_DECLS -#endif /* __GTK_CSS_STYLEPROPERTY_PRIVATE_H__ */ diff --git a/gtk/gtkstyleprovider.h b/gtk/gtkstyleprovider.h index 86de970da8..a83d6bc550 100644 --- a/gtk/gtkstyleprovider.h +++ b/gtk/gtkstyleprovider.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_STYLE_PROVIDER_H__ -#define __GTK_STYLE_PROVIDER_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -101,4 +100,3 @@ void gtk_style_context_remove_provider_for_display (GdkDisplay *display, G_END_DECLS -#endif /* __GTK_STYLE_PROVIDER_H__ */ diff --git a/gtk/gtkstyleproviderprivate.h b/gtk/gtkstyleproviderprivate.h index f2652113b2..5319d57155 100644 --- a/gtk/gtkstyleproviderprivate.h +++ b/gtk/gtkstyleproviderprivate.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_STYLE_PROVIDER_PRIVATE_H__ -#define __GTK_STYLE_PROVIDER_PRIVATE_H__ +#pragma once #include #include @@ -75,4 +74,3 @@ void gtk_style_provider_emit_error (GtkStyleProvid G_END_DECLS -#endif /* __GTK_STYLE_PROVIDER_PRIVATE_H__ */ diff --git a/gtk/gtkswitch.h b/gtk/gtkswitch.h index 74b018926e..52ac3d9c44 100644 --- a/gtk/gtkswitch.h +++ b/gtk/gtkswitch.h @@ -23,8 +23,7 @@ * Based on similar code from Mx. */ -#ifndef __GTK_SWITCH_H__ -#define __GTK_SWITCH_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -63,4 +62,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkSwitch, g_object_unref) G_END_DECLS -#endif /* __GTK_SWITCH_H__ */ diff --git a/gtk/gtksymbolicpaintable.h b/gtk/gtksymbolicpaintable.h index 67d787fc46..3916bc5e13 100644 --- a/gtk/gtksymbolicpaintable.h +++ b/gtk/gtksymbolicpaintable.h @@ -17,8 +17,7 @@ * Authors: Benjamin Otte */ -#ifndef __GTK_SYMBOLIC_PAINTABLE_H__ -#define __GTK_SYMBOLIC_PAINTABLE_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -67,4 +66,3 @@ void gtk_symbolic_paintable_snapshot_symbolic (GtkSymb G_END_DECLS -#endif /* __GTK_SYMBOLIC_PAINTABLE_H__ */ diff --git a/gtk/gtktestutils.h b/gtk/gtktestutils.h index 1ea7c0a1b9..4ef8fd0bb8 100644 --- a/gtk/gtktestutils.h +++ b/gtk/gtktestutils.h @@ -16,8 +16,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_TEST_UTILS_H__ -#define __GTK_TEST_UTILS_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -42,4 +41,3 @@ void gtk_test_widget_wait_for_draw (GtkWidget *widget); G_END_DECLS -#endif /* __GTK_TEST_UTILS_H__ */ diff --git a/gtk/gtktext.h b/gtk/gtktext.h index 4240aa92f5..4d21b0dcea 100644 --- a/gtk/gtktext.h +++ b/gtk/gtktext.h @@ -26,8 +26,7 @@ * GTK+ at ftp://ftp.gtk.org/pub/gtk/. */ -#ifndef __GTK_TEXT_H__ -#define __GTK_TEXT_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) @@ -168,4 +167,3 @@ void gtk_text_compute_cursor_extents (GtkText *self, G_END_DECLS -#endif /* __GTK_TEXT_H__ */ diff --git a/gtk/gtktextattributesprivate.h b/gtk/gtktextattributesprivate.h index 71b4ad6b35..eed7571180 100644 --- a/gtk/gtktextattributesprivate.h +++ b/gtk/gtktextattributesprivate.h @@ -47,8 +47,7 @@ * */ -#ifndef __GTK_TEXT_ATTRIBUTES_PRIVATE_H__ -#define __GTK_TEXT_ATTRIBUTES_PRIVATE_H__ +#pragma once #include @@ -173,4 +172,3 @@ GtkTextAttributes *gtk_text_attributes_ref (GtkTextAttributes *values); G_END_DECLS -#endif diff --git a/gtk/gtktextbtreeprivate.h b/gtk/gtktextbtreeprivate.h index 86e79a4b0e..f32c7398bd 100644 --- a/gtk/gtktextbtreeprivate.h +++ b/gtk/gtktextbtreeprivate.h @@ -22,8 +22,7 @@ * GTK+ at ftp://ftp.gtk.org/pub/gtk/. */ -#ifndef __GTK_TEXT_BTREE_PRIVATE_H__ -#define __GTK_TEXT_BTREE_PRIVATE_H__ +#pragma once #if 0 #define DEBUG_VALIDATION_AND_SCROLLING @@ -345,6 +344,5 @@ void _gtk_text_btree_notify_will_remove_tag (GtkTextBTree *tree, G_END_DECLS -#endif diff --git a/gtk/gtktextbuffer.h b/gtk/gtktextbuffer.h index e7f10bd344..f6d2613f4d 100644 --- a/gtk/gtktextbuffer.h +++ b/gtk/gtktextbuffer.h @@ -22,8 +22,7 @@ * GTK+ at ftp://ftp.gtk.org/pub/gtk/. */ -#ifndef __GTK_TEXT_BUFFER_H__ -#define __GTK_TEXT_BUFFER_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -465,4 +464,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkTextBuffer, g_object_unref) G_END_DECLS -#endif diff --git a/gtk/gtktextbufferprivate.h b/gtk/gtktextbufferprivate.h index 941bc6f05d..6e671f3e68 100644 --- a/gtk/gtktextbufferprivate.h +++ b/gtk/gtktextbufferprivate.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_TEXT_BUFFER_PRIVATE_H__ -#define __GTK_TEXT_BUFFER_PRIVATE_H__ +#pragma once #include #include "gtktexttypesprivate.h" @@ -47,4 +46,3 @@ void gtk_text_buffer_get_run_attributes (GtkTextBuffer *buffer, G_END_DECLS -#endif diff --git a/gtk/gtktextchild.h b/gtk/gtktextchild.h index 01e3288011..1f4cf2edcf 100644 --- a/gtk/gtktextchild.h +++ b/gtk/gtktextchild.h @@ -22,8 +22,7 @@ * GTK+ at ftp://ftp.gtk.org/pub/gtk/. */ -#ifndef __GTK_TEXT_CHILD_H__ -#define __GTK_TEXT_CHILD_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -92,4 +91,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkTextChildAnchor, g_object_unref) G_END_DECLS -#endif diff --git a/gtk/gtktextchildprivate.h b/gtk/gtktextchildprivate.h index e8e94b51d7..58e245d7c3 100644 --- a/gtk/gtktextchildprivate.h +++ b/gtk/gtktextchildprivate.h @@ -47,8 +47,7 @@ * */ -#ifndef __GTK_TEXT_CHILD_PRIVATE_H__ -#define __GTK_TEXT_CHILD_PRIVATE_H__ +#pragma once #include @@ -89,4 +88,3 @@ const char * gtk_text_child_anchor_get_replacement (GtkTextChildAnchor *a G_END_DECLS -#endif diff --git a/gtk/gtktexthandleprivate.h b/gtk/gtktexthandleprivate.h index c01fedcd50..5229e5935a 100644 --- a/gtk/gtktexthandleprivate.h +++ b/gtk/gtktexthandleprivate.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_TEXT_HANDLE_PRIVATE_H__ -#define __GTK_TEXT_HANDLE_PRIVATE_H__ +#pragma once #include @@ -48,4 +47,3 @@ gboolean gtk_text_handle_get_is_dragged (GtkTextHandle *handle); G_END_DECLS -#endif /* __GTK_TEXT_HANDLE_PRIVATE_H__ */ diff --git a/gtk/gtktexthistoryprivate.h b/gtk/gtktexthistoryprivate.h index b65682d295..5136ccf6c1 100644 --- a/gtk/gtktexthistoryprivate.h +++ b/gtk/gtktexthistoryprivate.h @@ -14,8 +14,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_TEXT_HISTORY_PRIVATE_H__ -#define __GTK_TEXT_HISTORY_PRIVATE_H__ +#pragma once #include @@ -81,4 +80,3 @@ void gtk_text_history_set_enabled (GtkTextHistory G_END_DECLS -#endif /* __GTK_TEXT_HISTORY_PRIVATE_H__ */ diff --git a/gtk/gtktextiter.h b/gtk/gtktextiter.h index ebfe351b94..9445746cf2 100644 --- a/gtk/gtktextiter.h +++ b/gtk/gtktextiter.h @@ -22,8 +22,7 @@ * GTK+ at ftp://ftp.gtk.org/pub/gtk/. */ -#ifndef __GTK_TEXT_ITER_H__ -#define __GTK_TEXT_ITER_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -418,4 +417,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkTextIter, gtk_text_iter_free) G_END_DECLS -#endif diff --git a/gtk/gtktextiterprivate.h b/gtk/gtktextiterprivate.h index d044cdc8cc..7e408bd107 100644 --- a/gtk/gtktextiterprivate.h +++ b/gtk/gtktextiterprivate.h @@ -22,8 +22,7 @@ * GTK+ at ftp://ftp.gtk.org/pub/gtk/. */ -#ifndef __GTK_TEXT_ITER_PRIVATE_H__ -#define __GTK_TEXT_ITER_PRIVATE_H__ +#pragma once #include @@ -52,6 +51,5 @@ void _gtk_text_iter_check (const GtkTextIter *iter); G_END_DECLS -#endif diff --git a/gtk/gtktextlayoutprivate.h b/gtk/gtktextlayoutprivate.h index 1aff8acf72..7f24a375fc 100644 --- a/gtk/gtktextlayoutprivate.h +++ b/gtk/gtktextlayoutprivate.h @@ -75,8 +75,7 @@ * GTK+ at ftp://ftp.gtk.org/pub/gtk/. */ -#ifndef __GTK_TEXT_LAYOUT_PRIVATE_H__ -#define __GTK_TEXT_LAYOUT_PRIVATE_H__ +#pragma once #include #include @@ -384,4 +383,3 @@ void gtk_text_layout_set_mru_size (GtkTextLayout *layout, G_END_DECLS -#endif /* __GTK_TEXT_LAYOUT_PRIVATE_H__ */ diff --git a/gtk/gtktextlinedisplaycacheprivate.h b/gtk/gtktextlinedisplaycacheprivate.h index 3102109248..582f5592c9 100644 --- a/gtk/gtktextlinedisplaycacheprivate.h +++ b/gtk/gtktextlinedisplaycacheprivate.h @@ -17,8 +17,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_TEXT_LINE_DISPLAY_CACHE_PRIVATE_H__ -#define __GTK_TEXT_LINE_DISPLAY_CACHE_PRIVATE_H__ +#pragma once #include "gtktextlayoutprivate.h" @@ -59,4 +58,3 @@ void gtk_text_line_display_cache_set_mru_size (GtkText G_END_DECLS -#endif /* __GTK_TEXT_LINE_DISPLAY_CACHE_PRIVATE_H__ */ diff --git a/gtk/gtktextmark.h b/gtk/gtktextmark.h index d22ce7ba48..f534ae4cbb 100644 --- a/gtk/gtktextmark.h +++ b/gtk/gtktextmark.h @@ -47,8 +47,7 @@ * */ -#ifndef __GTK_TEXT_MARK_H__ -#define __GTK_TEXT_MARK_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -108,4 +107,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkTextMark, g_object_unref) G_END_DECLS -#endif /* __GTK_TEXT_MARK_H__ */ diff --git a/gtk/gtktextmarkprivate.h b/gtk/gtktextmarkprivate.h index 7e584ad0f2..c30a10ee27 100644 --- a/gtk/gtktextmarkprivate.h +++ b/gtk/gtktextmarkprivate.h @@ -22,8 +22,7 @@ * GTK+ at ftp://ftp.gtk.org/pub/gtk/. */ -#ifndef __GTK_TEXT_MARK_PRIVATE_H__ -#define __GTK_TEXT_MARK_PRIVATE_H__ +#pragma once #include #include "gtktextlayoutprivate.h" @@ -52,7 +51,6 @@ void _gtk_mark_segment_set_tree (GtkTextLineSegment *mark, G_END_DECLS -#endif diff --git a/gtk/gtktextprivate.h b/gtk/gtktextprivate.h index b6a61843af..5687dd262a 100644 --- a/gtk/gtktextprivate.h +++ b/gtk/gtktextprivate.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_TEXT_PRIVATE_H__ -#define __GTK_TEXT_PRIVATE_H__ +#pragma once #include "gtktext.h" @@ -106,4 +105,3 @@ GtkEventController *gtk_text_get_key_controller (GtkText *entry); G_END_DECLS -#endif /* __GTK_TEXT_PRIVATE_H__ */ diff --git a/gtk/gtktextsegmentprivate.h b/gtk/gtktextsegmentprivate.h index 7f59f28e99..485e4a44da 100644 --- a/gtk/gtktextsegmentprivate.h +++ b/gtk/gtktextsegmentprivate.h @@ -22,8 +22,7 @@ * GTK+ at ftp://ftp.gtk.org/pub/gtk/. */ -#ifndef __GTK_TEXT_SEGMENT_PRIVATE_H__ -#define __GTK_TEXT_SEGMENT_PRIVATE_H__ +#pragma once #include #include @@ -167,6 +166,5 @@ void _gtk_toggle_segment_free (GtkTextLineSegment * G_END_DECLS -#endif diff --git a/gtk/gtktexttag.h b/gtk/gtktexttag.h index f536d00e28..05171a50fb 100644 --- a/gtk/gtktexttag.h +++ b/gtk/gtktexttag.h @@ -47,8 +47,7 @@ * */ -#ifndef __GTK_TEXT_TAG_H__ -#define __GTK_TEXT_TAG_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) @@ -108,5 +107,4 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkTextTag, g_object_unref) G_END_DECLS -#endif diff --git a/gtk/gtktexttagprivate.h b/gtk/gtktexttagprivate.h index 4092fc1532..0fad0a6c70 100644 --- a/gtk/gtktexttagprivate.h +++ b/gtk/gtktexttagprivate.h @@ -22,8 +22,7 @@ * GTK+ at ftp://ftp.gtk.org/pub/gtk/. */ -#ifndef __GTK_TEXT_TAG_PRIVATE_H__ -#define __GTK_TEXT_TAG_PRIVATE_H__ +#pragma once #include #include @@ -107,4 +106,3 @@ void _gtk_text_tag_array_sort (GPtrArray *tags); gboolean _gtk_text_tag_affects_size (GtkTextTag *tag); gboolean _gtk_text_tag_affects_nonsize_appearance (GtkTextTag *tag); -#endif diff --git a/gtk/gtktexttagtable.h b/gtk/gtktexttagtable.h index 1b9957344b..1d3f6e6885 100644 --- a/gtk/gtktexttagtable.h +++ b/gtk/gtktexttagtable.h @@ -22,8 +22,7 @@ * GTK+ at ftp://ftp.gtk.org/pub/gtk/. */ -#ifndef __GTK_TEXT_TAG_TABLE_H__ -#define __GTK_TEXT_TAG_TABLE_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -72,4 +71,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkTextTagTable, g_object_unref) G_END_DECLS -#endif diff --git a/gtk/gtktexttagtableprivate.h b/gtk/gtktexttagtableprivate.h index 4bf0d5773c..fb801d7b1e 100644 --- a/gtk/gtktexttagtableprivate.h +++ b/gtk/gtktexttagtableprivate.h @@ -22,8 +22,7 @@ * GTK+ at ftp://ftp.gtk.org/pub/gtk/. */ -#ifndef __GTK_TEXT_TAG_TABLE_PRIVATE_H__ -#define __GTK_TEXT_TAG_TABLE_PRIVATE_H__ +#pragma once #include @@ -40,4 +39,3 @@ gboolean _gtk_text_tag_table_affects_visibility (GtkTextTagTable *table); G_END_DECLS -#endif diff --git a/gtk/gtktexttypesprivate.h b/gtk/gtktexttypesprivate.h index c996e184c0..b35532efab 100644 --- a/gtk/gtktexttypesprivate.h +++ b/gtk/gtktexttypesprivate.h @@ -22,8 +22,7 @@ * GTK+ at ftp://ftp.gtk.org/pub/gtk/. */ -#ifndef __GTK_TEXT_TYPES_PRIVATE_H__ -#define __GTK_TEXT_TYPES_PRIVATE_H__ +#pragma once #include #include @@ -75,5 +74,4 @@ gboolean gtk_text_byte_begins_utf8_char (const char *byte); G_END_DECLS -#endif diff --git a/gtk/gtktextutilprivate.h b/gtk/gtktextutilprivate.h index 11e47a74a5..37e1ed29ff 100644 --- a/gtk/gtktextutilprivate.h +++ b/gtk/gtktextutilprivate.h @@ -22,8 +22,7 @@ * GTK+ at ftp://ftp.gtk.org/pub/gtk/. */ -#ifndef __GTK_TEXT_UTIL_PRIVATE_H__ -#define __GTK_TEXT_UTIL_PRIVATE_H__ +#pragma once G_BEGIN_DECLS @@ -48,4 +47,3 @@ gboolean _gtk_text_util_get_block_cursor_location (PangoLayout *layout, G_END_DECLS -#endif /* __GTK_TEXT_UTIL_PRIVATE_H__ */ diff --git a/gtk/gtktextview.h b/gtk/gtktextview.h index afe6474857..b93b5aaf49 100644 --- a/gtk/gtktextview.h +++ b/gtk/gtktextview.h @@ -22,8 +22,7 @@ * GTK+ at ftp://ftp.gtk.org/pub/gtk/. */ -#ifndef __GTK_TEXT_VIEW_H__ -#define __GTK_TEXT_VIEW_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -436,4 +435,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkTextView, g_object_unref) G_END_DECLS -#endif /* __GTK_TEXT_VIEW_H__ */ diff --git a/gtk/gtktextviewchildprivate.h b/gtk/gtktextviewchildprivate.h index ca6af116ce..5c1438b84c 100644 --- a/gtk/gtktextviewchildprivate.h +++ b/gtk/gtktextviewchildprivate.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_TEXT_VIEW_CHILD_PRIVATE_H__ -#define __GTK_TEXT_VIEW_CHILD_PRIVATE_H__ +#pragma once #include #include @@ -52,4 +51,3 @@ void gtk_text_view_child_set_offset (GtkTextViewChild *child int xoffset, int yoffset); -#endif /* __GTK_TEXT_VIEW_CHILD_PRIVATE_H__ */ diff --git a/gtk/gtktextviewprivate.h b/gtk/gtktextviewprivate.h index 1cc9b79147..2c88e1d112 100644 --- a/gtk/gtktextviewprivate.h +++ b/gtk/gtktextviewprivate.h @@ -16,8 +16,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_TEXT_VIEW_PRIVATE_H__ -#define __GTK_TEXT_VIEW_PRIVATE_H__ +#pragma once #include "gtktextview.h" #include "gtktextattributesprivate.h" @@ -35,4 +34,3 @@ GtkEventController *gtk_text_view_get_key_controller (GtkTextView *text_view) G_END_DECLS -#endif /* __GTK_TEXT_VIEW_PRIVATE_H__ */ diff --git a/gtk/gtktogglebutton.h b/gtk/gtktogglebutton.h index 8b7930fb4e..bc3a050281 100644 --- a/gtk/gtktogglebutton.h +++ b/gtk/gtktogglebutton.h @@ -22,8 +22,7 @@ * GTK+ at ftp://ftp.gtk.org/pub/gtk/. */ -#ifndef __GTK_TOGGLE_BUTTON_H__ -#define __GTK_TOGGLE_BUTTON_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) @@ -87,4 +86,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkToggleButton, g_object_unref) G_END_DECLS -#endif /* __GTK_TOGGLE_BUTTON_H__ */ diff --git a/gtk/gtktooltip.h b/gtk/gtktooltip.h index d3dd9dcfab..1b26c16a83 100644 --- a/gtk/gtktooltip.h +++ b/gtk/gtktooltip.h @@ -17,8 +17,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_TOOLTIP_H__ -#define __GTK_TOOLTIP_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -62,4 +61,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkTooltip, g_object_unref) G_END_DECLS -#endif /* __GTK_TOOLTIP_H__ */ diff --git a/gtk/gtktooltipprivate.h b/gtk/gtktooltipprivate.h index e8746daff0..de92b644a9 100644 --- a/gtk/gtktooltipprivate.h +++ b/gtk/gtktooltipprivate.h @@ -22,8 +22,7 @@ * GTK+ at ftp://ftp.gtk.org/pub/gtk/. */ -#ifndef __GTK_TOOLTIP_PRIVATE_H__ -#define __GTK_TOOLTIP_PRIVATE_H__ +#pragma once #include @@ -49,4 +48,3 @@ void gtk_tooltip_unset_surface (GtkNative *native); G_END_DECLS -#endif /* __GTK_TOOLTIP_PRIVATE_H__ */ diff --git a/gtk/gtktooltipwindowprivate.h b/gtk/gtktooltipwindowprivate.h index 651a3cf7c7..c047536618 100644 --- a/gtk/gtktooltipwindowprivate.h +++ b/gtk/gtktooltipwindowprivate.h @@ -22,8 +22,7 @@ * GTK+ at ftp://ftp.gtk.org/pub/gtk/. */ -#ifndef __GTK_TOOLTIP_WINDOW_PRIVATE_H__ -#define __GTK_TOOLTIP_WINDOW_PRIVATE_H__ +#pragma once #include #include @@ -63,4 +62,3 @@ void gtk_tooltip_window_position (GtkTooltipWindo G_END_DECLS -#endif /* __GTK_TOOLTIP_WINDOW_PRIVATE_H__ */ diff --git a/gtk/gtktrashmonitorprivate.h b/gtk/gtktrashmonitorprivate.h index 32bdc05536..955f6ddb6e 100644 --- a/gtk/gtktrashmonitorprivate.h +++ b/gtk/gtktrashmonitorprivate.h @@ -18,8 +18,7 @@ * Authors: Federico Mena Quintero */ -#ifndef __GTK_TRASH_MONITOR_PRIVATE_H__ -#define __GTK_TRASH_MONITOR_PRIVATE_H__ +#pragma once #include @@ -44,4 +43,3 @@ gboolean _gtk_trash_monitor_get_has_trash (GtkTrashMonitor *monitor); G_END_DECLS -#endif /* __GTK_TRASH_MONITOR_PRIVATE_H__ */ diff --git a/gtk/gtktreeexpander.h b/gtk/gtktreeexpander.h index bb4db67a4a..6413da5721 100644 --- a/gtk/gtktreeexpander.h +++ b/gtk/gtktreeexpander.h @@ -17,8 +17,7 @@ * Authors: Benjamin Otte */ -#ifndef __GTK_TREE_EXPANDER_H__ -#define __GTK_TREE_EXPANDER_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -68,4 +67,3 @@ void gtk_tree_expander_set_hide_expander (GtkTreeExpander G_END_DECLS -#endif /* __GTK_TREE_EXPANDER_H__ */ diff --git a/gtk/gtktreelistmodel.h b/gtk/gtktreelistmodel.h index 1a164e40ae..367ead75ab 100644 --- a/gtk/gtktreelistmodel.h +++ b/gtk/gtktreelistmodel.h @@ -17,8 +17,7 @@ * Authors: Benjamin Otte */ -#ifndef __GTK_TREE_LIST_MODEL_H__ -#define __GTK_TREE_LIST_MODEL_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) @@ -106,4 +105,3 @@ GtkTreeListRow * gtk_tree_list_row_get_child_row (GtkTreeListRow G_END_DECLS -#endif /* __GTK_TREE_LIST_MODEL_H__ */ diff --git a/gtk/gtktreelistrowsorter.h b/gtk/gtktreelistrowsorter.h index b5b190cff3..8c5282cd7e 100644 --- a/gtk/gtktreelistrowsorter.h +++ b/gtk/gtktreelistrowsorter.h @@ -17,8 +17,7 @@ * Authors: Matthias Clasen */ -#ifndef __GTK_TREE_LIST_ROW_SORTER_H__ -#define __GTK_TREE_LIST_ROW_SORTER_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -44,4 +43,3 @@ void gtk_tree_list_row_sorter_set_sorter (GtkTreeL G_END_DECLS -#endif /* __GTK_TREE_LIST_ROW_SORTER_H__ */ diff --git a/gtk/gtktypes.h b/gtk/gtktypes.h index 36084c036d..6efa78f837 100644 --- a/gtk/gtktypes.h +++ b/gtk/gtktypes.h @@ -22,8 +22,7 @@ * GTK+ at ftp://ftp.gtk.org/pub/gtk/. */ -#ifndef __GTK_TYPES_H__ -#define __GTK_TYPES_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -74,4 +73,3 @@ typedef struct _GtkWindow GtkWindow; G_END_DECLS -#endif /* __GTK_TYPES_H__ */ diff --git a/gtk/gtkunixprint.h b/gtk/gtkunixprint.h index c39e3d1fd6..4b16932670 100644 --- a/gtk/gtkunixprint.h +++ b/gtk/gtkunixprint.h @@ -14,8 +14,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_UNIX_PRINT_H__ -#define __GTK_UNIX_PRINT_H__ +#pragma once #define __GTK_UNIX_PRINT_H_INSIDE__ @@ -28,4 +27,3 @@ #undef __GTK_UNIX_PRINT_H_INSIDE__ -#endif /* __GTK_UNIX_PRINT_H__ */ diff --git a/gtk/gtkvideo.h b/gtk/gtkvideo.h index cf20a8a08c..c13f99b88a 100644 --- a/gtk/gtkvideo.h +++ b/gtk/gtkvideo.h @@ -17,8 +17,7 @@ * Authors: Benjamin Otte */ -#ifndef __GTK_VIDEO_H__ -#define __GTK_VIDEO_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -75,4 +74,3 @@ void gtk_video_set_loop (GtkVideo G_END_DECLS -#endif /* __GTK_VIDEO_H__ */ diff --git a/gtk/gtkviewport.h b/gtk/gtkviewport.h index 088fa7b51c..5663ebd04b 100644 --- a/gtk/gtkviewport.h +++ b/gtk/gtkviewport.h @@ -22,8 +22,7 @@ * GTK+ at ftp://ftp.gtk.org/pub/gtk/. */ -#ifndef __GTK_VIEWPORT_H__ -#define __GTK_VIEWPORT_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) @@ -67,4 +66,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkViewport, g_object_unref) G_END_DECLS -#endif /* __GTK_VIEWPORT_H__ */ diff --git a/gtk/gtkwidget.h b/gtk/gtkwidget.h index d2ea7218da..350dc7b573 100644 --- a/gtk/gtkwidget.h +++ b/gtk/gtkwidget.h @@ -22,8 +22,7 @@ * GTK+ at ftp://ftp.gtk.org/pub/gtk/. */ -#ifndef __GTK_WIDGET_H__ -#define __GTK_WIDGET_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." @@ -984,4 +983,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkRequisition, gtk_requisition_free) G_END_DECLS -#endif /* __GTK_WIDGET_H__ */ diff --git a/gtk/gtkwidgetpaintable.h b/gtk/gtkwidgetpaintable.h index 3af7ddf137..731aafd3ff 100644 --- a/gtk/gtkwidgetpaintable.h +++ b/gtk/gtkwidgetpaintable.h @@ -17,8 +17,7 @@ * Authors: Benjamin Otte */ -#ifndef __GTK_WIDGET_PAINTABLE_H__ -#define __GTK_WIDGET_PAINTABLE_H__ +#pragma once #include @@ -40,4 +39,3 @@ void gtk_widget_paintable_set_widget (GtkWidgetPaintable G_END_DECLS -#endif /* __GTK_WIDGET_PAINTABLE_H__ */ diff --git a/gtk/gtkwidgetpaintableprivate.h b/gtk/gtkwidgetpaintableprivate.h index 381d28a806..80391b3dda 100644 --- a/gtk/gtkwidgetpaintableprivate.h +++ b/gtk/gtkwidgetpaintableprivate.h @@ -17,8 +17,7 @@ * Authors: Benjamin Otte */ -#ifndef __GTK_WIDGET_PAINTABLE_PRIVATE_H__ -#define __GTK_WIDGET_PAINTABLE_PRIVATE_H__ +#pragma once #include "gtkwidgetpaintable.h" @@ -28,4 +27,3 @@ void gtk_widget_paintable_update_image (GtkWidgetPainta void gtk_widget_paintable_push_snapshot_count (GtkWidgetPaintable *self); void gtk_widget_paintable_pop_snapshot_count (GtkWidgetPaintable *self); -#endif /* __GTK_WIDGET_PAINTABLE_PRIVATE_H__ */ diff --git a/gtk/gtkwidgetprivate.h b/gtk/gtkwidgetprivate.h index 581b7db19d..b73b6292be 100644 --- a/gtk/gtkwidgetprivate.h +++ b/gtk/gtkwidgetprivate.h @@ -22,8 +22,7 @@ * GTK+ at ftp://ftp.gtk.org/pub/gtk/. */ -#ifndef __GTK_WIDGET_PRIVATE_H__ -#define __GTK_WIDGET_PRIVATE_H__ +#pragma once #include "gtkwidget.h" @@ -481,4 +480,3 @@ _gtk_widget_is_sensitive (GtkWidget *widget) G_END_DECLS -#endif /* __GTK_WIDGET_PRIVATE_H__ */ diff --git a/gtk/gtkwindow.h b/gtk/gtkwindow.h index c60a1d426f..0121333756 100644 --- a/gtk/gtkwindow.h +++ b/gtk/gtkwindow.h @@ -22,8 +22,7 @@ * GTK+ at ftp://ftp.gtk.org/pub/gtk/. */ -#ifndef __GTK_WINDOW_H__ -#define __GTK_WINDOW_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) @@ -262,4 +261,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkWindowGroup, g_object_unref) G_END_DECLS -#endif /* __GTK_WINDOW_H__ */ diff --git a/gtk/gtkwindowgroup.h b/gtk/gtkwindowgroup.h index b8e9ad548a..0f7455421b 100644 --- a/gtk/gtkwindowgroup.h +++ b/gtk/gtkwindowgroup.h @@ -22,8 +22,7 @@ * GTK+ at ftp://ftp.gtk.org/pub/gtk/. */ -#ifndef __GTK_WINDOW_GROUP_H__ -#define __GTK_WINDOW_GROUP_H__ +#pragma once #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) @@ -79,5 +78,4 @@ GList * gtk_window_group_list_windows (GtkWindowGroup *window_grou G_END_DECLS -#endif /* __GTK_WINDOW_GROUP_H__ */ diff --git a/gtk/gtkwindowprivate.h b/gtk/gtkwindowprivate.h index a177f50310..d17ce474da 100644 --- a/gtk/gtkwindowprivate.h +++ b/gtk/gtkwindowprivate.h @@ -16,8 +16,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_WINDOW_PRIVATE_H__ -#define __GTK_WINDOW_PRIVATE_H__ +#pragma once #include @@ -126,4 +125,3 @@ void gtk_window_grab_notify (GtkWindow *window, G_END_DECLS -#endif /* __GTK_WINDOW_PRIVATE_H__ */ diff --git a/gtk/inspector/a11y.h b/gtk/inspector/a11y.h index aa4b2539b8..e21dcdc81b 100644 --- a/gtk/inspector/a11y.h +++ b/gtk/inspector/a11y.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef _GTK_INSPECTOR_A11Y_H_ -#define _GTK_INSPECTOR_A11Y_H_ +#pragma once #include "gtkscrolledwindow.h" @@ -34,6 +33,5 @@ void gtk_inspector_a11y_set_object (GtkInspectorA11y *sl, G_END_DECLS -#endif // _GTK_INSPECTOR_A11Y_H_ // vim: set et sw=2 ts=2: diff --git a/gtk/inspector/action-editor.h b/gtk/inspector/action-editor.h index c918a9a55c..39f6690233 100644 --- a/gtk/inspector/action-editor.h +++ b/gtk/inspector/action-editor.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef _GTK_INSPECTOR_ACTION_EDITOR_H_ -#define _GTK_INSPECTOR_ACTION_EDITOR_H_ +#pragma once #include @@ -44,6 +43,5 @@ void gtk_inspector_action_editor_update (GtkInspectorActionEditor *self, G_END_DECLS -#endif // _GTK_INSPECTOR_ACTION_EDITOR_H_ // vim: set et: diff --git a/gtk/inspector/action-holder.h b/gtk/inspector/action-holder.h index a3294e835d..fe30248784 100644 --- a/gtk/inspector/action-holder.h +++ b/gtk/inspector/action-holder.h @@ -1,6 +1,5 @@ -#ifndef __ACTION_HOLDER_H__ -#define __ACTION_HOLDER_H__ +#pragma once #include @@ -14,4 +13,3 @@ ActionHolder * action_holder_new (GObject *owner, GObject *action_holder_get_owner (ActionHolder *holder); const char *action_holder_get_name (ActionHolder *holder); -#endif /* __ACTION_HOLDER_H__ */ diff --git a/gtk/inspector/actions.h b/gtk/inspector/actions.h index ad48cb9042..f4b0f8a2ce 100644 --- a/gtk/inspector/actions.h +++ b/gtk/inspector/actions.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef _GTK_INSPECTOR_ACTIONS_H_ -#define _GTK_INSPECTOR_ACTIONS_H_ +#pragma once #include @@ -34,6 +33,5 @@ void gtk_inspector_actions_set_object (GtkInspectorActions *sl, G_END_DECLS -#endif // _GTK_INSPECTOR_ACTIONS_H_ // vim: set et sw=2 ts=2: diff --git a/gtk/inspector/baselineoverlay.h b/gtk/inspector/baselineoverlay.h index 5901940101..b15e46adfc 100644 --- a/gtk/inspector/baselineoverlay.h +++ b/gtk/inspector/baselineoverlay.h @@ -1,5 +1,4 @@ -#ifndef __GTK_BASELINE_OVERLAY_H__ -#define __GTK_BASELINE_OVERLAY_H__ +#pragma once #include "inspectoroverlay.h" @@ -14,4 +13,3 @@ G_END_DECLS -#endif diff --git a/gtk/inspector/clipboard.h b/gtk/inspector/clipboard.h index 6bc7ee9619..8ae274f68b 100644 --- a/gtk/inspector/clipboard.h +++ b/gtk/inspector/clipboard.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef _GTK_INSPECTOR_CLIPBOARD_H_ -#define _GTK_INSPECTOR_CLIPBOARD_H_ +#pragma once #include @@ -35,4 +34,3 @@ void gtk_inspector_clipboard_set_display (GtkInspectorCli G_END_DECLS -#endif // _GTK_INSPECTOR_CLIPBOARD_H_ diff --git a/gtk/inspector/controllers.h b/gtk/inspector/controllers.h index d4df218b88..e5471416c6 100644 --- a/gtk/inspector/controllers.h +++ b/gtk/inspector/controllers.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef _GTK_INSPECTOR_CONTROLLERS_H_ -#define _GTK_INSPECTOR_CONTROLLERS_H_ +#pragma once #include @@ -31,6 +30,5 @@ void gtk_inspector_controllers_set_object (GtkInspectorCon G_END_DECLS -#endif // _GTK_INSPECTOR_CONTROLLERS_H_ // vim: set et sw=2 ts=2: diff --git a/gtk/inspector/css-editor.h b/gtk/inspector/css-editor.h index af463dcb03..d9458b0857 100644 --- a/gtk/inspector/css-editor.h +++ b/gtk/inspector/css-editor.h @@ -20,8 +20,7 @@ * THE SOFTWARE. */ -#ifndef _GTK_INSPECTOR_CSS_EDITOR_H_ -#define _GTK_INSPECTOR_CSS_EDITOR_H_ +#pragma once #include @@ -54,6 +53,5 @@ void gtk_inspector_css_editor_set_display (GtkInspectorCssEditor *ce, G_END_DECLS -#endif // _GTK_INSPECTOR_CSS_EDITOR_H_ // vim: set et sw=2 ts=2: diff --git a/gtk/inspector/css-node-tree.h b/gtk/inspector/css-node-tree.h index 881e433ce1..9362072840 100644 --- a/gtk/inspector/css-node-tree.h +++ b/gtk/inspector/css-node-tree.h @@ -20,8 +20,7 @@ * THE SOFTWARE. */ -#ifndef _GTK_INSPECTOR_CSS_NODE_TREE_H_ -#define _GTK_INSPECTOR_CSS_NODE_TREE_H_ +#pragma once #include @@ -61,6 +60,5 @@ void gtk_inspector_css_node_tree_set_display (GtkInspectorCss G_END_DECLS -#endif // _GTK_INSPECTOR_CSS_NODE_TREE_H_ // vim: set et sw=2 ts=2: diff --git a/gtk/inspector/eventrecording.h b/gtk/inspector/eventrecording.h index 11c126c6a0..4d6b938443 100644 --- a/gtk/inspector/eventrecording.h +++ b/gtk/inspector/eventrecording.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef _GTK_INSPECTOR_EVENT_RECORDING_H_ -#define _GTK_INSPECTOR_EVENT_RECORDING_H_ +#pragma once #include #include @@ -59,6 +58,5 @@ GdkEvent * gtk_inspector_event_recording_get_event (GtkInspectorEventR G_END_DECLS -#endif // _GTK_INSPECTOR_EVENT_RECORDING_H_ // vim: set et sw=2 ts=2: diff --git a/gtk/inspector/focusoverlay.h b/gtk/inspector/focusoverlay.h index c2acd99947..1599443c96 100644 --- a/gtk/inspector/focusoverlay.h +++ b/gtk/inspector/focusoverlay.h @@ -17,8 +17,7 @@ * Authors: Benjamin Otte */ -#ifndef __GTK_FOCUS_OVERLAY_H__ -#define __GTK_FOCUS_OVERLAY_H__ +#pragma once #include "inspectoroverlay.h" @@ -33,4 +32,3 @@ void gtk_focus_overlay_set_color (GtkFocusOverlay G_END_DECLS -#endif /* __GTK_FOCUS_OVERLAY_H__ */ diff --git a/gtk/inspector/fpsoverlay.h b/gtk/inspector/fpsoverlay.h index 2def5cde86..d7bfd0f377 100644 --- a/gtk/inspector/fpsoverlay.h +++ b/gtk/inspector/fpsoverlay.h @@ -17,8 +17,7 @@ * Authors: Benjamin Otte */ -#ifndef __GTK_FPS_OVERLAY_H__ -#define __GTK_FPS_OVERLAY_H__ +#pragma once #include "inspectoroverlay.h" @@ -31,4 +30,3 @@ GtkInspectorOverlay * gtk_fps_overlay_new (void); G_END_DECLS -#endif /* __GTK_FPS_OVERLAY_H__ */ diff --git a/gtk/inspector/general.h b/gtk/inspector/general.h index 71fcb03316..9011f6d721 100644 --- a/gtk/inspector/general.h +++ b/gtk/inspector/general.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef _GTK_INSPECTOR_GENERAL_H_ -#define _GTK_INSPECTOR_GENERAL_H_ +#pragma once #include @@ -34,6 +33,5 @@ void gtk_inspector_general_set_display (GtkInspectorGeneral *general, G_END_DECLS -#endif // _GTK_INSPECTOR_GENERAL_H_ // vim: set et sw=2 ts=2: diff --git a/gtk/inspector/graphdata.h b/gtk/inspector/graphdata.h index d746b018d0..4cf5791763 100644 --- a/gtk/inspector/graphdata.h +++ b/gtk/inspector/graphdata.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef __GRAPH_DATA_H__ -#define __GRAPH_DATA_H__ +#pragma once #include @@ -39,4 +38,3 @@ void graph_data_prepend_value (GraphData *data, G_END_DECLS -#endif /* __GRAPH_DATA_H__ */ diff --git a/gtk/inspector/graphrenderer.h b/gtk/inspector/graphrenderer.h index 11f0a7ca9f..68863bb9b2 100644 --- a/gtk/inspector/graphrenderer.h +++ b/gtk/inspector/graphrenderer.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef __GRAPH_RENDERER_H__ -#define __GRAPH_RENDERER_H__ +#pragma once #include #include "graphdata.h" @@ -34,4 +33,3 @@ void graph_renderer_set_data (GraphRenderer *self, G_END_DECLS -#endif /* __GRAPH_RENDERER_H__ */ diff --git a/gtk/inspector/gtkdataviewer.h b/gtk/inspector/gtkdataviewer.h index 37ce4bc750..757c7f5fdc 100644 --- a/gtk/inspector/gtkdataviewer.h +++ b/gtk/inspector/gtkdataviewer.h @@ -17,8 +17,7 @@ * Authors: Benjamin Otte */ -#ifndef __GTK_DATA_VIEWER_H__ -#define __GTK_DATA_VIEWER_H__ +#pragma once #include @@ -44,4 +43,3 @@ void gtk_data_viewer_load_error (GtkDataViewer G_END_DECLS -#endif /* __GTK_DATA_VIEWER_H__ */ diff --git a/gtk/inspector/highlightoverlay.h b/gtk/inspector/highlightoverlay.h index 075e2e6234..94061a66af 100644 --- a/gtk/inspector/highlightoverlay.h +++ b/gtk/inspector/highlightoverlay.h @@ -17,8 +17,7 @@ * Authors: Benjamin Otte */ -#ifndef __GTK_HIGHLIGHT_OVERLAY_H__ -#define __GTK_HIGHLIGHT_OVERLAY_H__ +#pragma once #include "inspectoroverlay.h" @@ -35,4 +34,3 @@ void gtk_highlight_overlay_set_color (GtkHighlightOve G_END_DECLS -#endif /* __GTK_HIGHLIGHT_OVERLAY_H__ */ diff --git a/gtk/inspector/init.h b/gtk/inspector/init.h index 04d3789bb6..c076372c68 100644 --- a/gtk/inspector/init.h +++ b/gtk/inspector/init.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef _GTK_INSPECTOR_INIT_H_ -#define _GTK_INSPECTOR_INIT_H_ +#pragma once G_BEGIN_DECLS @@ -25,6 +24,5 @@ void gtk_inspector_register_extension (void); G_END_DECLS -#endif // _GTK_INSPECTOR_INIT_H_ // vim: set et sw=2 ts=2: diff --git a/gtk/inspector/inspectoroverlay.h b/gtk/inspector/inspectoroverlay.h index a38e77726e..5c56d7844a 100644 --- a/gtk/inspector/inspectoroverlay.h +++ b/gtk/inspector/inspectoroverlay.h @@ -17,8 +17,7 @@ * Authors: Benjamin Otte */ -#ifndef __GTK_INSPECTOR_OVERLAY_H__ -#define __GTK_INSPECTOR_OVERLAY_H__ +#pragma once #include @@ -47,4 +46,3 @@ void gtk_inspector_overlay_queue_draw (GtkInspectorOve G_END_DECLS -#endif /* __GTK_INSPECTOR_OVERLAY_H__ */ diff --git a/gtk/inspector/layoutoverlay.h b/gtk/inspector/layoutoverlay.h index ef44dc10a1..43878900c0 100644 --- a/gtk/inspector/layoutoverlay.h +++ b/gtk/inspector/layoutoverlay.h @@ -1,7 +1,6 @@ -#ifndef __GTK_LAYOUT_OVERLAY_H__ -#define __GTK_LAYOUT_OVERLAY_H__ +#pragma once #include "inspectoroverlay.h" @@ -16,4 +15,3 @@ G_END_DECLS -#endif diff --git a/gtk/inspector/list-data.h b/gtk/inspector/list-data.h index a0a98d41c9..5851b22728 100644 --- a/gtk/inspector/list-data.h +++ b/gtk/inspector/list-data.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef _GTK_INSPECTOR_LIST_DATA_H_ -#define _GTK_INSPECTOR_LIST_DATA_H_ +#pragma once #include @@ -33,6 +32,5 @@ void gtk_inspector_list_data_set_object (GtkInspectorListData *sl, G_END_DECLS -#endif // _GTK_INSPECTOR_LIST_DATA_H_ // vim: set et sw=2 ts=2: diff --git a/gtk/inspector/logs.h b/gtk/inspector/logs.h index 0c8c6b21b7..bf7bb7f34e 100644 --- a/gtk/inspector/logs.h +++ b/gtk/inspector/logs.h @@ -20,8 +20,7 @@ * THE SOFTWARE. */ -#ifndef _GTK_INSPECTOR_LOGS_H_ -#define _GTK_INSPECTOR_LOGS_H_ +#pragma once #include @@ -41,6 +40,5 @@ void gtk_inspector_logs_set_display (GtkInspectorLogs *logs, G_END_DECLS -#endif // _GTK_INSPECTOR_LOGS_H_ // vim: set et sw=2 ts=2: diff --git a/gtk/inspector/magnifier.h b/gtk/inspector/magnifier.h index 2dcac6fa91..8d93b627bd 100644 --- a/gtk/inspector/magnifier.h +++ b/gtk/inspector/magnifier.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef _GTK_INSPECTOR_MAGNIFIER_H_ -#define _GTK_INSPECTOR_MAGNIFIER_H_ +#pragma once #include @@ -49,6 +48,5 @@ void gtk_inspector_magnifier_set_object (GtkInspectorMagnifier *sl, G_END_DECLS -#endif // _GTK_INSPECTOR_MAGNIFIER_H_ // vim: set et sw=2 ts=2: diff --git a/gtk/inspector/measuregraph.h b/gtk/inspector/measuregraph.h index e6649ecfe1..e59966da78 100644 --- a/gtk/inspector/measuregraph.h +++ b/gtk/inspector/measuregraph.h @@ -17,8 +17,7 @@ * Authors: Benjamin Otte */ -#ifndef __GTK_INSPECTOR_MEASURE_GRAPH_H__ -#define __GTK_INSPECTOR_MEASURE_GRAPH_H__ +#pragma once #include @@ -37,4 +36,3 @@ GdkTexture * gtk_inspector_measure_graph_get_texture (GtkInspectorMea G_END_DECLS -#endif /* __GTK_INSPECTOR_MEASURE_GRAPH_H__ */ diff --git a/gtk/inspector/menu.h b/gtk/inspector/menu.h index 1d7b0d93b6..8223010453 100644 --- a/gtk/inspector/menu.h +++ b/gtk/inspector/menu.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef _GTK_INSPECTOR_MENU_H_ -#define _GTK_INSPECTOR_MENU_H_ +#pragma once #include @@ -49,6 +48,5 @@ void gtk_inspector_menu_set_object (GtkInspectorMenu *sl, G_END_DECLS -#endif // _GTK_INSPECTOR_MENU_H_ // vim: set et sw=2 ts=2: diff --git a/gtk/inspector/misc-info.h b/gtk/inspector/misc-info.h index a104389cd8..bbec72f1f0 100644 --- a/gtk/inspector/misc-info.h +++ b/gtk/inspector/misc-info.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef _GTK_INSPECTOR_MISC_INFO_H_ -#define _GTK_INSPECTOR_MISC_INFO_H_ +#pragma once #include "gtkscrolledwindow.h" @@ -34,6 +33,5 @@ void gtk_inspector_misc_info_set_object (GtkInspectorMiscInfo *sl, G_END_DECLS -#endif // _GTK_INSPECTOR_MISC_INFO_H_ // vim: set et sw=2 ts=2: diff --git a/gtk/inspector/object-tree.h b/gtk/inspector/object-tree.h index 5fc457390e..fcfbfd0003 100644 --- a/gtk/inspector/object-tree.h +++ b/gtk/inspector/object-tree.h @@ -20,8 +20,7 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ -#ifndef _GTK_INSPECTOR_OBJECT_TREE_H_ -#define _GTK_INSPECTOR_OBJECT_TREE_H_ +#pragma once #include #include @@ -73,6 +72,5 @@ void gtk_inspector_object_tree_set_display (GtkInspectorObjectTree G_END_DECLS -#endif // _GTK_INSPECTOR_WIDGETTREE_H_ // vim: set et sw=2 ts=2: diff --git a/gtk/inspector/prop-editor.h b/gtk/inspector/prop-editor.h index 32a669b5f9..fa86dcfb3a 100644 --- a/gtk/inspector/prop-editor.h +++ b/gtk/inspector/prop-editor.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef _GTK_INSPECTOR_PROP_EDITOR_H_ -#define _GTK_INSPECTOR_PROP_EDITOR_H_ +#pragma once #include @@ -38,6 +37,5 @@ gboolean gtk_inspector_prop_editor_should_expand (GtkInspectorPropEditor *edit G_END_DECLS -#endif // _GTK_INSPECTOR_PROP_EDITOR_H_ // vim: set et: diff --git a/gtk/inspector/prop-holder.h b/gtk/inspector/prop-holder.h index 2e4e637e5c..e56ed1bdc4 100644 --- a/gtk/inspector/prop-holder.h +++ b/gtk/inspector/prop-holder.h @@ -1,5 +1,4 @@ -#ifndef __PROP_HOLDER_H__ -#define __PROP_HOLDER_H__ +#pragma once #include @@ -14,4 +13,3 @@ GObject *prop_holder_get_object (PropHolder *holder); GParamSpec *prop_holder_get_pspec (PropHolder *holder); const char *prop_holder_get_name (PropHolder *holder); -#endif /* __PROP_HOLDER_H__ */ diff --git a/gtk/inspector/prop-list.h b/gtk/inspector/prop-list.h index cefd4d8c9c..769c1ccdc1 100644 --- a/gtk/inspector/prop-list.h +++ b/gtk/inspector/prop-list.h @@ -20,8 +20,7 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ -#ifndef _GTK_INSPECTOR_PROP_LIST_H_ -#define _GTK_INSPECTOR_PROP_LIST_H_ +#pragma once #include @@ -64,6 +63,5 @@ void strdup_value_contents (const GValue *value, G_END_DECLS -#endif // _GTK_INSPECTOR_PROP_LIST_H_ // vim: set et sw=2 ts=2: diff --git a/gtk/inspector/recorder.h b/gtk/inspector/recorder.h index 1ce908036a..d7cc720069 100644 --- a/gtk/inspector/recorder.h +++ b/gtk/inspector/recorder.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef _GTK_INSPECTOR_RECORDER_H_ -#define _GTK_INSPECTOR_RECORDER_H_ +#pragma once #include @@ -56,6 +55,5 @@ void gtk_inspector_recorder_record_event (GtkInspectorRec G_END_DECLS -#endif // _GTK_INSPECTOR_RECORDER_H_ // vim: set et sw=2 ts=2: diff --git a/gtk/inspector/recording.h b/gtk/inspector/recording.h index dddfdc43fa..915a7b20c0 100644 --- a/gtk/inspector/recording.h +++ b/gtk/inspector/recording.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef _GTK_INSPECTOR_RECORDING_H_ -#define _GTK_INSPECTOR_RECORDING_H_ +#pragma once #include @@ -50,6 +49,5 @@ gint64 gtk_inspector_recording_get_timestamp (GtkInspectorRec G_END_DECLS -#endif // _GTK_INSPECTOR_RECORDING_H_ // vim: set et sw=2 ts=2: diff --git a/gtk/inspector/renderrecording.h b/gtk/inspector/renderrecording.h index 97727078b2..4bdf1858cd 100644 --- a/gtk/inspector/renderrecording.h +++ b/gtk/inspector/renderrecording.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef _GTK_INSPECTOR_RENDER_RECORDING_H_ -#define _GTK_INSPECTOR_RENDER_RECORDING_H_ +#pragma once #include #include @@ -71,6 +70,5 @@ const char * gtk_inspector_render_recording_get_profiler_info G_END_DECLS -#endif // _GTK_INSPECTOR_RENDER_RECORDING_H_ // vim: set et sw=2 ts=2: diff --git a/gtk/inspector/resource-holder.h b/gtk/inspector/resource-holder.h index bb847f887f..fa0ab3c3dd 100644 --- a/gtk/inspector/resource-holder.h +++ b/gtk/inspector/resource-holder.h @@ -1,5 +1,4 @@ -#ifndef __RESOURCE_HOLDER_H__ -#define __RESOURCE_HOLDER_H__ +#pragma once #include @@ -20,5 +19,4 @@ gsize resource_holder_get_size (ResourceHolder *holder); GListModel *resource_holder_get_children (ResourceHolder *holder); ResourceHolder *resource_holder_get_parent (ResourceHolder *holder); -#endif /* __RESOURCE_HOLDER_H__ */ diff --git a/gtk/inspector/resource-list.h b/gtk/inspector/resource-list.h index 9d4d98a0e4..6f26561813 100644 --- a/gtk/inspector/resource-list.h +++ b/gtk/inspector/resource-list.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef _GTK_INSPECTOR_RESOURCE_LIST_H_ -#define _GTK_INSPECTOR_RESOURCE_LIST_H_ +#pragma once #include @@ -33,6 +32,5 @@ GType gtk_inspector_resource_list_get_type (void); G_END_DECLS -#endif // _GTK_INSPECTOR_RESOURCE_LIST_H_ // vim: set et sw=2 ts=2: diff --git a/gtk/inspector/shortcuts.h b/gtk/inspector/shortcuts.h index 145cb86408..5be6ae3028 100644 --- a/gtk/inspector/shortcuts.h +++ b/gtk/inspector/shortcuts.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef _GTK_INSPECTOR_SHORTCUTS_H_ -#define _GTK_INSPECTOR_SHORTCUTS_H_ +#pragma once #include @@ -28,4 +27,3 @@ G_DECLARE_FINAL_TYPE (GtkInspectorShortcuts, gtk_inspector_shortcuts, GTK, INSPE void gtk_inspector_shortcuts_set_object (GtkInspectorShortcuts *sl, GObject *object); -#endif diff --git a/gtk/inspector/size-groups.h b/gtk/inspector/size-groups.h index 42c2ce2ae5..5819d3fc0f 100644 --- a/gtk/inspector/size-groups.h +++ b/gtk/inspector/size-groups.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef _GTK_INSPECTOR_SIZE_GROUPS_H_ -#define _GTK_INSPECTOR_SIZE_GROUPS_H_ +#pragma once #include @@ -46,6 +45,5 @@ void gtk_inspector_size_groups_set_object (GtkInspectorSizeGroups *sl, G_END_DECLS -#endif // _GTK_INSPECTOR_SIZE_GROUPS_H_ // vim: set et sw=2 ts=2: diff --git a/gtk/inspector/startrecording.h b/gtk/inspector/startrecording.h index 24cc9774b8..2dd7f005a0 100644 --- a/gtk/inspector/startrecording.h +++ b/gtk/inspector/startrecording.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef _GTK_INSPECTOR_START_RECORDING_H_ -#define _GTK_INSPECTOR_START_RECORDING_H_ +#pragma once #include #include @@ -54,6 +53,5 @@ GtkInspectorRecording * G_END_DECLS -#endif // _GTK_INSPECTOR_START_RECORDING_H_ // vim: set et sw=2 ts=2: diff --git a/gtk/inspector/statistics.h b/gtk/inspector/statistics.h index 1df3264905..eff9d5d984 100644 --- a/gtk/inspector/statistics.h +++ b/gtk/inspector/statistics.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef _GTK_INSPECTOR_STATISTICS_H_ -#define _GTK_INSPECTOR_STATISTICS_H_ +#pragma once #include @@ -47,6 +46,5 @@ GType gtk_inspector_statistics_get_type (void); G_END_DECLS -#endif // _GTK_INSPECTOR_STATISTICS_H_ // vim: set et sw=2 ts=2: diff --git a/gtk/inspector/strv-editor.h b/gtk/inspector/strv-editor.h index bfe7b06f2e..44c91942d8 100644 --- a/gtk/inspector/strv-editor.h +++ b/gtk/inspector/strv-editor.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef _GTK_INSPECTOR_STRV_EDITOR_H_ -#define _GTK_INSPECTOR_STRV_EDITOR_H_ +#pragma once #include @@ -62,6 +61,5 @@ char **gtk_inspector_strv_editor_get_strv (GtkInspectorStrvEditor *editor); G_END_DECLS -#endif // _GTK_INSPECTOR_STRV_EDITOR_H_ // vim: set et: diff --git a/gtk/inspector/tree-data.h b/gtk/inspector/tree-data.h index 04c848f779..1494eae2d7 100644 --- a/gtk/inspector/tree-data.h +++ b/gtk/inspector/tree-data.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef _GTK_INSPECTOR_TREE_DATA_H_ -#define _GTK_INSPECTOR_TREE_DATA_H_ +#pragma once #include @@ -34,6 +33,5 @@ void gtk_inspector_tree_data_set_object (GtkInspectorTreeData *sl, G_END_DECLS -#endif // _GTK_INSPECTOR_TREE_DATA_H_ // vim: set et sw=2 ts=2: diff --git a/gtk/inspector/type-info.h b/gtk/inspector/type-info.h index f6d8f41608..ddca650308 100644 --- a/gtk/inspector/type-info.h +++ b/gtk/inspector/type-info.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef _GTK_INSPECTOR_TYPE_INFO_H_ -#define _GTK_INSPECTOR_TYPE_INFO_H_ +#pragma once #include @@ -32,4 +31,3 @@ void gtk_inspector_type_popover_set_gtype (GtkInspectorTypePopover *self, G_END_DECLS -#endif \ No newline at end of file diff --git a/gtk/inspector/updatesoverlay.h b/gtk/inspector/updatesoverlay.h index 88c89d29da..ed62457d81 100644 --- a/gtk/inspector/updatesoverlay.h +++ b/gtk/inspector/updatesoverlay.h @@ -17,8 +17,7 @@ * Authors: Benjamin Otte */ -#ifndef __GTK_UPDATES_OVERLAY_H__ -#define __GTK_UPDATES_OVERLAY_H__ +#pragma once #include "inspectoroverlay.h" @@ -31,4 +30,3 @@ GtkInspectorOverlay * gtk_updates_overlay_new (void); G_END_DECLS -#endif /* __GTK_UPDATES_OVERLAY_H__ */ diff --git a/gtk/inspector/variant-editor.h b/gtk/inspector/variant-editor.h index 88a9ae2e2e..dce4e8a40a 100644 --- a/gtk/inspector/variant-editor.h +++ b/gtk/inspector/variant-editor.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef _GTK_INSPECTOR_VARIANT_EDITOR_H_ -#define _GTK_INSPECTOR_VARIANT_EDITOR_H_ +#pragma once #include @@ -49,6 +48,5 @@ GVariant * gtk_inspector_variant_editor_get_value (GtkWidget G_END_DECLS -#endif // _GTK_INSPECTOR_VARIANT_EDITOR_H_ // vim: set et: diff --git a/gtk/inspector/visual.h b/gtk/inspector/visual.h index a1b680e034..ba5d15e38f 100644 --- a/gtk/inspector/visual.h +++ b/gtk/inspector/visual.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef _GTK_INSPECTOR_VISUAL_H_ -#define _GTK_INSPECTOR_VISUAL_H_ +#pragma once #include @@ -35,6 +34,5 @@ void gtk_inspector_visual_set_display (GtkInspectorVisual *vis, G_END_DECLS -#endif // _GTK_INSPECTOR_VISUAL_H_ // vim: set et sw=2 ts=2: diff --git a/gtk/inspector/window.h b/gtk/inspector/window.h index efaec419a5..283a25bf53 100644 --- a/gtk/inspector/window.h +++ b/gtk/inspector/window.h @@ -20,8 +20,7 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ -#ifndef _GTK_INSPECTOR_WINDOW_H_ -#define _GTK_INSPECTOR_WINDOW_H_ +#pragma once #include @@ -162,6 +161,5 @@ gboolean gtk_inspector_handle_event G_END_DECLS -#endif // _GTK_INSPECTOR_WINDOW_H_ // vim: set et sw=2 ts=2: diff --git a/gtk/language-names.h b/gtk/language-names.h index 562f7ae2f8..6f000a6683 100644 --- a/gtk/language-names.h +++ b/gtk/language-names.h @@ -1,5 +1,4 @@ -#ifndef LANGUAGE_NAMES_H -#define LANGUAGE_NAMES_H +#pragma once #include @@ -10,4 +9,3 @@ const char * get_language_name_for_tag (guint32 tag); G_END_DECLS -#endif diff --git a/gtk/timsort/gtktimsortprivate.h b/gtk/timsort/gtktimsortprivate.h index 1fcadbd9a6..d9ac75da60 100644 --- a/gtk/timsort/gtktimsortprivate.h +++ b/gtk/timsort/gtktimsortprivate.h @@ -15,8 +15,7 @@ * License along with this library. If not, see . */ -#ifndef __GTK_TIMSORT_PRIVATE_H__ -#define __GTK_TIMSORT_PRIVATE_H__ +#pragma once #include @@ -119,4 +118,3 @@ void gtk_tim_sort (gpointer GCompareDataFunc compare_func, gpointer user_data); -#endif /* __GTK_TIMSORT_PRIVATE_H__ */