Convert headers to #pragma once

The conversion was done by guard2one.
This commit is contained in:
Matthias Clasen 2023-03-31 15:11:10 -04:00
parent 515f39f161
commit a1c5a806b3
848 changed files with 848 additions and 2544 deletions

View File

@ -1,5 +1,4 @@
#ifndef __BROADWAY_H__
#define __BROADWAY_H__
#pragma once
#include <glib.h>
#include <gio/gio.h>
@ -74,4 +73,3 @@ void broadway_output_pong (BroadwayOutput *output);
void broadway_output_set_show_keyboard (BroadwayOutput *output,
gboolean show);
#endif /* __BROADWAY_H__ */

View File

@ -1,5 +1,4 @@
#ifndef __BROADWAY_PROTOCOL_H__
#define __BROADWAY_PROTOCOL_H__
#pragma once
#include <glib.h>
@ -370,4 +369,3 @@ typedef union {
BroadwayReplyUngrabPointer ungrab_pointer;
} BroadwayReply;
#endif /* __BROADWAY_PROTOCOL_H__ */

View File

@ -1,5 +1,4 @@
#ifndef __BROADWAY_SERVER__
#define __BROADWAY_SERVER__
#pragma once
#include "broadway-protocol.h"
#include <glib-object.h>
@ -136,4 +135,3 @@ void broadway_server_surface_set_modal_hint (BroadwayServer *s
gboolean modal_hint);
#endif /* __BROADWAY_SERVER__ */

View File

@ -1,5 +1,4 @@
#ifndef __GDK_BROADWAY_SERVER__
#define __GDK_BROADWAY_SERVER__
#pragma once
#include <gdk/gdktypes.h>
@ -82,4 +81,3 @@ void _gdk_broadway_server_surface_set_modal_hint (GdkBroadwaySer
int id,
gboolean modal_hint);
#endif /* __GDK_BROADWAY_SERVER__ */

View File

@ -22,8 +22,7 @@
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
#ifndef __GDK_BROADWAY_H__
#define __GDK_BROADWAY_H__
#pragma once
#include <gdk/gdk.h>
@ -36,4 +35,3 @@
#undef __GDKBROADWAY_H_INSIDE__
#endif /* __GDK_BROADWAY_H__ */

View File

@ -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 <gdk/broadway/gdkbroadway.h> can be included directly."
@ -52,4 +51,3 @@ GType gdk_broadway_cursor_get_type (void);
G_END_DECLS
#endif /* __GDK_BROADWAY_CURSOR_H__ */

View File

@ -15,8 +15,7 @@
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef __GDK_BROADWAY_DISPLAY_H__
#define __GDK_BROADWAY_DISPLAY_H__
#pragma once
#if !defined (__GDKBROADWAY_H_INSIDE__) && !defined (GTK_COMPILATION)
#error "Only <gdk/broadway/gdkbroadway.h> 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__ */

View File

@ -17,8 +17,7 @@
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef __GDK_BROADWAY_DISPLAY_MANAGER_H__
#define __GDK_BROADWAY_DISPLAY_MANAGER_H__
#pragma once
#if !defined(__GDKBROADWAY_H_INSIDE__) && !defined (GTK_COMPILATION)
#error "Only <gdk/broadway/gdkbroadway.h> 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__ */

View File

@ -19,8 +19,7 @@
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef __GDK_BROADWAY_MONITOR_H__
#define __GDK_BROADWAY_MONITOR_H__
#pragma once
#if !defined (__GDKBROADWAY_H_INSIDE__) && !defined (GTK_COMPILATION)
#error "Only <gdk/broadway/gdkbroadway.h> 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__ */

View File

@ -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 <gdk/gdk.h>
@ -48,4 +47,3 @@ GType gdk_broadway_surface_get_type (void);
G_END_DECLS
#endif /* __GDK_BROADWAY_SURFACE_H__ */

View File

@ -16,8 +16,7 @@
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
*/
#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__ */

View File

