mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-09 10:20:07 +00:00
Use a single compilation symbol
We use a compilation symbol in our build to allow the inclusion of specific headers while building GTK, to avoid the need to include only the global header. Each namespace has its own compilation symbol because we used to have different libraries, and strict symbol visibility between libraries; now that we have a single library, and we can use private symbols across namespaces while building GTK, we should have a single compilation symbol, and simplify the build rules.
This commit is contained in:
parent
9f69c7f3e8
commit
def700739d
@ -25,7 +25,7 @@
|
|||||||
#ifndef __GDK_BROADWAY_CURSOR_H__
|
#ifndef __GDK_BROADWAY_CURSOR_H__
|
||||||
#define __GDK_BROADWAY_CURSOR_H__
|
#define __GDK_BROADWAY_CURSOR_H__
|
||||||
|
|
||||||
#if !defined (__GDKBROADWAY_H_INSIDE__) && !defined (GDK_COMPILATION)
|
#if !defined (__GDKBROADWAY_H_INSIDE__) && !defined (GTK_COMPILATION)
|
||||||
#error "Only <gdk/broadway/gdkbroadway.h> can be included directly."
|
#error "Only <gdk/broadway/gdkbroadway.h> can be included directly."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -40,7 +40,7 @@ G_BEGIN_DECLS
|
|||||||
#define GDK_IS_BROADWAY_CURSOR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GDK_TYPE_BROADWAY_CURSOR))
|
#define GDK_IS_BROADWAY_CURSOR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GDK_TYPE_BROADWAY_CURSOR))
|
||||||
#define GDK_BROADWAY_CURSOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GDK_TYPE_BROADWAY_CURSOR, GdkBroadwayCursorClass))
|
#define GDK_BROADWAY_CURSOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GDK_TYPE_BROADWAY_CURSOR, GdkBroadwayCursorClass))
|
||||||
|
|
||||||
#ifdef GDK_COMPILATION
|
#ifdef GTK_COMPILATION
|
||||||
typedef struct _GdkBroadwayCursor GdkBroadwayCursor;
|
typedef struct _GdkBroadwayCursor GdkBroadwayCursor;
|
||||||
#else
|
#else
|
||||||
typedef GdkCursor GdkBroadwayCursor;
|
typedef GdkCursor GdkBroadwayCursor;
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
#ifndef __GDK_BROADWAY_DISPLAY_H__
|
#ifndef __GDK_BROADWAY_DISPLAY_H__
|
||||||
#define __GDK_BROADWAY_DISPLAY_H__
|
#define __GDK_BROADWAY_DISPLAY_H__
|
||||||
|
|
||||||
#if !defined (__GDKBROADWAY_H_INSIDE__) && !defined (GDK_COMPILATION)
|
#if !defined (__GDKBROADWAY_H_INSIDE__) && !defined (GTK_COMPILATION)
|
||||||
#error "Only <gdk/broadway/gdkbroadway.h> can be included directly."
|
#error "Only <gdk/broadway/gdkbroadway.h> can be included directly."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -26,7 +26,7 @@
|
|||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
#ifdef GDK_COMPILATION
|
#ifdef GTK_COMPILATION
|
||||||
typedef struct _GdkBroadwayDisplay GdkBroadwayDisplay;
|
typedef struct _GdkBroadwayDisplay GdkBroadwayDisplay;
|
||||||
#else
|
#else
|
||||||
typedef GdkDisplay GdkBroadwayDisplay;
|
typedef GdkDisplay GdkBroadwayDisplay;
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
#ifndef __GDK_BROADWAY_DISPLAY_MANAGER_H__
|
#ifndef __GDK_BROADWAY_DISPLAY_MANAGER_H__
|
||||||
#define __GDK_BROADWAY_DISPLAY_MANAGER_H__
|
#define __GDK_BROADWAY_DISPLAY_MANAGER_H__
|
||||||
|
|
||||||
#if !defined(__GDKBROADWAY_H_INSIDE__) && !defined (GDK_COMPILATION)
|
#if !defined(__GDKBROADWAY_H_INSIDE__) && !defined (GTK_COMPILATION)
|
||||||
#error "Only <gdk/broadway/gdkbroadway.h> can be included directly."
|
#error "Only <gdk/broadway/gdkbroadway.h> can be included directly."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -31,7 +31,7 @@ G_BEGIN_DECLS
|
|||||||
#define GDK_TYPE_BROADWAY_DISPLAY_MANAGER (gdk_broadway_display_manager_get_type ())
|
#define GDK_TYPE_BROADWAY_DISPLAY_MANAGER (gdk_broadway_display_manager_get_type ())
|
||||||
#define GDK_BROADWAY_DISPLAY_MANAGER(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), GDK_TYPE_BROADWAY_DISPLAY_MANAGER, GdkBroadwayDisplayManager))
|
#define GDK_BROADWAY_DISPLAY_MANAGER(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), GDK_TYPE_BROADWAY_DISPLAY_MANAGER, GdkBroadwayDisplayManager))
|
||||||
|
|
||||||
#ifdef GDK_COMPILATION
|
#ifdef GTK_COMPILATION
|
||||||
typedef struct _GdkBroadwayDisplayManager GdkBroadwayDisplayManager;
|
typedef struct _GdkBroadwayDisplayManager GdkBroadwayDisplayManager;
|
||||||
#else
|
#else
|
||||||
typedef GdkDisplayManager _GdkBroadwayDisplayManager;
|
typedef GdkDisplayManager _GdkBroadwayDisplayManager;
|
||||||
|
@ -22,7 +22,7 @@
|
|||||||
#ifndef __GDK_BROADWAY_MONITOR_H__
|
#ifndef __GDK_BROADWAY_MONITOR_H__
|
||||||
#define __GDK_BROADWAY_MONITOR_H__
|
#define __GDK_BROADWAY_MONITOR_H__
|
||||||
|
|
||||||
#if !defined (__GDKBROADWAY_H_INSIDE__) && !defined (GDK_COMPILATION)
|
#if !defined (__GDKBROADWAY_H_INSIDE__) && !defined (GTK_COMPILATION)
|
||||||
#error "Only <gdk/broadway/gdkbroadway.h> can be included directly."
|
#error "Only <gdk/broadway/gdkbroadway.h> can be included directly."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -36,7 +36,7 @@ G_BEGIN_DECLS
|
|||||||
#define GDK_IS_BROADWAY_SURFACE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GDK_TYPE_BROADWAY_SURFACE))
|
#define GDK_IS_BROADWAY_SURFACE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GDK_TYPE_BROADWAY_SURFACE))
|
||||||
#define GDK_BROADWAY_SURFACE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GDK_TYPE_BROADWAY_SURFACE, GdkBroadwaySurfaceClass))
|
#define GDK_BROADWAY_SURFACE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GDK_TYPE_BROADWAY_SURFACE, GdkBroadwaySurfaceClass))
|
||||||
|
|
||||||
#ifdef GDK_COMPILATION
|
#ifdef GTK_COMPILATION
|
||||||
typedef struct _GdkBroadwaySurface GdkBroadwaySurface;
|
typedef struct _GdkBroadwaySurface GdkBroadwaySurface;
|
||||||
#else
|
#else
|
||||||
typedef GdkSurface GdkBroadwaySurface;
|
typedef GdkSurface GdkBroadwaySurface;
|
||||||
|
@ -41,7 +41,7 @@
|
|||||||
#define GDK_IS_BROADWAY_DRAG_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GDK_TYPE_BROADWAY_DRAG))
|
#define GDK_IS_BROADWAY_DRAG_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GDK_TYPE_BROADWAY_DRAG))
|
||||||
#define GDK_BROADWAY_DRAG_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GDK_TYPE_BROADWAY_DRAG, GdkBroadwayDragClass))
|
#define GDK_BROADWAY_DRAG_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GDK_TYPE_BROADWAY_DRAG, GdkBroadwayDragClass))
|
||||||
|
|
||||||
#ifdef GDK_COMPILATION
|
#ifdef GTK_COMPILATION
|
||||||
typedef struct _GdkBroadwayDrag GdkBroadwayDrag;
|
typedef struct _GdkBroadwayDrag GdkBroadwayDrag;
|
||||||
#else
|
#else
|
||||||
typedef GdkDrag GdkBroadwayDrag;
|
typedef GdkDrag GdkBroadwayDrag;
|
||||||
|
@ -57,7 +57,7 @@ libgdk_broadway = static_library('gdk-broadway',
|
|||||||
gdk_broadway_sources, gdkconfig, gdkenum_h,
|
gdk_broadway_sources, gdkconfig, gdkenum_h,
|
||||||
include_directories: [confinc, gdkinc],
|
include_directories: [confinc, gdkinc],
|
||||||
c_args: [
|
c_args: [
|
||||||
'-DGDK_COMPILATION',
|
'-DGTK_COMPILATION',
|
||||||
'-DG_LOG_DOMAIN="Gdk"',
|
'-DG_LOG_DOMAIN="Gdk"',
|
||||||
] + common_cflags,
|
] + common_cflags,
|
||||||
link_args: common_ldflags,
|
link_args: common_ldflags,
|
||||||
@ -71,6 +71,6 @@ executable('gtk4-broadwayd',
|
|||||||
clienthtml_h, broadwayjs_h,
|
clienthtml_h, broadwayjs_h,
|
||||||
'broadwayd.c', 'broadway-server.c', 'broadway-output.c',
|
'broadwayd.c', 'broadway-server.c', 'broadway-output.c',
|
||||||
include_directories: [confinc, gdkinc, include_directories('.')],
|
include_directories: [confinc, gdkinc, include_directories('.')],
|
||||||
c_args: ['-DGDK_COMPILATION', '-DG_LOG_DOMAIN="Gdk"', ],
|
c_args: ['-DGTK_COMPILATION', '-DG_LOG_DOMAIN="Gdk"', ],
|
||||||
dependencies : [broadwayd_syslib, gdk_deps],
|
dependencies : [broadwayd_syslib, gdk_deps],
|
||||||
install : true)
|
install : true)
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
|
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#if !defined (__GDK_H_INSIDE__) && !defined (GDK_COMPILATION)
|
#if !defined (__GDK_H_INSIDE__) && !defined (GTK_COMPILATION)
|
||||||
#error "Only <gdk/gdk.h> can be included directly."
|
#error "Only <gdk/gdk.h> can be included directly."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -21,7 +21,7 @@
|
|||||||
#ifndef __GDK_APP_LAUNCH_CONTEXT_H__
|
#ifndef __GDK_APP_LAUNCH_CONTEXT_H__
|
||||||
#define __GDK_APP_LAUNCH_CONTEXT_H__
|
#define __GDK_APP_LAUNCH_CONTEXT_H__
|
||||||
|
|
||||||
#if !defined (__GDK_H_INSIDE__) && !defined (GDK_COMPILATION)
|
#if !defined (__GDK_H_INSIDE__) && !defined (GTK_COMPILATION)
|
||||||
#error "Only <gdk/gdk.h> can be included directly."
|
#error "Only <gdk/gdk.h> can be included directly."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
#ifndef __GDK_CAIRO_H__
|
#ifndef __GDK_CAIRO_H__
|
||||||
#define __GDK_CAIRO_H__
|
#define __GDK_CAIRO_H__
|
||||||
|
|
||||||
#if !defined (__GDK_H_INSIDE__) && !defined (GDK_COMPILATION)
|
#if !defined (__GDK_H_INSIDE__) && !defined (GTK_COMPILATION)
|
||||||
#error "Only <gdk/gdk.h> can be included directly."
|
#error "Only <gdk/gdk.h> can be included directly."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -21,7 +21,7 @@
|
|||||||
#ifndef __GDK_CAIRO_CONTEXT__
|
#ifndef __GDK_CAIRO_CONTEXT__
|
||||||
#define __GDK_CAIRO_CONTEXT__
|
#define __GDK_CAIRO_CONTEXT__
|
||||||
|
|
||||||
#if !defined (__GDK_H_INSIDE__) && !defined (GDK_COMPILATION)
|
#if !defined (__GDK_H_INSIDE__) && !defined (GTK_COMPILATION)
|
||||||
#error "Only <gdk/gdk.h> can be included directly."
|
#error "Only <gdk/gdk.h> can be included directly."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
#ifndef __GDK_CLIPBOARD_H__
|
#ifndef __GDK_CLIPBOARD_H__
|
||||||
#define __GDK_CLIPBOARD_H__
|
#define __GDK_CLIPBOARD_H__
|
||||||
|
|
||||||
#if !defined (__GDK_H_INSIDE__) && !defined (GDK_COMPILATION)
|
#if !defined (__GDK_H_INSIDE__) && !defined (GTK_COMPILATION)
|
||||||
#error "Only <gdk/gdk.h> can be included directly."
|
#error "Only <gdk/gdk.h> can be included directly."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#ifndef __GDKCONFIG_H__
|
#ifndef __GDKCONFIG_H__
|
||||||
#define __GDKCONFIG_H__
|
#define __GDKCONFIG_H__
|
||||||
|
|
||||||
#if !defined (__GDK_H_INSIDE__) && !defined (GDK_COMPILATION)
|
#if !defined (__GDK_H_INSIDE__) && !defined (GTK_COMPILATION)
|
||||||
#error "Only <gdk/gdk.h> can be included directly."
|
#error "Only <gdk/gdk.h> can be included directly."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
#ifndef __GDKCONFIG_H__
|
#ifndef __GDKCONFIG_H__
|
||||||
#define __GDKCONFIG_H__
|
#define __GDKCONFIG_H__
|
||||||
|
|
||||||
#if !defined (__GDK_H_INSIDE__) && !defined (GDK_COMPILATION)
|
#if !defined (__GDK_H_INSIDE__) && !defined (GTK_COMPILATION)
|
||||||
#error "Only <gdk/gdk.h> can be included directly."
|
#error "Only <gdk/gdk.h> can be included directly."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
#ifndef __GDKCONFIG_H__
|
#ifndef __GDKCONFIG_H__
|
||||||
#define __GDKCONFIG_H__
|
#define __GDKCONFIG_H__
|
||||||
|
|
||||||
#if !defined (__GDK_H_INSIDE__) && !defined (GDK_COMPILATION)
|
#if !defined (__GDK_H_INSIDE__) && !defined (GTK_COMPILATION)
|
||||||
#error "Only <gdk/gdk.h> can be included directly."
|
#error "Only <gdk/gdk.h> can be included directly."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
#ifndef __GTK_CONTENT_DESERIALIZER_H__
|
#ifndef __GTK_CONTENT_DESERIALIZER_H__
|
||||||
#define __GTK_CONTENT_DESERIALIZER_H__
|
#define __GTK_CONTENT_DESERIALIZER_H__
|
||||||
|
|
||||||
#if !defined (__GDK_H_INSIDE__) && !defined (GDK_COMPILATION)
|
#if !defined (__GDK_H_INSIDE__) && !defined (GTK_COMPILATION)
|
||||||
#error "Only <gdk/gdk.h> can be included directly."
|
#error "Only <gdk/gdk.h> can be included directly."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
#ifndef __GTK_CONTENT_FORMATS_H__
|
#ifndef __GTK_CONTENT_FORMATS_H__
|
||||||
#define __GTK_CONTENT_FORMATS_H__
|
#define __GTK_CONTENT_FORMATS_H__
|
||||||
|
|
||||||
#if !defined (__GDK_H_INSIDE__) && !defined (GDK_COMPILATION)
|
#if !defined (__GDK_H_INSIDE__) && !defined (GTK_COMPILATION)
|
||||||
#error "Only <gdk/gdk.h> can be included directly."
|
#error "Only <gdk/gdk.h> can be included directly."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
#ifndef __GDK_CONTENT_PROVIDER_H__
|
#ifndef __GDK_CONTENT_PROVIDER_H__
|
||||||
#define __GDK_CONTENT_PROVIDER_H__
|
#define __GDK_CONTENT_PROVIDER_H__
|
||||||
|
|
||||||
#if !defined (__GDK_H_INSIDE__) && !defined (GDK_COMPILATION)
|
#if !defined (__GDK_H_INSIDE__) && !defined (GTK_COMPILATION)
|
||||||
#error "Only <gdk/gdk.h> can be included directly."
|
#error "Only <gdk/gdk.h> can be included directly."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
#ifndef __GDK_CONTENT_PROVIDER_IMPL_H__
|
#ifndef __GDK_CONTENT_PROVIDER_IMPL_H__
|
||||||
#define __GDK_CONTENT_PROVIDER_IMPL_H__
|
#define __GDK_CONTENT_PROVIDER_IMPL_H__
|
||||||
|
|
||||||
#if !defined (__GDK_H_INSIDE__) && !defined (GDK_COMPILATION)
|
#if !defined (__GDK_H_INSIDE__) && !defined (GTK_COMPILATION)
|
||||||
#error "Only <gdk/gdk.h> can be included directly."
|
#error "Only <gdk/gdk.h> can be included directly."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
#ifndef __GTK_CONTENT_SERIALIZER_H__
|
#ifndef __GTK_CONTENT_SERIALIZER_H__
|
||||||
#define __GTK_CONTENT_SERIALIZER_H__
|
#define __GTK_CONTENT_SERIALIZER_H__
|
||||||
|
|
||||||
#if !defined (__GDK_H_INSIDE__) && !defined (GDK_COMPILATION)
|
#if !defined (__GDK_H_INSIDE__) && !defined (GTK_COMPILATION)
|
||||||
#error "Only <gdk/gdk.h> can be included directly."
|
#error "Only <gdk/gdk.h> can be included directly."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
#ifndef __GDK_CURSOR_H__
|
#ifndef __GDK_CURSOR_H__
|
||||||
#define __GDK_CURSOR_H__
|
#define __GDK_CURSOR_H__
|
||||||
|
|
||||||
#if !defined (__GDK_H_INSIDE__) && !defined (GDK_COMPILATION)
|
#if !defined (__GDK_H_INSIDE__) && !defined (GTK_COMPILATION)
|
||||||
#error "Only <gdk/gdk.h> can be included directly."
|
#error "Only <gdk/gdk.h> can be included directly."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
#ifndef __GDK_DEVICE_H__
|
#ifndef __GDK_DEVICE_H__
|
||||||
#define __GDK_DEVICE_H__
|
#define __GDK_DEVICE_H__
|
||||||
|
|
||||||
#if !defined (__GDK_H_INSIDE__) && !defined (GDK_COMPILATION)
|
#if !defined (__GDK_H_INSIDE__) && !defined (GTK_COMPILATION)
|
||||||
#error "Only <gdk/gdk.h> can be included directly."
|
#error "Only <gdk/gdk.h> can be included directly."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
#ifndef __GDK_DEVICE_PAD_H__
|
#ifndef __GDK_DEVICE_PAD_H__
|
||||||
#define __GDK_DEVICE_PAD_H__
|
#define __GDK_DEVICE_PAD_H__
|
||||||
|
|
||||||
#if !defined (__GDK_H_INSIDE__) && !defined (GDK_COMPILATION)
|
#if !defined (__GDK_H_INSIDE__) && !defined (GTK_COMPILATION)
|
||||||
#error "Only <gdk/gdk.h> can be included directly."
|
#error "Only <gdk/gdk.h> can be included directly."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
#ifndef __GDK_DEVICE_TOOL_H__
|
#ifndef __GDK_DEVICE_TOOL_H__
|
||||||
#define __GDK_DEVICE_TOOL_H__
|
#define __GDK_DEVICE_TOOL_H__
|
||||||
|
|
||||||
#if !defined (__GDK_H_INSIDE__) && !defined (GDK_COMPILATION)
|
#if !defined (__GDK_H_INSIDE__) && !defined (GTK_COMPILATION)
|
||||||
#error "Only <gdk/gdk.h> can be included directly."
|
#error "Only <gdk/gdk.h> can be included directly."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -22,7 +22,7 @@
|
|||||||
#ifndef __GDK_DISPLAY_H__
|
#ifndef __GDK_DISPLAY_H__
|
||||||
#define __GDK_DISPLAY_H__
|
#define __GDK_DISPLAY_H__
|
||||||
|
|
||||||
#if !defined (__GDK_H_INSIDE__) && !defined (GDK_COMPILATION)
|
#if !defined (__GDK_H_INSIDE__) && !defined (GTK_COMPILATION)
|
||||||
#error "Only <gdk/gdk.h> can be included directly."
|
#error "Only <gdk/gdk.h> can be included directly."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
#ifndef __GDK_DISPLAY_MANAGER_H__
|
#ifndef __GDK_DISPLAY_MANAGER_H__
|
||||||
#define __GDK_DISPLAY_MANAGER_H__
|
#define __GDK_DISPLAY_MANAGER_H__
|
||||||
|
|
||||||
#if !defined (__GDK_H_INSIDE__) && !defined (GDK_COMPILATION)
|
#if !defined (__GDK_H_INSIDE__) && !defined (GTK_COMPILATION)
|
||||||
#error "Only <gdk/gdk.h> can be included directly."
|
#error "Only <gdk/gdk.h> can be included directly."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
#ifndef __GDK_DND_H__
|
#ifndef __GDK_DND_H__
|
||||||
#define __GDK_DND_H__
|
#define __GDK_DND_H__
|
||||||
|
|
||||||
#if !defined (__GDK_H_INSIDE__) && !defined (GDK_COMPILATION)
|
#if !defined (__GDK_H_INSIDE__) && !defined (GTK_COMPILATION)
|
||||||
#error "Only <gdk/gdk.h> can be included directly."
|
#error "Only <gdk/gdk.h> can be included directly."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -21,7 +21,7 @@
|
|||||||
#ifndef __GDK_DRAW_CONTEXT__
|
#ifndef __GDK_DRAW_CONTEXT__
|
||||||
#define __GDK_DRAW_CONTEXT__
|
#define __GDK_DRAW_CONTEXT__
|
||||||
|
|
||||||
#if !defined (__GDK_H_INSIDE__) && !defined (GDK_COMPILATION)
|
#if !defined (__GDK_H_INSIDE__) && !defined (GTK_COMPILATION)
|
||||||
#error "Only <gdk/gdk.h> can be included directly."
|
#error "Only <gdk/gdk.h> can be included directly."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -21,7 +21,7 @@
|
|||||||
#ifndef __GDK_DROP_H__
|
#ifndef __GDK_DROP_H__
|
||||||
#define __GDK_DROP_H__
|
#define __GDK_DROP_H__
|
||||||
|
|
||||||
#if !defined (__GDK_H_INSIDE__) && !defined (GDK_COMPILATION)
|
#if !defined (__GDK_H_INSIDE__) && !defined (GTK_COMPILATION)
|
||||||
#error "Only <gdk/gdk.h> can be included directly."
|
#error "Only <gdk/gdk.h> can be included directly."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
#ifndef __GDK_ENUM_TYPES_H__
|
#ifndef __GDK_ENUM_TYPES_H__
|
||||||
#define __GDK_ENUM_TYPES_H__
|
#define __GDK_ENUM_TYPES_H__
|
||||||
|
|
||||||
#if !defined (__GDK_H_INSIDE__) && !defined (GDK_COMPILATION)
|
#if !defined (__GDK_H_INSIDE__) && !defined (GTK_COMPILATION)
|
||||||
#error "Only <gdk/gdk.h> can be included directly."
|
#error "Only <gdk/gdk.h> can be included directly."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
#ifndef __GDK_EVENTS_H__
|
#ifndef __GDK_EVENTS_H__
|
||||||
#define __GDK_EVENTS_H__
|
#define __GDK_EVENTS_H__
|
||||||
|
|
||||||
#if !defined (__GDK_H_INSIDE__) && !defined (GDK_COMPILATION)
|
#if !defined (__GDK_H_INSIDE__) && !defined (GTK_COMPILATION)
|
||||||
#error "Only <gdk/gdk.h> can be included directly."
|
#error "Only <gdk/gdk.h> can be included directly."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
#ifndef __GDK_FRAME_CLOCK_H__
|
#ifndef __GDK_FRAME_CLOCK_H__
|
||||||
#define __GDK_FRAME_CLOCK_H__
|
#define __GDK_FRAME_CLOCK_H__
|
||||||
|
|
||||||
#if !defined (__GDK_H_INSIDE__) && !defined (GDK_COMPILATION)
|
#if !defined (__GDK_H_INSIDE__) && !defined (GTK_COMPILATION)
|
||||||
#error "Only <gdk/gdk.h> can be included directly."
|
#error "Only <gdk/gdk.h> can be included directly."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
#ifndef __GDK_FRAME_TIMINGS_H__
|
#ifndef __GDK_FRAME_TIMINGS_H__
|
||||||
#define __GDK_FRAME_TIMINGS_H__
|
#define __GDK_FRAME_TIMINGS_H__
|
||||||
|
|
||||||
#if !defined (__GDK_H_INSIDE__) && !defined (GDK_COMPILATION)
|
#if !defined (__GDK_H_INSIDE__) && !defined (GTK_COMPILATION)
|
||||||
#error "Only <gdk/gdk.h> can be included directly."
|
#error "Only <gdk/gdk.h> can be included directly."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -21,7 +21,7 @@
|
|||||||
#ifndef __GDK_GL_CONTEXT_H__
|
#ifndef __GDK_GL_CONTEXT_H__
|
||||||
#define __GDK_GL_CONTEXT_H__
|
#define __GDK_GL_CONTEXT_H__
|
||||||
|
|
||||||
#if !defined (__GDK_H_INSIDE__) && !defined (GDK_COMPILATION)
|
#if !defined (__GDK_H_INSIDE__) && !defined (GTK_COMPILATION)
|
||||||
#error "Only <gdk/gdk.h> can be included directly."
|
#error "Only <gdk/gdk.h> can be included directly."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
#ifndef __GDK_GL_TEXTURE_H__
|
#ifndef __GDK_GL_TEXTURE_H__
|
||||||
#define __GDK_GL_TEXTURE_H__
|
#define __GDK_GL_TEXTURE_H__
|
||||||
|
|
||||||
#if !defined (__GDK_H_INSIDE__) && !defined (GDK_COMPILATION)
|
#if !defined (__GDK_H_INSIDE__) && !defined (GTK_COMPILATION)
|
||||||
#error "Only <gdk/gdk.h> can be included directly."
|
#error "Only <gdk/gdk.h> can be included directly."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
#ifndef __GDK_KEYS_H__
|
#ifndef __GDK_KEYS_H__
|
||||||
#define __GDK_KEYS_H__
|
#define __GDK_KEYS_H__
|
||||||
|
|
||||||
#if !defined (__GDK_H_INSIDE__) && !defined (GDK_COMPILATION)
|
#if !defined (__GDK_H_INSIDE__) && !defined (GTK_COMPILATION)
|
||||||
#error "Only <gdk/gdk.h> can be included directly."
|
#error "Only <gdk/gdk.h> can be included directly."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
#ifndef __GDK_MEMORY_TEXTURE__H__
|
#ifndef __GDK_MEMORY_TEXTURE__H__
|
||||||
#define __GDK_MEMORY_TEXTURE__H__
|
#define __GDK_MEMORY_TEXTURE__H__
|
||||||
|
|
||||||
#if !defined (__GDK_H_INSIDE__) && !defined (GDK_COMPILATION)
|
#if !defined (__GDK_H_INSIDE__) && !defined (GTK_COMPILATION)
|
||||||
#error "Only <gdk/gdk.h> can be included directly."
|
#error "Only <gdk/gdk.h> can be included directly."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -22,7 +22,7 @@
|
|||||||
#ifndef __GDK_MONITOR_H__
|
#ifndef __GDK_MONITOR_H__
|
||||||
#define __GDK_MONITOR_H__
|
#define __GDK_MONITOR_H__
|
||||||
|
|
||||||
#if !defined (__GDK_H_INSIDE__) && !defined (GDK_COMPILATION)
|
#if !defined (__GDK_H_INSIDE__) && !defined (GTK_COMPILATION)
|
||||||
#error "Only <gdk/gdk.h> can be included directly."
|
#error "Only <gdk/gdk.h> can be included directly."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
#ifndef __GDK_PAINTABLE_H__
|
#ifndef __GDK_PAINTABLE_H__
|
||||||
#define __GDK_PAINTABLE_H__
|
#define __GDK_PAINTABLE_H__
|
||||||
|
|
||||||
#if !defined (__GDK_H_INSIDE__) && !defined (GDK_COMPILATION)
|
#if !defined (__GDK_H_INSIDE__) && !defined (GTK_COMPILATION)
|
||||||
#error "Only <gdk/gdk.h> can be included directly."
|
#error "Only <gdk/gdk.h> can be included directly."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
#ifndef __GDK_PANGO_H__
|
#ifndef __GDK_PANGO_H__
|
||||||
#define __GDK_PANGO_H__
|
#define __GDK_PANGO_H__
|
||||||
|
|
||||||
#if !defined (__GDK_H_INSIDE__) && !defined (GDK_COMPILATION)
|
#if !defined (__GDK_H_INSIDE__) && !defined (GTK_COMPILATION)
|
||||||
#error "Only <gdk/gdk.h> can be included directly."
|
#error "Only <gdk/gdk.h> can be included directly."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
#ifndef __GDK_PIXBUF_H__
|
#ifndef __GDK_PIXBUF_H__
|
||||||
#define __GDK_PIXBUF_H__
|
#define __GDK_PIXBUF_H__
|
||||||
|
|
||||||
#if !defined (__GDK_H_INSIDE__) && !defined (GDK_COMPILATION)
|
#if !defined (__GDK_H_INSIDE__) && !defined (GTK_COMPILATION)
|
||||||
#error "Only <gdk/gdk.h> can be included directly."
|
#error "Only <gdk/gdk.h> can be included directly."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
#ifndef __GDK_PROPERTY_H__
|
#ifndef __GDK_PROPERTY_H__
|
||||||
#define __GDK_PROPERTY_H__
|
#define __GDK_PROPERTY_H__
|
||||||
|
|
||||||
#if !defined (__GDK_H_INSIDE__) && !defined (GDK_COMPILATION)
|
#if !defined (__GDK_H_INSIDE__) && !defined (GTK_COMPILATION)
|
||||||
#error "Only <gdk/gdk.h> can be included directly."
|
#error "Only <gdk/gdk.h> can be included directly."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
#ifndef __GDK_RECTANGLE_H__
|
#ifndef __GDK_RECTANGLE_H__
|
||||||
#define __GDK_RECTANGLE_H__
|
#define __GDK_RECTANGLE_H__
|
||||||
|
|
||||||
#if !defined (__GDK_H_INSIDE__) && !defined (GDK_COMPILATION)
|
#if !defined (__GDK_H_INSIDE__) && !defined (GTK_COMPILATION)
|
||||||
#error "Only <gdk/gdk.h> can be included directly."
|
#error "Only <gdk/gdk.h> can be included directly."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
#ifndef __GDK_RGBA_H__
|
#ifndef __GDK_RGBA_H__
|
||||||
#define __GDK_RGBA_H__
|
#define __GDK_RGBA_H__
|
||||||
|
|
||||||
#if !defined (__GDK_H_INSIDE__) && !defined (GDK_COMPILATION)
|
#if !defined (__GDK_H_INSIDE__) && !defined (GTK_COMPILATION)
|
||||||
#error "Only <gdk/gdk.h> can be included directly."
|
#error "Only <gdk/gdk.h> can be included directly."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
#ifndef __GDK_SEAT_H__
|
#ifndef __GDK_SEAT_H__
|
||||||
#define __GDK_SEAT_H__
|
#define __GDK_SEAT_H__
|
||||||
|
|
||||||
#if !defined (__GDK_H_INSIDE__) && !defined (GDK_COMPILATION)
|
#if !defined (__GDK_H_INSIDE__) && !defined (GTK_COMPILATION)
|
||||||
#error "Only <gdk/gdk.h> can be included directly."
|
#error "Only <gdk/gdk.h> can be included directly."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
#ifndef __GDK_SNAPSHOT_H__
|
#ifndef __GDK_SNAPSHOT_H__
|
||||||
#define __GDK_SNAPSHOT_H__
|
#define __GDK_SNAPSHOT_H__
|
||||||
|
|
||||||
#if !defined (__GDK_H_INSIDE__) && !defined (GDK_COMPILATION)
|
#if !defined (__GDK_H_INSIDE__) && !defined (GTK_COMPILATION)
|
||||||
#error "Only <gdk/gdk.h> can be included directly."
|
#error "Only <gdk/gdk.h> can be included directly."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
#ifndef __GDK_SURFACE_H__
|
#ifndef __GDK_SURFACE_H__
|
||||||
#define __GDK_SURFACE_H__
|
#define __GDK_SURFACE_H__
|
||||||
|
|
||||||
#if !defined (__GDK_H_INSIDE__) && !defined (GDK_COMPILATION)
|
#if !defined (__GDK_H_INSIDE__) && !defined (GTK_COMPILATION)
|
||||||
#error "Only <gdk/gdk.h> can be included directly."
|
#error "Only <gdk/gdk.h> can be included directly."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
#ifndef __GDK_TEXTURE_H__
|
#ifndef __GDK_TEXTURE_H__
|
||||||
#define __GDK_TEXTURE_H__
|
#define __GDK_TEXTURE_H__
|
||||||
|
|
||||||
#if !defined (__GDK_H_INSIDE__) && !defined (GDK_COMPILATION)
|
#if !defined (__GDK_H_INSIDE__) && !defined (GTK_COMPILATION)
|
||||||
#error "Only <gdk/gdk.h> can be included directly."
|
#error "Only <gdk/gdk.h> can be included directly."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
#ifndef __GDK_TYPES_H__
|
#ifndef __GDK_TYPES_H__
|
||||||
#define __GDK_TYPES_H__
|
#define __GDK_TYPES_H__
|
||||||
|
|
||||||
#if !defined (__GDK_H_INSIDE__) && !defined (GDK_COMPILATION)
|
#if !defined (__GDK_H_INSIDE__) && !defined (GTK_COMPILATION)
|
||||||
#error "Only <gdk/gdk.h> can be included directly."
|
#error "Only <gdk/gdk.h> can be included directly."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
* License along with this library; if not, see <http://www.gnu.org/licenses/>.
|
* License along with this library; if not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#if !defined (__GDK_H_INSIDE__) && !defined (__GTK_CSS_H_INSIDE__) && !defined (GDK_COMPILATION) && !defined (GTK_CSS_COMPILATION)
|
#if !defined (__GDK_H_INSIDE__) && !defined (__GTK_CSS_H_INSIDE__) && !defined (GTK_COMPILATION) && !defined (GTK_CSS_COMPILATION)
|
||||||
#error "Only <gdk/gdk.h> can be included directly."
|
#error "Only <gdk/gdk.h> can be included directly."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -21,7 +21,7 @@
|
|||||||
#ifndef __GDK_VULKAN_CONTEXT__
|
#ifndef __GDK_VULKAN_CONTEXT__
|
||||||
#define __GDK_VULKAN_CONTEXT__
|
#define __GDK_VULKAN_CONTEXT__
|
||||||
|
|
||||||
#if !defined (__GDK_H_INSIDE__) && !defined (GDK_COMPILATION)
|
#if !defined (__GDK_H_INSIDE__) && !defined (GTK_COMPILATION)
|
||||||
#error "Only <gdk/gdk.h> can be included directly."
|
#error "Only <gdk/gdk.h> can be included directly."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -234,7 +234,7 @@ libgdk = static_library('gdk',
|
|||||||
link_with: [libgtk_css, ],
|
link_with: [libgtk_css, ],
|
||||||
include_directories: [confinc, gdkx11_inc, wlinc],
|
include_directories: [confinc, gdkx11_inc, wlinc],
|
||||||
c_args: [
|
c_args: [
|
||||||
'-DGDK_COMPILATION',
|
'-DGTK_COMPILATION',
|
||||||
'-DG_LOG_DOMAIN="Gdk"',
|
'-DG_LOG_DOMAIN="Gdk"',
|
||||||
] + common_cflags,
|
] + common_cflags,
|
||||||
link_whole: gdk_backends,
|
link_whole: gdk_backends,
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
#ifndef __GDK_QUARTZ_CURSOR_H__
|
#ifndef __GDK_QUARTZ_CURSOR_H__
|
||||||
#define __GDK_QUARTZ_CURSOR_H__
|
#define __GDK_QUARTZ_CURSOR_H__
|
||||||
|
|
||||||
#if !defined(__GDKQUARTZ_H_INSIDE__) && !defined (GDK_COMPILATION)
|
#if !defined(__GDKQUARTZ_H_INSIDE__) && !defined (GTK_COMPILATION)
|
||||||
#error "Only <gdk/quartz/gdkquartz.h> can be included directly."
|
#error "Only <gdk/quartz/gdkquartz.h> can be included directly."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -35,7 +35,7 @@ G_BEGIN_DECLS
|
|||||||
#define GDK_IS_QUARTZ_CURSOR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GDK_TYPE_QUARTZ_CURSOR))
|
#define GDK_IS_QUARTZ_CURSOR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GDK_TYPE_QUARTZ_CURSOR))
|
||||||
#define GDK_QUARTZ_CURSOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GDK_TYPE_QUARTZ_CURSOR, GdkQuartzCursorClass))
|
#define GDK_QUARTZ_CURSOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GDK_TYPE_QUARTZ_CURSOR, GdkQuartzCursorClass))
|
||||||
|
|
||||||
#ifdef GDK_COMPILATION
|
#ifdef GTK_COMPILATION
|
||||||
typedef struct _GdkQuartzCursor GdkQuartzCursor;
|
typedef struct _GdkQuartzCursor GdkQuartzCursor;
|
||||||
#else
|
#else
|
||||||
typedef GdkCursor GdkQuartzCursor;
|
typedef GdkCursor GdkQuartzCursor;
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
#ifndef __GDK_QUARTZ_DEVICE_CORE_H__
|
#ifndef __GDK_QUARTZ_DEVICE_CORE_H__
|
||||||
#define __GDK_QUARTZ_DEVICE_CORE_H__
|
#define __GDK_QUARTZ_DEVICE_CORE_H__
|
||||||
|
|
||||||
#if !defined(__GDKQUARTZ_H_INSIDE__) && !defined (GDK_COMPILATION)
|
#if !defined(__GDKQUARTZ_H_INSIDE__) && !defined (GTK_COMPILATION)
|
||||||
#error "Only <gdk/quartz/gdkquartz.h> can be included directly."
|
#error "Only <gdk/quartz/gdkquartz.h> can be included directly."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
#ifndef __GDK_QUARTZ_DEVICE_MANAGER_CORE_H__
|
#ifndef __GDK_QUARTZ_DEVICE_MANAGER_CORE_H__
|
||||||
#define __GDK_QUARTZ_DEVICE_MANAGER_CORE_H__
|
#define __GDK_QUARTZ_DEVICE_MANAGER_CORE_H__
|
||||||
|
|
||||||
#if !defined(__GDKQUARTZ_H_INSIDE__) && !defined (GDK_COMPILATION)
|
#if !defined(__GDKQUARTZ_H_INSIDE__) && !defined (GTK_COMPILATION)
|
||||||
#error "Only <gdk/quartz/gdkquartz.h> can be included directly."
|
#error "Only <gdk/quartz/gdkquartz.h> can be included directly."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
#ifndef __GDK_QUARTZ_DISPLAY_H__
|
#ifndef __GDK_QUARTZ_DISPLAY_H__
|
||||||
#define __GDK_QUARTZ_DISPLAY_H__
|
#define __GDK_QUARTZ_DISPLAY_H__
|
||||||
|
|
||||||
#if !defined(__GDKQUARTZ_H_INSIDE__) && !defined (GDK_COMPILATION)
|
#if !defined(__GDKQUARTZ_H_INSIDE__) && !defined (GTK_COMPILATION)
|
||||||
#error "Only <gdk/quartz/gdkquartz.h> can be included directly."
|
#error "Only <gdk/quartz/gdkquartz.h> can be included directly."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -35,7 +35,7 @@ G_BEGIN_DECLS
|
|||||||
#define GDK_IS_QUARTZ_DISPLAY_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GDK_TYPE_QUARTZ_DISPLAY))
|
#define GDK_IS_QUARTZ_DISPLAY_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GDK_TYPE_QUARTZ_DISPLAY))
|
||||||
#define GDK_QUARTZ_DISPLAY_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GDK_TYPE_QUARTZ_DISPLAY, GdkQuartzDisplayClass))
|
#define GDK_QUARTZ_DISPLAY_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GDK_TYPE_QUARTZ_DISPLAY, GdkQuartzDisplayClass))
|
||||||
|
|
||||||
#ifdef GDK_COMPILATION
|
#ifdef GTK_COMPILATION
|
||||||
typedef struct _GdkQuartzDisplay GdkQuartzDisplay;
|
typedef struct _GdkQuartzDisplay GdkQuartzDisplay;
|
||||||
#else
|
#else
|
||||||
typedef GdkDisplay GdkQuartzDisplay;
|
typedef GdkDisplay GdkQuartzDisplay;
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
#ifndef __GDK_QUARTZ_DISPLAY_MANAGER_H__
|
#ifndef __GDK_QUARTZ_DISPLAY_MANAGER_H__
|
||||||
#define __GDK_QUARTZ_DISPLAY_MANAGER_H__
|
#define __GDK_QUARTZ_DISPLAY_MANAGER_H__
|
||||||
|
|
||||||
#if !defined(__GDKQUARTZ_H_INSIDE__) && !defined (GDK_COMPILATION)
|
#if !defined(__GDKQUARTZ_H_INSIDE__) && !defined (GTK_COMPILATION)
|
||||||
#error "Only <gdk/quartz/gdkquartz.h> can be included directly."
|
#error "Only <gdk/quartz/gdkquartz.h> can be included directly."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -31,7 +31,7 @@ G_BEGIN_DECLS
|
|||||||
#define GDK_TYPE_QUARTZ_DISPLAY_MANAGER (gdk_quartz_display_manager_get_type ())
|
#define GDK_TYPE_QUARTZ_DISPLAY_MANAGER (gdk_quartz_display_manager_get_type ())
|
||||||
#define GDK_QUARTZ_DISPLAY_MANAGER(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), GDK_TYPE_QUARTZ_DISPLAY_MANAGER, GdkQuartzDisplayManager))
|
#define GDK_QUARTZ_DISPLAY_MANAGER(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), GDK_TYPE_QUARTZ_DISPLAY_MANAGER, GdkQuartzDisplayManager))
|
||||||
|
|
||||||
#ifdef GDK_COMPILATION
|
#ifdef GTK_COMPILATION
|
||||||
typedef struct _GdkQuartzDisplayManager GdkQuartzDisplayManager;
|
typedef struct _GdkQuartzDisplayManager GdkQuartzDisplayManager;
|
||||||
#else
|
#else
|
||||||
typedef GdkDisplayManager _GdkQuartzDisplayManager;
|
typedef GdkDisplayManager _GdkQuartzDisplayManager;
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
#ifndef __GDK_QUARTZ_DND_H__
|
#ifndef __GDK_QUARTZ_DND_H__
|
||||||
#define __GDK_QUARTZ_DND_H__
|
#define __GDK_QUARTZ_DND_H__
|
||||||
|
|
||||||
#if !defined(__GDKQUARTZ_H_INSIDE__) && !defined (GDK_COMPILATION)
|
#if !defined(__GDKQUARTZ_H_INSIDE__) && !defined (GTK_COMPILATION)
|
||||||
#error "Only <gdk/quartz/gdkquartz.h> can be included directly."
|
#error "Only <gdk/quartz/gdkquartz.h> can be included directly."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -34,7 +34,7 @@ G_BEGIN_DECLS
|
|||||||
#define GDK_IS_QUARTZ_DRAG_CONTEXT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GDK_TYPE_QUARTZ_DRAG_CONTEXT))
|
#define GDK_IS_QUARTZ_DRAG_CONTEXT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GDK_TYPE_QUARTZ_DRAG_CONTEXT))
|
||||||
#define GDK_QUARTZ_DRAG_CONTEXT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GDK_TYPE_QUARTZ_DRAG_CONTEXT, GdkQuartzDragContextClass))
|
#define GDK_QUARTZ_DRAG_CONTEXT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GDK_TYPE_QUARTZ_DRAG_CONTEXT, GdkQuartzDragContextClass))
|
||||||
|
|
||||||
#ifdef GDK_COMPILATION
|
#ifdef GTK_COMPILATION
|
||||||
typedef struct _GdkQuartzDragContext GdkQuartzDragContext;
|
typedef struct _GdkQuartzDragContext GdkQuartzDragContext;
|
||||||
#else
|
#else
|
||||||
typedef GdkDragContext GdkQuartzDragContext;
|
typedef GdkDragContext GdkQuartzDragContext;
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
#ifndef __GDK_QUARTZ_KEYS_H__
|
#ifndef __GDK_QUARTZ_KEYS_H__
|
||||||
#define __GDK_QUARTZ_KEYS_H__
|
#define __GDK_QUARTZ_KEYS_H__
|
||||||
|
|
||||||
#if !defined (__GDKQUARTZ_H_INSIDE__) && !defined (GDK_COMPILATION)
|
#if !defined (__GDKQUARTZ_H_INSIDE__) && !defined (GTK_COMPILATION)
|
||||||
#error "Only <gdk/quartz/gdkquartz.h> can be included directly."
|
#error "Only <gdk/quartz/gdkquartz.h> can be included directly."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -35,7 +35,7 @@ G_BEGIN_DECLS
|
|||||||
#define GDK_IS_QUARTZ_KEYMAP_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GDK_TYPE_QUARTZ_KEYMAP))
|
#define GDK_IS_QUARTZ_KEYMAP_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GDK_TYPE_QUARTZ_KEYMAP))
|
||||||
#define GDK_QUARTZ_KEYMAP_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GDK_TYPE_QUARTZ_KEYMAP, GdkQuartzKeymapClass))
|
#define GDK_QUARTZ_KEYMAP_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GDK_TYPE_QUARTZ_KEYMAP, GdkQuartzKeymapClass))
|
||||||
|
|
||||||
#ifdef GDK_COMPILATION
|
#ifdef GTK_COMPILATION
|
||||||
typedef struct _GdkQuartzKeymap GdkQuartzKeymap;
|
typedef struct _GdkQuartzKeymap GdkQuartzKeymap;
|
||||||
#else
|
#else
|
||||||
typedef GdkKeymap GdkQuartzKeymap;
|
typedef GdkKeymap GdkQuartzKeymap;
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
#ifndef __GDK_QUARTZ_MONITOR_H__
|
#ifndef __GDK_QUARTZ_MONITOR_H__
|
||||||
#define __GDK_QUARTZ_MONITOR_H__
|
#define __GDK_QUARTZ_MONITOR_H__
|
||||||
|
|
||||||
#if !defined (__GDKQUARTZ_H_INSIDE__) && !defined (GDK_COMPILATION)
|
#if !defined (__GDKQUARTZ_H_INSIDE__) && !defined (GTK_COMPILATION)
|
||||||
#error "Only <gdk/quartz/gdkquartz.h> can be included directly."
|
#error "Only <gdk/quartz/gdkquartz.h> can be included directly."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
#ifndef __GDK_QUARTZ_SCREEN_H__
|
#ifndef __GDK_QUARTZ_SCREEN_H__
|
||||||
#define __GDK_QUARTZ_SCREEN_H__
|
#define __GDK_QUARTZ_SCREEN_H__
|
||||||
|
|
||||||
#if !defined(__GDKQUARTZ_H_INSIDE__) && !defined (GDK_COMPILATION)
|
#if !defined(__GDKQUARTZ_H_INSIDE__) && !defined (GTK_COMPILATION)
|
||||||
#error "Only <gdk/quartz/gdkquartz.h> can be included directly."
|
#error "Only <gdk/quartz/gdkquartz.h> can be included directly."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
#ifndef __GDK_QUARTZ_SURFACE_H__
|
#ifndef __GDK_QUARTZ_SURFACE_H__
|
||||||
#define __GDK_QUARTZ_SURFACE_H__
|
#define __GDK_QUARTZ_SURFACE_H__
|
||||||
|
|
||||||
#if !defined (__GDKQUARTZ_H_INSIDE__) && !defined (GDK_COMPILATION)
|
#if !defined (__GDKQUARTZ_H_INSIDE__) && !defined (GTK_COMPILATION)
|
||||||
#error "Only <gdk/quartz/gdkquartz.h> can be included directly."
|
#error "Only <gdk/quartz/gdkquartz.h> can be included directly."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -35,7 +35,7 @@ G_BEGIN_DECLS
|
|||||||
#define GDK_IS_QUARTZ_SURFACE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GDK_TYPE_QUARTZ_SURFACE))
|
#define GDK_IS_QUARTZ_SURFACE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GDK_TYPE_QUARTZ_SURFACE))
|
||||||
#define GDK_QUARTZ_SURFACE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GDK_TYPE_QUARTZ_SURFACE, GdkQuartzSurfaceClass))
|
#define GDK_QUARTZ_SURFACE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GDK_TYPE_QUARTZ_SURFACE, GdkQuartzSurfaceClass))
|
||||||
|
|
||||||
#ifdef GDK_COMPILATION
|
#ifdef GTK_COMPILATION
|
||||||
typedef struct _GdkQuartzSurface GdkQuartzSurface;
|
typedef struct _GdkQuartzSurface GdkQuartzSurface;
|
||||||
#else
|
#else
|
||||||
typedef GdkSurface GdkQuartzSurface;
|
typedef GdkSurface GdkQuartzSurface;
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
#ifndef __GDK_QUARTZ_UTILS_H__
|
#ifndef __GDK_QUARTZ_UTILS_H__
|
||||||
#define __GDK_QUARTZ_UTILS_H__
|
#define __GDK_QUARTZ_UTILS_H__
|
||||||
|
|
||||||
#if !defined (__GDKQUARTZ_H_INSIDE__) && !defined (GDK_COMPILATION)
|
#if !defined (__GDKQUARTZ_H_INSIDE__) && !defined (GTK_COMPILATION)
|
||||||
#error "Only <gdk/quartz/gdkquartz.h> can be included directly."
|
#error "Only <gdk/quartz/gdkquartz.h> can be included directly."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -41,5 +41,5 @@ gdk_quartz_deps = [ # FIXME
|
|||||||
libgdk_quartz = static_library('gdk-quartz',
|
libgdk_quartz = static_library('gdk-quartz',
|
||||||
gdk_quartz_sources, gdkconfig, gdkenum_h,
|
gdk_quartz_sources, gdkconfig, gdkenum_h,
|
||||||
include_directories: [confinc, gdkinc],
|
include_directories: [confinc, gdkinc],
|
||||||
c_args: ['-DGDK_COMPILATION', '-DG_LOG_DOMAIN="Gdk"', '-xobjective-c'],
|
c_args: ['-DGTK_COMPILATION', '-DG_LOG_DOMAIN="Gdk"', '-xobjective-c'],
|
||||||
dependencies: [gdk_deps, gdk_quartz_deps])
|
dependencies: [gdk_deps, gdk_quartz_deps])
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
#ifndef __GDK_WAYLAND_DEVICE_H__
|
#ifndef __GDK_WAYLAND_DEVICE_H__
|
||||||
#define __GDK_WAYLAND_DEVICE_H__
|
#define __GDK_WAYLAND_DEVICE_H__
|
||||||
|
|
||||||
#if !defined (__GDKWAYLAND_H_INSIDE__) && !defined (GDK_COMPILATION)
|
#if !defined (__GDKWAYLAND_H_INSIDE__) && !defined (GTK_COMPILATION)
|
||||||
#error "Only <gdk/wayland/gdkwayland.h> can be included directly."
|
#error "Only <gdk/wayland/gdkwayland.h> can be included directly."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -28,7 +28,7 @@
|
|||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
#ifdef GDK_COMPILATION
|
#ifdef GTK_COMPILATION
|
||||||
typedef struct _GdkWaylandDevice GdkWaylandDevice;
|
typedef struct _GdkWaylandDevice GdkWaylandDevice;
|
||||||
#else
|
#else
|
||||||
typedef GdkDevice GdkWaylandDevice;
|
typedef GdkDevice GdkWaylandDevice;
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
#ifndef __GDK_WAYLAND_DISPLAY_H__
|
#ifndef __GDK_WAYLAND_DISPLAY_H__
|
||||||
#define __GDK_WAYLAND_DISPLAY_H__
|
#define __GDK_WAYLAND_DISPLAY_H__
|
||||||
|
|
||||||
#if !defined (__GDKWAYLAND_H_INSIDE__) && !defined (GDK_COMPILATION)
|
#if !defined (__GDKWAYLAND_H_INSIDE__) && !defined (GTK_COMPILATION)
|
||||||
#error "Only <gdk/wayland/gdkwayland.h> can be included directly."
|
#error "Only <gdk/wayland/gdkwayland.h> can be included directly."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -28,7 +28,7 @@
|
|||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
#ifdef GDK_COMPILATION
|
#ifdef GTK_COMPILATION
|
||||||
typedef struct _GdkWaylandDisplay GdkWaylandDisplay;
|
typedef struct _GdkWaylandDisplay GdkWaylandDisplay;
|
||||||
#else
|
#else
|
||||||
typedef GdkDisplay GdkWaylandDisplay;
|
typedef GdkDisplay GdkWaylandDisplay;
|
||||||
|
@ -22,7 +22,7 @@
|
|||||||
#ifndef __GDK_WAYLAND_GL_CONTEXT_H__
|
#ifndef __GDK_WAYLAND_GL_CONTEXT_H__
|
||||||
#define __GDK_WAYLAND_GL_CONTEXT_H__
|
#define __GDK_WAYLAND_GL_CONTEXT_H__
|
||||||
|
|
||||||
#if !defined (__GDKWAYLAND_H_INSIDE__) && !defined (GDK_COMPILATION)
|
#if !defined (__GDKWAYLAND_H_INSIDE__) && !defined (GTK_COMPILATION)
|
||||||
#error "Only <gdk/wayland/gdkwayland.h> can be included directly."
|
#error "Only <gdk/wayland/gdkwayland.h> can be included directly."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -22,7 +22,7 @@
|
|||||||
#ifndef __GDK_WAYLAND_MONITOR_H__
|
#ifndef __GDK_WAYLAND_MONITOR_H__
|
||||||
#define __GDK_WAYLAND_MONITOR_H__
|
#define __GDK_WAYLAND_MONITOR_H__
|
||||||
|
|
||||||
#if !defined (__GDKWAYLAND_H_INSIDE__) && !defined (GDK_COMPILATION)
|
#if !defined (__GDKWAYLAND_H_INSIDE__) && !defined (GTK_COMPILATION)
|
||||||
#error "Only <gdk/wayland/gdkwayland.h> can be included directly."
|
#error "Only <gdk/wayland/gdkwayland.h> can be included directly."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
#ifndef __GDK_WAYLAND_SURFACE_H__
|
#ifndef __GDK_WAYLAND_SURFACE_H__
|
||||||
#define __GDK_WAYLAND_SURFACE_H__
|
#define __GDK_WAYLAND_SURFACE_H__
|
||||||
|
|
||||||
#if !defined (__GDKWAYLAND_H_INSIDE__) && !defined (GDK_COMPILATION)
|
#if !defined (__GDKWAYLAND_H_INSIDE__) && !defined (GTK_COMPILATION)
|
||||||
#error "Only <gdk/wayland/gdkwayland.h> can be included directly."
|
#error "Only <gdk/wayland/gdkwayland.h> can be included directly."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -28,7 +28,7 @@
|
|||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
#ifdef GDK_COMPILATION
|
#ifdef GTK_COMPILATION
|
||||||
typedef struct _GdkWaylandSurface GdkWaylandSurface;
|
typedef struct _GdkWaylandSurface GdkWaylandSurface;
|
||||||
#else
|
#else
|
||||||
typedef GdkSurface GdkWaylandSurface;
|
typedef GdkSurface GdkWaylandSurface;
|
||||||
|
@ -101,7 +101,7 @@ libgdk_wayland = static_library('gdk-wayland',
|
|||||||
gdk_wayland_sources, gdk_wayland_gen_headers, gdkconfig, gdkenum_h,
|
gdk_wayland_sources, gdk_wayland_gen_headers, gdkconfig, gdkenum_h,
|
||||||
include_directories: [ confinc, gdkinc, ],
|
include_directories: [ confinc, gdkinc, ],
|
||||||
c_args: [
|
c_args: [
|
||||||
'-DGDK_COMPILATION',
|
'-DGTK_COMPILATION',
|
||||||
'-DG_LOG_DOMAIN="Gdk"',
|
'-DG_LOG_DOMAIN="Gdk"',
|
||||||
] + common_cflags,
|
] + common_cflags,
|
||||||
link_args: common_ldflags,
|
link_args: common_ldflags,
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
#ifndef __GDK_WIN32_CURSOR_H__
|
#ifndef __GDK_WIN32_CURSOR_H__
|
||||||
#define __GDK_WIN32_CURSOR_H__
|
#define __GDK_WIN32_CURSOR_H__
|
||||||
|
|
||||||
#if !defined (__GDKWIN32_H_INSIDE__) && !defined (GDK_COMPILATION)
|
#if !defined (__GDKWIN32_H_INSIDE__) && !defined (GTK_COMPILATION)
|
||||||
#error "Only <gdk/gdkwin32.h> can be included directly."
|
#error "Only <gdk/gdkwin32.h> can be included directly."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -56,7 +56,7 @@ struct _GdkWin32HCursorFake
|
|||||||
|
|
||||||
#define gdk_win32_hcursor_get_handle_fast(x) (((struct _GdkWin32HCursorFake *) x)->readonly_handle)
|
#define gdk_win32_hcursor_get_handle_fast(x) (((struct _GdkWin32HCursorFake *) x)->readonly_handle)
|
||||||
|
|
||||||
#if defined (GDK_COMPILATION)
|
#if defined (GTK_COMPILATION)
|
||||||
#define gdk_win32_hcursor_get_handle gdk_win32_hcursor_get_handle_fast
|
#define gdk_win32_hcursor_get_handle gdk_win32_hcursor_get_handle_fast
|
||||||
#else
|
#else
|
||||||
GDK_AVAILABLE_IN_ALL
|
GDK_AVAILABLE_IN_ALL
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
#ifndef __GDK_WIN32_DISPLAY_H__
|
#ifndef __GDK_WIN32_DISPLAY_H__
|
||||||
#define __GDK_WIN32_DISPLAY_H__
|
#define __GDK_WIN32_DISPLAY_H__
|
||||||
|
|
||||||
#if !defined (__GDKWIN32_H_INSIDE__) && !defined (GDK_COMPILATION)
|
#if !defined (__GDKWIN32_H_INSIDE__) && !defined (GTK_COMPILATION)
|
||||||
#error "Only <gdk/gdkwin32.h> can be included directly."
|
#error "Only <gdk/gdkwin32.h> can be included directly."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -35,7 +35,7 @@
|
|||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
#ifdef GDK_COMPILATION
|
#ifdef GTK_COMPILATION
|
||||||
typedef struct _GdkWin32Display GdkWin32Display;
|
typedef struct _GdkWin32Display GdkWin32Display;
|
||||||
#else
|
#else
|
||||||
typedef GdkDisplay GdkWin32Display;
|
typedef GdkDisplay GdkWin32Display;
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
#ifndef __GDK_WIN32_DISPLAY_MANAGER_H__
|
#ifndef __GDK_WIN32_DISPLAY_MANAGER_H__
|
||||||
#define __GDK_WIN32_DISPLAY_MANAGER_H__
|
#define __GDK_WIN32_DISPLAY_MANAGER_H__
|
||||||
|
|
||||||
#if !defined (__GDKWIN32_H_INSIDE__) && !defined (GDK_COMPILATION)
|
#if !defined (__GDKWIN32_H_INSIDE__) && !defined (GTK_COMPILATION)
|
||||||
#error "Only <gdk/gdkwin32.h> can be included directly."
|
#error "Only <gdk/gdkwin32.h> can be included directly."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -26,7 +26,7 @@
|
|||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
#ifdef GDK_COMPILATION
|
#ifdef GTK_COMPILATION
|
||||||
typedef struct _GdkWin32DisplayManager GdkWin32DisplayManager;
|
typedef struct _GdkWin32DisplayManager GdkWin32DisplayManager;
|
||||||
#else
|
#else
|
||||||
typedef GdkDisplayManager GdkWin32DisplayManager;
|
typedef GdkDisplayManager GdkWin32DisplayManager;
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
#ifndef __GDK_WIN32_DND_PRIVATE_H__
|
#ifndef __GDK_WIN32_DND_PRIVATE_H__
|
||||||
#define __GDK_WIN32_DND_PRIVATE_H__
|
#define __GDK_WIN32_DND_PRIVATE_H__
|
||||||
|
|
||||||
#if !defined (__GDKWIN32_H_INSIDE__) && !defined (GDK_COMPILATION)
|
#if !defined (__GDKWIN32_H_INSIDE__) && !defined (GTK_COMPILATION)
|
||||||
#error "Only <gdk/gdkwin32.h> can be included directly."
|
#error "Only <gdk/gdkwin32.h> can be included directly."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
#ifndef __GDK_WIN32_DND_H__
|
#ifndef __GDK_WIN32_DND_H__
|
||||||
#define __GDK_WIN32_DND_H__
|
#define __GDK_WIN32_DND_H__
|
||||||
|
|
||||||
#if !defined (__GDKWIN32_H_INSIDE__) && !defined (GDK_COMPILATION)
|
#if !defined (__GDKWIN32_H_INSIDE__) && !defined (GTK_COMPILATION)
|
||||||
#error "Only <gdk/gdkwin32.h> can be included directly."
|
#error "Only <gdk/gdkwin32.h> can be included directly."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -33,7 +33,7 @@ G_BEGIN_DECLS
|
|||||||
#define GDK_IS_WIN32_DRAG_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GDK_TYPE_WIN32_DRAG))
|
#define GDK_IS_WIN32_DRAG_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GDK_TYPE_WIN32_DRAG))
|
||||||
#define GDK_WIN32_DRAG_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GDK_TYPE_WIN32_DRAG, GdkWin32DragClass))
|
#define GDK_WIN32_DRAG_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GDK_TYPE_WIN32_DRAG, GdkWin32DragClass))
|
||||||
|
|
||||||
#ifdef GDK_COMPILATION
|
#ifdef GTK_COMPILATION
|
||||||
typedef struct _GdkWin32Drag GdkWin32Drag;
|
typedef struct _GdkWin32Drag GdkWin32Drag;
|
||||||
#else
|
#else
|
||||||
typedef GdkDrag GdkWin32Drag;
|
typedef GdkDrag GdkWin32Drag;
|
||||||
|
@ -21,7 +21,7 @@
|
|||||||
#ifndef __GDK_WIN32_GL_CONTEXT_H__
|
#ifndef __GDK_WIN32_GL_CONTEXT_H__
|
||||||
#define __GDK_WIN32_GL_CONTEXT_H__
|
#define __GDK_WIN32_GL_CONTEXT_H__
|
||||||
|
|
||||||
#if !defined (__GDKWIN32_H_INSIDE__) && !defined (GDK_COMPILATION)
|
#if !defined (__GDKWIN32_H_INSIDE__) && !defined (GTK_COMPILATION)
|
||||||
#error "Only <gdk/gdkwin32.h> can be included directly."
|
#error "Only <gdk/gdkwin32.h> can be included directly."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
#ifndef __GDK_WIN32_KEYS_H__
|
#ifndef __GDK_WIN32_KEYS_H__
|
||||||
#define __GDK_WIN32_KEYS_H__
|
#define __GDK_WIN32_KEYS_H__
|
||||||
|
|
||||||
#if !defined (__GDKWIN32_H_INSIDE__) && !defined (GDK_COMPILATION)
|
#if !defined (__GDKWIN32_H_INSIDE__) && !defined (GTK_COMPILATION)
|
||||||
#error "Only <gdk/gdkwin32.h> can be included directly."
|
#error "Only <gdk/gdkwin32.h> can be included directly."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -44,7 +44,7 @@ typedef enum
|
|||||||
GDK_WIN32_KEYMAP_MATCH_EXACT
|
GDK_WIN32_KEYMAP_MATCH_EXACT
|
||||||
} GdkWin32KeymapMatch;
|
} GdkWin32KeymapMatch;
|
||||||
|
|
||||||
#ifdef GDK_COMPILATION
|
#ifdef GTK_COMPILATION
|
||||||
typedef struct _GdkWin32Keymap GdkWin32Keymap;
|
typedef struct _GdkWin32Keymap GdkWin32Keymap;
|
||||||
#else
|
#else
|
||||||
typedef GdkKeymap GdkWin32Keymap;
|
typedef GdkKeymap GdkWin32Keymap;
|
||||||
|
@ -26,7 +26,7 @@
|
|||||||
#ifndef __GDK_WIN32_MISC_H__
|
#ifndef __GDK_WIN32_MISC_H__
|
||||||
#define __GDK_WIN32_MISC_H__
|
#define __GDK_WIN32_MISC_H__
|
||||||
|
|
||||||
#if !defined (__GDKWIN32_H_INSIDE__) && !defined (GDK_COMPILATION)
|
#if !defined (__GDKWIN32_H_INSIDE__) && !defined (GTK_COMPILATION)
|
||||||
#error "Only <gdk/gdkwin32.h> can be included directly."
|
#error "Only <gdk/gdkwin32.h> can be included directly."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -85,7 +85,7 @@ GDK_AVAILABLE_IN_ALL
|
|||||||
GdkSurface * gdk_win32_surface_lookup_for_display (GdkDisplay *display,
|
GdkSurface * gdk_win32_surface_lookup_for_display (GdkDisplay *display,
|
||||||
HWND anid);
|
HWND anid);
|
||||||
|
|
||||||
#if defined (INSIDE_GDK_WIN32) || defined (GDK_COMPILATION) || defined (GTK_COMPILATION)
|
#if defined (INSIDE_GDK_WIN32) || defined (GTK_COMPILATION) || defined (GTK_COMPILATION)
|
||||||
|
|
||||||
/* For internal GTK use only */
|
/* For internal GTK use only */
|
||||||
GDK_AVAILABLE_IN_ALL
|
GDK_AVAILABLE_IN_ALL
|
||||||
|
@ -23,7 +23,7 @@
|
|||||||
#ifndef __GDK_WIN32_MONITOR_H__
|
#ifndef __GDK_WIN32_MONITOR_H__
|
||||||
#define __GDK_WIN32_MONITOR_H__
|
#define __GDK_WIN32_MONITOR_H__
|
||||||
|
|
||||||
#if !defined (__GDKWIN32_H_INSIDE__) && !defined (GDK_COMPILATION)
|
#if !defined (__GDKWIN32_H_INSIDE__) && !defined (GTK_COMPILATION)
|
||||||
#error "Only <gdk/gdkwin32.h> can be included directly."
|
#error "Only <gdk/gdkwin32.h> can be included directly."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -35,7 +35,7 @@ G_BEGIN_DECLS
|
|||||||
#define GDK_WIN32_MONITOR(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), GDK_TYPE_WIN32_MONITOR, GdkWin32Monitor))
|
#define GDK_WIN32_MONITOR(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), GDK_TYPE_WIN32_MONITOR, GdkWin32Monitor))
|
||||||
#define GDK_IS_WIN32_MONITOR(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), GDK_TYPE_WIN32_MONITOR))
|
#define GDK_IS_WIN32_MONITOR(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), GDK_TYPE_WIN32_MONITOR))
|
||||||
|
|
||||||
#ifdef GDK_COMPILATION
|
#ifdef GTK_COMPILATION
|
||||||
typedef struct _GdkWin32Monitor GdkWin32Monitor;
|
typedef struct _GdkWin32Monitor GdkWin32Monitor;
|
||||||
#else
|
#else
|
||||||
typedef GdkMonitor GdkWin32Monitor;
|
typedef GdkMonitor GdkWin32Monitor;
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
#ifndef __GDK_WIN32_SCREEN_H__
|
#ifndef __GDK_WIN32_SCREEN_H__
|
||||||
#define __GDK_WIN32_SCREEN_H__
|
#define __GDK_WIN32_SCREEN_H__
|
||||||
|
|
||||||
#if !defined (__GDKWIN32_H_INSIDE__) && !defined (GDK_COMPILATION)
|
#if !defined (__GDKWIN32_H_INSIDE__) && !defined (GTK_COMPILATION)
|
||||||
#error "Only <gdk/gdkwin32.h> can be included directly."
|
#error "Only <gdk/gdkwin32.h> can be included directly."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
#ifndef __GDK_WIN32_SURFACE_H__
|
#ifndef __GDK_WIN32_SURFACE_H__
|
||||||
#define __GDK_WIN32_SURFACE_H__
|
#define __GDK_WIN32_SURFACE_H__
|
||||||
|
|
||||||
#if !defined (__GDKWIN32_H_INSIDE__) && !defined (GDK_COMPILATION)
|
#if !defined (__GDKWIN32_H_INSIDE__) && !defined (GTK_COMPILATION)
|
||||||
#error "Only <gdk/gdkwin32.h> can be included directly."
|
#error "Only <gdk/gdkwin32.h> can be included directly."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -40,7 +40,7 @@ G_BEGIN_DECLS
|
|||||||
#define GDK_IS_WIN32_SURFACE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GDK_TYPE_WIN32_SURFACE))
|
#define GDK_IS_WIN32_SURFACE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GDK_TYPE_WIN32_SURFACE))
|
||||||
#define GDK_WIN32_SURFACE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GDK_TYPE_WIN32_SURFACE, GdkWin32SurfaceClass))
|
#define GDK_WIN32_SURFACE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GDK_TYPE_WIN32_SURFACE, GdkWin32SurfaceClass))
|
||||||
|
|
||||||
#ifdef GDK_COMPILATION
|
#ifdef GTK_COMPILATION
|
||||||
typedef struct _GdkWin32Surface GdkWin32Surface;
|
typedef struct _GdkWin32Surface GdkWin32Surface;
|
||||||
#else
|
#else
|
||||||
typedef GdkSurface GdkWin32Surface;
|
typedef GdkSurface GdkWin32Surface;
|
||||||
|
@ -50,5 +50,5 @@ gdk_win32_deps = [ # FIXME
|
|||||||
libgdk_win32 = static_library('gdk-win32',
|
libgdk_win32 = static_library('gdk-win32',
|
||||||
gdk_win32_sources, gdkconfig, gdkenum_h,
|
gdk_win32_sources, gdkconfig, gdkenum_h,
|
||||||
include_directories: [confinc, gdkinc],
|
include_directories: [confinc, gdkinc],
|
||||||
c_args: ['-DGDK_COMPILATION', '-DG_LOG_DOMAIN="Gdk"', '-DINSIDE_GDK_WIN32'],
|
c_args: ['-DGTK_COMPILATION', '-DG_LOG_DOMAIN="Gdk"', '-DINSIDE_GDK_WIN32'],
|
||||||
dependencies: [gdk_deps, gdk_win32_deps])
|
dependencies: [gdk_deps, gdk_win32_deps])
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
|
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#if !defined (__GDKX_H_INSIDE__) && !defined (GDK_COMPILATION)
|
#if !defined (__GDKX_H_INSIDE__) && !defined (GTK_COMPILATION)
|
||||||
#error "Only <gdk/x11/gdkx.h> can be included directly."
|
#error "Only <gdk/x11/gdkx.h> can be included directly."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
#ifndef __GDK_X11_APP_LAUNCH_CONTEXT_H__
|
#ifndef __GDK_X11_APP_LAUNCH_CONTEXT_H__
|
||||||
#define __GDK_X11_APP_LAUNCH_CONTEXT_H__
|
#define __GDK_X11_APP_LAUNCH_CONTEXT_H__
|
||||||
|
|
||||||
#if !defined (__GDKX_H_INSIDE__) && !defined (GDK_COMPILATION)
|
#if !defined (__GDKX_H_INSIDE__) && !defined (GTK_COMPILATION)
|
||||||
#error "Only <gdk/x11/gdkx.h> can be included directly."
|
#error "Only <gdk/x11/gdkx.h> can be included directly."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -33,7 +33,7 @@ G_BEGIN_DECLS
|
|||||||
#define GDK_IS_X11_APP_LAUNCH_CONTEXT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GDK_TYPE_X11_APP_LAUNCH_CONTEXT))
|
#define GDK_IS_X11_APP_LAUNCH_CONTEXT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GDK_TYPE_X11_APP_LAUNCH_CONTEXT))
|
||||||
#define GDK_X11_APP_LAUNCH_CONTEXT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GDK_TYPE_X11_APP_LAUNCH_CONTEXT, GdkX11AppLaunchContextClass))
|
#define GDK_X11_APP_LAUNCH_CONTEXT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GDK_TYPE_X11_APP_LAUNCH_CONTEXT, GdkX11AppLaunchContextClass))
|
||||||
|
|
||||||
#ifdef GDK_COMPILATION
|
#ifdef GTK_COMPILATION
|
||||||
typedef struct _GdkX11AppLaunchContext GdkX11AppLaunchContext;
|
typedef struct _GdkX11AppLaunchContext GdkX11AppLaunchContext;
|
||||||
#else
|
#else
|
||||||
typedef GdkAppLaunchContext GdkX11AppLaunchContext;
|
typedef GdkAppLaunchContext GdkX11AppLaunchContext;
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
#ifndef __GDK_X11_DEVICE_H__
|
#ifndef __GDK_X11_DEVICE_H__
|
||||||
#define __GDK_X11_DEVICE_H__
|
#define __GDK_X11_DEVICE_H__
|
||||||
|
|
||||||
#if !defined (__GDKX_H_INSIDE__) && !defined (GDK_COMPILATION)
|
#if !defined (__GDKX_H_INSIDE__) && !defined (GTK_COMPILATION)
|
||||||
#error "Only <gdk/x11/gdkx.h> can be included directly."
|
#error "Only <gdk/x11/gdkx.h> can be included directly."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
#ifndef __GDK_X11_DEVICE_MANAGER_H__
|
#ifndef __GDK_X11_DEVICE_MANAGER_H__
|
||||||
#define __GDK_X11_DEVICE_MANAGER_H__
|
#define __GDK_X11_DEVICE_MANAGER_H__
|
||||||
|
|
||||||
#if !defined (__GDKX_H_INSIDE__) && !defined (GDK_COMPILATION)
|
#if !defined (__GDKX_H_INSIDE__) && !defined (GTK_COMPILATION)
|
||||||
#error "Only <gdk/x11/gdkx.h> can be included directly."
|
#error "Only <gdk/x11/gdkx.h> can be included directly."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
#ifndef __GDK_X11_DISPLAY_H__
|
#ifndef __GDK_X11_DISPLAY_H__
|
||||||
#define __GDK_X11_DISPLAY_H__
|
#define __GDK_X11_DISPLAY_H__
|
||||||
|
|
||||||
#if !defined (__GDKX_H_INSIDE__) && !defined (GDK_COMPILATION)
|
#if !defined (__GDKX_H_INSIDE__) && !defined (GTK_COMPILATION)
|
||||||
#error "Only <gdk/x11/gdkx.h> can be included directly."
|
#error "Only <gdk/x11/gdkx.h> can be included directly."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -37,7 +37,7 @@
|
|||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
#ifdef GDK_COMPILATION
|
#ifdef GTK_COMPILATION
|
||||||
typedef struct _GdkX11Display GdkX11Display;
|
typedef struct _GdkX11Display GdkX11Display;
|
||||||
#else
|
#else
|
||||||
typedef GdkDisplay GdkX11Display;
|
typedef GdkDisplay GdkX11Display;
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
#ifndef __GDK_X11_DND_H__
|
#ifndef __GDK_X11_DND_H__
|
||||||
#define __GDK_X11_DND_H__
|
#define __GDK_X11_DND_H__
|
||||||
|
|
||||||
#if !defined (__GDKX_H_INSIDE__) && !defined (GDK_COMPILATION)
|
#if !defined (__GDKX_H_INSIDE__) && !defined (GTK_COMPILATION)
|
||||||
#error "Only <gdk/x11/gdkx.h> can be included directly."
|
#error "Only <gdk/x11/gdkx.h> can be included directly."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -33,7 +33,7 @@ G_BEGIN_DECLS
|
|||||||
#define GDK_IS_X11_DRAG_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GDK_TYPE_X11_DRAG))
|
#define GDK_IS_X11_DRAG_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GDK_TYPE_X11_DRAG))
|
||||||
#define GDK_X11_DRAG_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GDK_TYPE_X11_DRAG, GdkX11DragClass))
|
#define GDK_X11_DRAG_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GDK_TYPE_X11_DRAG, GdkX11DragClass))
|
||||||
|
|
||||||
#ifdef GDK_COMPILATION
|
#ifdef GTK_COMPILATION
|
||||||
typedef struct _GdkX11Drag GdkX11Drag;
|
typedef struct _GdkX11Drag GdkX11Drag;
|
||||||
#else
|
#else
|
||||||
typedef GdkDrag GdkX11Drag;
|
typedef GdkDrag GdkX11Drag;
|
||||||
|
@ -21,7 +21,7 @@
|
|||||||
#ifndef __GDK_X11_GL_CONTEXT_H__
|
#ifndef __GDK_X11_GL_CONTEXT_H__
|
||||||
#define __GDK_X11_GL_CONTEXT_H__
|
#define __GDK_X11_GL_CONTEXT_H__
|
||||||
|
|
||||||
#if !defined (__GDKX_H_INSIDE__) && !defined (GDK_COMPILATION)
|
#if !defined (__GDKX_H_INSIDE__) && !defined (GTK_COMPILATION)
|
||||||
#error "Only <gdk/x11/gdkx.h> can be included directly."
|
#error "Only <gdk/x11/gdkx.h> can be included directly."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
#ifndef __GDK_X11_KEYS_H__
|
#ifndef __GDK_X11_KEYS_H__
|
||||||
#define __GDK_X11_KEYS_H__
|
#define __GDK_X11_KEYS_H__
|
||||||
|
|
||||||
#if !defined (__GDKX_H_INSIDE__) && !defined (GDK_COMPILATION)
|
#if !defined (__GDKX_H_INSIDE__) && !defined (GTK_COMPILATION)
|
||||||
#error "Only <gdk/x11/gdkx.h> can be included directly."
|
#error "Only <gdk/x11/gdkx.h> can be included directly."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -26,7 +26,7 @@
|
|||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
#ifdef GDK_COMPILATION
|
#ifdef GTK_COMPILATION
|
||||||
typedef struct _GdkX11Keymap GdkX11Keymap;
|
typedef struct _GdkX11Keymap GdkX11Keymap;
|
||||||
#else
|
#else
|
||||||
typedef GdkKeymap GdkX11Keymap;
|
typedef GdkKeymap GdkX11Keymap;
|
||||||
|
@ -22,7 +22,7 @@
|
|||||||
#ifndef __GDK_X11_MONITOR_H__
|
#ifndef __GDK_X11_MONITOR_H__
|
||||||
#define __GDK_X11_MONITOR_H__
|
#define __GDK_X11_MONITOR_H__
|
||||||
|
|
||||||
#if !defined (__GDKX_H_INSIDE__) && !defined (GDK_COMPILATION)
|
#if !defined (__GDKX_H_INSIDE__) && !defined (GTK_COMPILATION)
|
||||||
#error "Only <gdk/x11/gdkx.h> can be included directly."
|
#error "Only <gdk/x11/gdkx.h> can be included directly."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
#ifndef __GDK_X11_PROPERTY_H__
|
#ifndef __GDK_X11_PROPERTY_H__
|
||||||
#define __GDK_X11_PROPERTY_H__
|
#define __GDK_X11_PROPERTY_H__
|
||||||
|
|
||||||
#if !defined (__GDKX_H_INSIDE__) && !defined (GDK_COMPILATION)
|
#if !defined (__GDKX_H_INSIDE__) && !defined (GTK_COMPILATION)
|
||||||
#error "Only <gdk/x11/gdkx.h> can be included directly."
|
#error "Only <gdk/x11/gdkx.h> can be included directly."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
#ifndef __GDK_X11_SCREEN_H__
|
#ifndef __GDK_X11_SCREEN_H__
|
||||||
#define __GDK_X11_SCREEN_H__
|
#define __GDK_X11_SCREEN_H__
|
||||||
|
|
||||||
#if !defined (__GDKX_H_INSIDE__) && !defined (GDK_COMPILATION)
|
#if !defined (__GDKX_H_INSIDE__) && !defined (GTK_COMPILATION)
|
||||||
#error "Only <gdk/x11/gdkx.h> can be included directly."
|
#error "Only <gdk/x11/gdkx.h> can be included directly."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
#ifndef __GDK_X11_SELECTION_H__
|
#ifndef __GDK_X11_SELECTION_H__
|
||||||
#define __GDK_X11_SELECTION_H__
|
#define __GDK_X11_SELECTION_H__
|
||||||
|
|
||||||
#if !defined (__GDKX_H_INSIDE__) && !defined (GDK_COMPILATION)
|
#if !defined (__GDKX_H_INSIDE__) && !defined (GTK_COMPILATION)
|
||||||
#error "Only <gdk/x11/gdkx.h> can be included directly."
|
#error "Only <gdk/x11/gdkx.h> can be included directly."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
#ifndef __GDK_X11_SURFACE_H__
|
#ifndef __GDK_X11_SURFACE_H__
|
||||||
#define __GDK_X11_SURFACE_H__
|
#define __GDK_X11_SURFACE_H__
|
||||||
|
|
||||||
#if !defined (__GDKX_H_INSIDE__) && !defined (GDK_COMPILATION)
|
#if !defined (__GDKX_H_INSIDE__) && !defined (GTK_COMPILATION)
|
||||||
#error "Only <gdk/x11/gdkx.h> can be included directly."
|
#error "Only <gdk/x11/gdkx.h> can be included directly."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -43,7 +43,7 @@ G_BEGIN_DECLS
|
|||||||
#define GDK_IS_X11_SURFACE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GDK_TYPE_X11_SURFACE))
|
#define GDK_IS_X11_SURFACE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GDK_TYPE_X11_SURFACE))
|
||||||
#define GDK_X11_SURFACE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GDK_TYPE_X11_SURFACE, GdkX11SurfaceClass))
|
#define GDK_X11_SURFACE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GDK_TYPE_X11_SURFACE, GdkX11SurfaceClass))
|
||||||
|
|
||||||
#ifdef GDK_COMPILATION
|
#ifdef GTK_COMPILATION
|
||||||
typedef struct _GdkX11Surface GdkX11Surface;
|
typedef struct _GdkX11Surface GdkX11Surface;
|
||||||
#else
|
#else
|
||||||
typedef GdkSurface GdkX11Surface;
|
typedef GdkSurface GdkX11Surface;
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
#ifndef __GDK_X11_UTILS_H__
|
#ifndef __GDK_X11_UTILS_H__
|
||||||
#define __GDK_X11_UTILS_H__
|
#define __GDK_X11_UTILS_H__
|
||||||
|
|
||||||
#if !defined (__GDKX_H_INSIDE__) && !defined (GDK_COMPILATION)
|
#if !defined (__GDKX_H_INSIDE__) && !defined (GTK_COMPILATION)
|
||||||
#error "Only <gdk/x11/gdkx.h> can be included directly."
|
#error "Only <gdk/x11/gdkx.h> can be included directly."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -69,7 +69,7 @@ libgdk_x11 = static_library('gdk-x11', gdkmarshal_h,
|
|||||||
gdk_x11_sources, gdkconfig, gdkenum_h,
|
gdk_x11_sources, gdkconfig, gdkenum_h,
|
||||||
include_directories: [ confinc, gdkinc, ],
|
include_directories: [ confinc, gdkinc, ],
|
||||||
c_args: [
|
c_args: [
|
||||||
'-DGDK_COMPILATION',
|
'-DGTK_COMPILATION',
|
||||||
'-DG_LOG_DOMAIN="Gdk"',
|
'-DG_LOG_DOMAIN="Gdk"',
|
||||||
] + common_cflags,
|
] + common_cflags,
|
||||||
link_args: common_ldflags,
|
link_args: common_ldflags,
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
#if !defined (__GSK_H_INSIDE__) && !defined (GSK_COMPILATION)
|
#if !defined (__GSK_H_INSIDE__) && !defined (GTK_COMPILATION)
|
||||||
#error "Only <gsk/gsk.h> can be included directly."
|
#error "Only <gsk/gsk.h> can be included directly."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
#ifndef __GSK_ENUMS_H__
|
#ifndef __GSK_ENUMS_H__
|
||||||
#define __GSK_ENUMS_H__
|
#define __GSK_ENUMS_H__
|
||||||
|
|
||||||
#if !defined (__GSK_H_INSIDE__) && !defined (GSK_COMPILATION)
|
#if !defined (__GSK_H_INSIDE__) && !defined (GTK_COMPILATION)
|
||||||
#error "Only <gsk/gsk.h> can be included directly."
|
#error "Only <gsk/gsk.h> can be included directly."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
#ifndef __GSK_RENDERER_H__
|
#ifndef __GSK_RENDERER_H__
|
||||||
#define __GSK_RENDERER_H__
|
#define __GSK_RENDERER_H__
|
||||||
|
|
||||||
#if !defined (__GSK_H_INSIDE__) && !defined (GSK_COMPILATION)
|
#if !defined (__GSK_H_INSIDE__) && !defined (GTK_COMPILATION)
|
||||||
#error "Only <gsk/gsk.h> can be included directly."
|
#error "Only <gsk/gsk.h> can be included directly."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user