@ -15,8 +15,7 @@
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef __GDK_DEVICE_BROADWAY_H__
#define __GDK_DEVICE_BROADWAY_H__
#pragma once
#include <gdk/gdkdeviceprivate.h>
@ -53,4 +52,3 @@ void gdk_broadway_device_query_state (GdkDevice *device,
G_END_DECLS
#endif /* __GDK_DEVICE_BROADWAY_H__ */

View File

@ -19,8 +19,7 @@
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
*/
#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__ */

View File

@ -16,8 +16,7 @@
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
*/
#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__ */

View File

@ -15,8 +15,7 @@
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
*/
#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__ */

View File

@ -15,8 +15,7 @@
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef __GDK_BROADWAY_MONITOR_PRIVATE_H__
#define __GDK_BROADWAY_MONITOR_PRIVATE_H__
#pragma once
#include <glib.h>
#include <gio/gio.h>
@ -35,4 +34,3 @@ struct _GdkBroadwayMonitorClass {
GdkMonitorClass parent_class;
};
#endif

View File

@ -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 <gdk/gdkcursor.h>
#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__ */

View File

@ -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 <gdk/gdksurfaceprivate.h>
#include "gdkbroadwaysurface.h"
@ -80,4 +79,3 @@ GType gdk_surface_broadway_get_type (void);
G_END_DECLS
#endif /* __GDK_SURFACE_BROADWAY_H__ */

View File

@ -15,8 +15,7 @@
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
*/
#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

View File

@ -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__ */

View File

@ -18,8 +18,7 @@
* Author: Alexander Larsson <alexl@redhat.com>
*/
#ifndef __GDK_APP_LAUNCH_CONTEXT_H__
#define __GDK_APP_LAUNCH_CONTEXT_H__
#pragma once
#if !defined (__GDK_H_INSIDE__) && !defined (GTK_COMPILATION)
#error "Only <gdk/gdk.h> 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__ */

View File

@ -15,8 +15,7 @@
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
*/
#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

View File

@ -15,8 +15,7 @@
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef __GDK_CAIRO_H__
#define __GDK_CAIRO_H__
#pragma once
#if !defined (__GDK_H_INSIDE__) && !defined (GTK_COMPILATION)
#error "Only <gdk/gdk.h> can be included directly."
@ -63,4 +62,3 @@ void gdk_cairo_draw_from_gl (cairo_t *cr,
G_END_DECLS
#endif /* __GDK_CAIRO_H__ */

View File

@ -18,8 +18,7 @@
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef __GDK_CAIRO_CONTEXT__
#define __GDK_CAIRO_CONTEXT__
#pragma once
#if !defined (__GDK_H_INSIDE__) && !defined (GTK_COMPILATION)
#error "Only <gdk/gdk.h> can be included directly."
@ -46,4 +45,3 @@ cairo_t * gdk_cairo_context_cairo_create (GdkCair
G_END_DECLS
#endif /* __GDK_CAIRO_CONTEXT__ */

View File

@ -18,8 +18,7 @@
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
*/
#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__ */

View File

@ -15,8 +15,7 @@
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
*/
#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__ */

View File

@ -16,8 +16,7 @@
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef __GDK_CLIPBOARD_H__
#define __GDK_CLIPBOARD_H__
#pragma once
#if !defined (__GDK_H_INSIDE__) && !defined (GTK_COMPILATION)
#error "Only <gdk/gdk.h> can be included directly."
@ -124,4 +123,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GdkClipboard, g_object_unref)
G_END_DECLS
#endif /* __GDK_CLIPBOARD_H__ */

View File

@ -15,8 +15,7 @@
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef __GDK_CLIPBOARD_PRIVATE_H__
#define __GDK_CLIPBOARD_PRIVATE_H__
#pragma once
#include <gdk/gdkclipboard.h>
@ -82,4 +81,3 @@ gboolean gdk_clipboard_write_finish (GdkClipboard
G_END_DECLS
#endif /* __GDK_CLIPBOARD_PRIVATE_H__ */

View File

@ -15,8 +15,7 @@
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef __GTK_CONTENT_DESERIALIZER_H__
#define __GTK_CONTENT_DESERIALIZER_H__
#pragma once
#if !defined (__GDK_H_INSIDE__) && !defined (GTK_COMPILATION)
#error "Only <gdk/gdk.h> can be included directly."
@ -103,4 +102,3 @@ gboolean gdk_content_deserialize_finish (GAsyncR
G_END_DECLS
#endif /* __GDK_CONTENT_DESERIALIZER_H__ */

View File

@ -15,8 +15,7 @@
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef __GTK_CONTENT_FORMATS_H__
#define __GTK_CONTENT_FORMATS_H__
#pragma once
#if !defined (__GDK_H_INSIDE__) && !defined (GTK_COMPILATION)
#error "Only <gdk/gdk.h> 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__ */

View File

@ -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__ */

View File

@ -16,8 +16,7 @@
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef __GDK_CONTENT_PROVIDER_H__
#define __GDK_CONTENT_PROVIDER_H__
#pragma once
#if !defined (__GDK_H_INSIDE__) && !defined (GTK_COMPILATION)
#error "Only <gdk/gdk.h> 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__ */

View File

@ -16,8 +16,7 @@
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef __GDK_CONTENT_PROVIDER_IMPL_H__
#define __GDK_CONTENT_PROVIDER_IMPL_H__
#pragma once
#if !defined (__GDK_H_INSIDE__) && !defined (GTK_COMPILATION)
#error "Only <gdk/gdk.h> 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__ */

View File

@ -15,8 +15,7 @@
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef __GDK_CONTENT_PROVIDER_PRIVATE_H__
#define __GDK_CONTENT_PROVIDER_PRIVATE_H__
#pragma once
#include <gdk/gdkcontentprovider.h>
@ -30,4 +29,3 @@ void gdk_content_provider_detach_clipboard (GdkContentProvi
G_END_DECLS
#endif /* __GDK_CONTENT_PROVIDER_PRIVATE_H__ */

View File

@ -15,8 +15,7 @@
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef __GTK_CONTENT_SERIALIZER_H__
#define __GTK_CONTENT_SERIALIZER_H__
#pragma once
#if !defined (__GDK_H_INSIDE__) && !defined (GTK_COMPILATION)
#error "Only <gdk/gdk.h> can be included directly."
@ -102,4 +101,3 @@ gboolean gdk_content_serialize_finish (GAsyncR
G_END_DECLS
#endif /* __GDK_CONTENT_SERIALIZER_H__ */

View File

@ -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 <gdk/gdk.h> can be included directly."
@ -68,4 +67,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GdkCursor, g_object_unref)
G_END_DECLS
#endif /* __GDK_CURSOR_H__ */

View File

@ -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 <gdk/gdkcursor.h>
@ -58,4 +57,3 @@ gboolean gdk_cursor_equal (gconstpointer
G_END_DECLS
#endif /* __GDK_CURSOR_PRIVATE_H__ */

View File

@ -15,8 +15,7 @@
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef __GDK_DEBUG_PRIVATE_H__
#define __GDK_DEBUG_PRIVATE_H__
#pragma once
#include <glib.h>
@ -99,4 +98,3 @@ guint gdk_parse_debug_var (const char *variable,
const GdkDebugKey *keys,
guint nkeys);
#endif /* __GDK_DEBUG_PRIVATE_H__ */

View File

@ -15,8 +15,7 @@
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef __GDK_DEVICE_H__
#define __GDK_DEVICE_H__
#pragma once
#if !defined (__GDK_H_INSIDE__) && !defined (GTK_COMPILATION)
#error "Only <gdk/gdk.h> can be included directly."
@ -131,4 +130,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GdkDevice, g_object_unref)
G_END_DECLS
#endif /* __GDK_DEVICE_H__ */

View File

@ -17,8 +17,7 @@
* Author: Carlos Garnacho <carlosg@gnome.org>
*/
#ifndef __GDK_DEVICE_PAD_H__
#define __GDK_DEVICE_PAD_H__
#pragma once
#if !defined (__GDK_H_INSIDE__) && !defined (GTK_COMPILATION)
#error "Only <gdk/gdk.h> 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__ */

View File

@ -17,8 +17,7 @@
* Author: Carlos Garnacho <carlosg@gnome.org>
*/
#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__ */

View File

@ -15,8 +15,7 @@
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
*/
#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__ */

View File

@ -15,8 +15,7 @@
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef __GDK_DEVICE_TOOL_H__
#define __GDK_DEVICE_TOOL_H__
#pragma once
#if !defined (__GDK_H_INSIDE__) && !defined (GTK_COMPILATION)
#error "Only <gdk/gdk.h> can be included directly."
@ -77,4 +76,3 @@ GdkAxisFlags gdk_device_tool_get_axes (GdkDeviceTool *tool);
G_END_DECLS
#endif /* __GDK_DEVICE_TOOL_H__ */

View File

@ -15,8 +15,7 @@
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
*/
#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__ */

View File

@ -19,8 +19,7 @@
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef __GDK_DISPLAY_H__
#define __GDK_DISPLAY_H__
#pragma once
#if !defined (__GDK_H_INSIDE__) && !defined (GTK_COMPILATION)
#error "Only <gdk/gdk.h> can be included directly."
@ -140,4 +139,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GdkDisplay, g_object_unref)
G_END_DECLS
#endif /* __GDK_DISPLAY_H__ */

View File

@ -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 <gdk/gdk.h> 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__ */

View File

@ -15,8 +15,7 @@
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
*/
#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

View File

@ -15,8 +15,7 @@
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
*/
#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__ */

View File

@ -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 <gdk/gdk.h> can be included directly."
@ -103,4 +102,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GdkDrag, g_object_unref)
G_END_DECLS
#endif /* __GDK_DND_H__ */

View File

@ -15,8 +15,7 @@
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
*/
#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

View File

@ -17,8 +17,7 @@
* Authors: Matthias Clasen <mclasen@redhat.com>
*/
#ifndef __GDK_DRAG_SURFACE_H__
#define __GDK_DRAG_SURFACE_H__
#pragma once
#if !defined(__GDK_H_INSIDE__) && !defined(GTK_COMPILATION)
#error "Only <gdk/gdk.h> can be included directly."
@ -40,4 +39,3 @@ gboolean gdk_drag_surface_present (GdkDragSurface *drag_surface,
G_END_DECLS
#endif /* __GDK_DRAG_SURFACE_H__ */

View File

@ -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__ */

View File

@ -18,8 +18,7 @@
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef __GDK_DRAW_CONTEXT__
#define __GDK_DRAW_CONTEXT__
#pragma once
#if !defined (__GDK_H_INSIDE__) && !defined (GTK_COMPILATION)
#error "Only <gdk/gdk.h> can be included directly."
@ -56,4 +55,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GdkDrawContext, g_object_unref)
G_END_DECLS
#endif /* __GDK_DRAW_CONTEXT__ */

View File

@ -18,8 +18,7 @@
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
*/
#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__ */

View File

@ -18,8 +18,7 @@
*/
#ifndef __GDK_DROP_H__
#define __GDK_DROP_H__
#pragma once
#if !defined (__GDK_H_INSIDE__) && !defined (GTK_COMPILATION)
#error "Only <gdk/gdk.h> can be included directly."
@ -87,4 +86,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GdkDrop, g_object_unref)
G_END_DECLS
#endif /* __GDK_DROP_H__ */

View File

@ -17,8 +17,7 @@
* Authors: Benjamin Otte <otte@gnome.org>
*/
#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

View File

@ -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 <gdk/gdk.h> can be included directly."
@ -333,4 +332,3 @@ typedef enum {
G_END_DECLS
#endif /* __GDK_ENUMS_H__ */

View File

@ -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 <gdk/gdk.h> can be included directly."
@ -555,4 +554,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GdkEvent, gdk_event_unref)
G_END_DECLS
#endif /* __GDK_EVENTS_H__ */

View File

@ -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 <gdk/gdktypes.h>
#include <gdk/gdkdrag.h>
@ -635,4 +634,3 @@ double * gdk_event_dup_axes (GdkEvent *event);
G_END_DECLS
#endif /* __GDK_EVENTS_PRIVATE_H__ */

View File

@ -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 <gdk/gdk.h> 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__ */

View File

@ -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__ */

View File

@ -24,8 +24,7 @@
/* Uninstalled header, internal to GDK */
#ifndef __GDK_FRAME_CLOCK_PRIVATE_H__
#define __GDK_FRAME_CLOCK_PRIVATE_H__
#pragma once
#include <gdk/gdkframeclock.h>
#include <gdk/gdkprofilerprivate.h>
@ -129,4 +128,3 @@ void _gdk_frame_clock_emit_resume_events (GdkFrameClock *frame_clock);
G_END_DECLS
#endif /* __GDK_FRAME_CLOCK_PRIVATE_H__ */

View File

@ -15,8 +15,7 @@
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef __GDK_FRAME_TIMINGS_H__
#define __GDK_FRAME_TIMINGS_H__
#pragma once
#if !defined (__GDK_H_INSIDE__) && !defined (GTK_COMPILATION)
#error "Only <gdk/gdk.h> 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__ */

View File

@ -18,8 +18,7 @@
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef __GDK_GL_CONTEXT_H__
#define __GDK_GL_CONTEXT_H__
#pragma once
#if !defined (__GDK_H_INSIDE__) && !defined (GTK_COMPILATION)
#error "Only <gdk/gdk.h> 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__ */

View File

@ -18,8 +18,7 @@
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
*/
#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__ */

View File

@ -16,8 +16,7 @@
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef __GDK_GL_TEXTURE_H__
#define __GDK_GL_TEXTURE_H__
#pragma once
#if !defined (__GDK_H_INSIDE__) && !defined (GTK_COMPILATION)
#error "Only <gdk/gdk.h> 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__ */

View File

@ -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__ */

View File

@ -15,8 +15,7 @@
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef __GTK_HSLA_PRIVATE_H__
#define __GTK_HSLA_PRIVATE_H__
#pragma once
#include <gdk/gdkrgba.h>
@ -43,4 +42,3 @@ void _gdk_hsla_shade (GdkHSLA *dest,
G_END_DECLS
#endif /* __GTK_HSLA_PRIVATE_H__ */

View File

@ -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 <gdk/gdk.h> 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__ */

View File

@ -15,8 +15,7 @@
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
*/
#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

View File

@ -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__ */

View File

@ -17,8 +17,7 @@
* Authors: Benjamin Otte <otte@gnome.org>
*/
#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__ */

View File

@ -17,8 +17,7 @@
* Authors: Benjamin Otte <otte@gnome.org>
*/
#ifndef __GDK_MEMORY_TEXTURE__H__
#define __GDK_MEMORY_TEXTURE__H__
#pragma once
#if !defined (__GDK_H_INSIDE__) && !defined (GTK_COMPILATION)
#error "Only <gdk/gdk.h> can be included directly."
@ -72,4 +71,3 @@ GdkTexture * gdk_memory_texture_new (int
G_END_DECLS
#endif /* __GDK_MEMORY_TEXTURE_H__ */

View File

@ -17,8 +17,7 @@
* Authors: Benjamin Otte <otte@gnome.org>
*/
#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__ */

View File

@ -19,8 +19,7 @@
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef __GDK_MONITOR_H__
#define __GDK_MONITOR_H__
#pragma once
#if !defined (__GDK_H_INSIDE__) && !defined (GTK_COMPILATION)
#error "Only <gdk/gdk.h> can be included directly."
@ -93,4 +92,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GdkMonitor, g_object_unref)
G_END_DECLS
#endif /* __GDK_MONITOR_H__ */

View File

@ -19,8 +19,7 @@
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
*/
#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__ */

View File

@ -17,8 +17,7 @@
* Authors: Benjamin Otte <otte@gnome.org>
*/
#ifndef __GDK_PAINTABLE_H__
#define __GDK_PAINTABLE_H__
#pragma once
#if !defined (__GDK_H_INSIDE__) && !defined (GTK_COMPILATION)
#error "Only <gdk/gdk.h> can be included directly."
@ -146,4 +145,3 @@ GdkPaintable * gdk_paintable_new_empty (int
G_END_DECLS
#endif /* __GDK_PAINTABLE_H__ */

View File

@ -15,8 +15,7 @@
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef __GDK_PANGO_H__
#define __GDK_PANGO_H__
#pragma once
#if !defined (__GDK_H_INSIDE__) && !defined (GTK_COMPILATION)
#error "Only <gdk/gdk.h> 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__ */

View File

@ -16,8 +16,7 @@
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef __GDK_PIPE_IO_STREAM_H__
#define __GDK_PIPE_IO_STREAM_H__
#pragma once
#include <gdk/gdkversionmacros.h>
#include <gio/gio.h>
@ -30,4 +29,3 @@ GIOStream * gdk_pipe_io_stream_new (void);
G_END_DECLS
#endif /* __GDK_PIPE_IO_STREAM_H__ */

View File

@ -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 <gdk/gdk.h> can be included directly."
@ -49,4 +48,3 @@ GdkPixbuf *gdk_pixbuf_get_from_texture (GdkTexture *texture);
G_END_DECLS
#endif /* __GDK_PIXBUF_H__ */

View File

@ -17,8 +17,7 @@
* Authors: Matthias Clasen <mclasen@redhat.com>
*/
#ifndef __GDK_POPUP_H__
#define __GDK_POPUP_H__
#pragma once
#if !defined (__GDK_H_INSIDE__) && !defined (GTK_COMPILATION)
#error "Only <gdk/gdk.h> can be included directly."
@ -60,4 +59,3 @@ gboolean gdk_popup_get_autohide (GdkPopup *popup);
G_END_DECLS
#endif /* __GDK_POPUP_H__ */

View File

@ -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 <gdk/gdk.h> 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__ */

View File

@ -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__ */

View File

@ -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__ */

View File

@ -15,8 +15,7 @@
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
*/
#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__ */

View File

@ -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 <gdk/gdk.h> can be included directly."
@ -61,4 +60,3 @@ GType gdk_rectangle_get_type (void) G_GNUC_CONST;
G_END_DECLS
#endif /* __GDK__RECTANGLE_H__ */

View File

@ -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 <gdk/gdk.h> can be included directly."
@ -73,4 +72,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GdkRGBA, gdk_rgba_free)
G_END_DECLS
#endif /* __GDK_RGBA_H__ */

View File

@ -15,8 +15,7 @@
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
*/
#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

View File

@ -17,8 +17,7 @@
* Author: Carlos Garnacho <carlosg@gnome.org>
*/
#ifndef __GDK_SEAT_H__
#define __GDK_SEAT_H__
#pragma once
#if !defined (__GDK_H_INSIDE__) && !defined (GTK_COMPILATION)
#error "Only <gdk/gdk.h> can be included directly."
@ -90,4 +89,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GdkSeat, g_object_unref)
G_END_DECLS
#endif /* __GDK_SEAT_H__ */

View File

@ -17,8 +17,7 @@
* Author: Carlos Garnacho <carlosg@gnome.org>
*/
#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__ */

View File

@ -17,8 +17,7 @@
* Author: Carlos Garnacho <carlosg@gnome.org>
*/
#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__ */

View File

@ -17,8 +17,7 @@
* Authors: Benjamin Otte <otte@gnome.org>
*/
#ifndef __GDK_SNAPSHOT_H__
#define __GDK_SNAPSHOT_H__
#pragma once
#if !defined (__GDK_H_INSIDE__) && !defined (GTK_COMPILATION)
#error "Only <gdk/gdk.h> can be included directly."
@ -43,4 +42,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GdkSnapshot, g_object_unref)
G_END_DECLS
#endif /* __GDK_SNAPSHOT_H__ */

View File

@ -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__ */

View File

@ -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 <gdk/gdk.h> can be included directly."
@ -142,4 +141,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC (GdkSurface, g_object_unref)
G_END_DECLS
#endif /* __GDK_SURFACE_H__ */

View File

@ -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 <gdk-pixbuf/gdk-pixbuf.h>
#include "gdkenumtypes.h"
@ -351,4 +350,3 @@ gboolean gdk_surface_supports_edge_constraints (GdkSurface *surface);
G_END_DECLS
#endif /* __GDK_SURFACE_PRIVATE_H__ */

View File

@ -16,8 +16,7 @@
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef __GDK_TEXTURE_H__
#define __GDK_TEXTURE_H__
#pragma once
#if !defined (__GDK_H_INSIDE__) && !defined (GTK_COMPILATION)
#error "Only <gdk/gdk.h> can be included directly."
@ -105,4 +104,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GdkTexture, g_object_unref)
G_END_DECLS
#endif /* __GDK_TEXTURE_H__ */

View File

@ -15,8 +15,7 @@
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef __GTK_TEXTURE_DOWNLOADER_H__
#define __GTK_TEXTURE_DOWNLOADER_H__
#pragma once
#if !defined (__GDK_H_INSIDE__) && !defined (GTK_COMPILATION)
#error "Only <gdk/gdk.h> 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__ */

View File

@ -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__ */

View File

@ -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__ */

View File

@ -17,8 +17,7 @@
* Authors: Matthias Clasen <mclasen@redhat.com>
*/
#ifndef __GDK_TOPLEVEL_H__
#define __GDK_TOPLEVEL_H__
#pragma once
#if !defined(__GDK_H_INSIDE__) && !defined(GTK_COMPILATION)
#error "Only <gdk/gdk.h> can be included directly."
@ -217,4 +216,3 @@ gboolean gdk_toplevel_titlebar_gesture (GdkToplevel *toplev
G_END_DECLS
#endif /* __GDK_TOPLEVEL_H__ */

Some files were not shown because too many files have changed in this diff Show More