forked from AuroraMiddleware/gtk
Merge branch 'gdkx-import-doc' into 'master'
Correct GdkX11 import path in docs and include guards Closes #2254 See merge request GNOME/gtk!1188
This commit is contained in:
commit
1b7c6e5687
@ -789,8 +789,6 @@ gdk_drop_get_type
|
||||
</SECTION>
|
||||
|
||||
<SECTION>
|
||||
<INCLUDE>gdk/gdkx.h</INCLUDE>
|
||||
<TITLE>X Window System Interaction</TITLE>
|
||||
<FILE>x_interaction</FILE>
|
||||
GDK_SURFACE_XID
|
||||
GDK_DISPLAY_XDISPLAY
|
||||
|
@ -50,9 +50,10 @@
|
||||
* SECTION:x_interaction
|
||||
* @Short_description: X backend-specific functions
|
||||
* @Title: X Window System Interaction
|
||||
* @Include: gdk/x11/gdkx.h
|
||||
*
|
||||
* The functions in this section are specific to the GDK X11 backend.
|
||||
* To use them, you need to include the `<gdk/gdkx.h>` header and use
|
||||
* To use them, you need to include the `<gdk/x11/gdkx.h>` header and use
|
||||
* the X11-specific pkg-config file `gtk4-x11` to build your application.
|
||||
*
|
||||
* To make your code compile with other GDK backends, guard backend-specific
|
||||
|
@ -16,7 +16,7 @@
|
||||
*/
|
||||
|
||||
#if !defined (__GDKX_H_INSIDE__) && !defined (GDK_COMPILATION)
|
||||
#error "Only <gdk/gdkx.h> can be included directly."
|
||||
#error "Only <gdk/x11/gdkx.h> can be included directly."
|
||||
#endif
|
||||
|
||||
#ifndef __GI_SCANNER__
|
||||
|
@ -19,7 +19,7 @@
|
||||
#define __GDK_X11_APP_LAUNCH_CONTEXT_H__
|
||||
|
||||
#if !defined (__GDKX_H_INSIDE__) && !defined (GDK_COMPILATION)
|
||||
#error "Only <gdk/gdkx.h> can be included directly."
|
||||
#error "Only <gdk/x11/gdkx.h> can be included directly."
|
||||
#endif
|
||||
|
||||
#include <gdk/gdk.h>
|
||||
|
@ -19,7 +19,7 @@
|
||||
#define __GDK_X11_DEVICE_H__
|
||||
|
||||
#if !defined (__GDKX_H_INSIDE__) && !defined (GDK_COMPILATION)
|
||||
#error "Only <gdk/gdkx.h> can be included directly."
|
||||
#error "Only <gdk/x11/gdkx.h> can be included directly."
|
||||
#endif
|
||||
|
||||
#include <gdk/gdk.h>
|
||||
|
@ -19,7 +19,7 @@
|
||||
#define __GDK_X11_DEVICE_MANAGER_H__
|
||||
|
||||
#if !defined (__GDKX_H_INSIDE__) && !defined (GDK_COMPILATION)
|
||||
#error "Only <gdk/gdkx.h> can be included directly."
|
||||
#error "Only <gdk/x11/gdkx.h> can be included directly."
|
||||
#endif
|
||||
|
||||
#include <gdk/gdk.h>
|
||||
|
@ -26,7 +26,7 @@
|
||||
#define __GDK_X11_DISPLAY_H__
|
||||
|
||||
#if !defined (__GDKX_H_INSIDE__) && !defined (GDK_COMPILATION)
|
||||
#error "Only <gdk/gdkx.h> can be included directly."
|
||||
#error "Only <gdk/x11/gdkx.h> can be included directly."
|
||||
#endif
|
||||
|
||||
#include <gdk/gdk.h>
|
||||
|
@ -19,7 +19,7 @@
|
||||
#define __GDK_X11_DND_H__
|
||||
|
||||
#if !defined (__GDKX_H_INSIDE__) && !defined (GDK_COMPILATION)
|
||||
#error "Only <gdk/gdkx.h> can be included directly."
|
||||
#error "Only <gdk/x11/gdkx.h> can be included directly."
|
||||
#endif
|
||||
|
||||
#include <gdk/gdk.h>
|
||||
|
@ -22,7 +22,7 @@
|
||||
#define __GDK_X11_GL_CONTEXT_H__
|
||||
|
||||
#if !defined (__GDKX_H_INSIDE__) && !defined (GDK_COMPILATION)
|
||||
#error "Only <gdk/gdkx.h> can be included directly."
|
||||
#error "Only <gdk/x11/gdkx.h> can be included directly."
|
||||
#endif
|
||||
|
||||
#include <gdk/gdk.h>
|
||||
|
@ -19,7 +19,7 @@
|
||||
#define __GDK_X11_KEYS_H__
|
||||
|
||||
#if !defined (__GDKX_H_INSIDE__) && !defined (GDK_COMPILATION)
|
||||
#error "Only <gdk/gdkx.h> can be included directly."
|
||||
#error "Only <gdk/x11/gdkx.h> can be included directly."
|
||||
#endif
|
||||
|
||||
#include <gdk/gdk.h>
|
||||
|
@ -23,7 +23,7 @@
|
||||
#define __GDK_X11_MONITOR_H__
|
||||
|
||||
#if !defined (__GDKX_H_INSIDE__) && !defined (GDK_COMPILATION)
|
||||
#error "Only <gdk/gdkx.h> can be included directly."
|
||||
#error "Only <gdk/x11/gdkx.h> can be included directly."
|
||||
#endif
|
||||
|
||||
#include <gdk/gdkmonitor.h>
|
||||
|
@ -26,7 +26,7 @@
|
||||
#define __GDK_X11_PROPERTY_H__
|
||||
|
||||
#if !defined (__GDKX_H_INSIDE__) && !defined (GDK_COMPILATION)
|
||||
#error "Only <gdk/gdkx.h> can be included directly."
|
||||
#error "Only <gdk/x11/gdkx.h> can be included directly."
|
||||
#endif
|
||||
|
||||
#include <gdk/gdk.h>
|
||||
|
@ -26,7 +26,7 @@
|
||||
#define __GDK_X11_SCREEN_H__
|
||||
|
||||
#if !defined (__GDKX_H_INSIDE__) && !defined (GDK_COMPILATION)
|
||||
#error "Only <gdk/gdkx.h> can be included directly."
|
||||
#error "Only <gdk/x11/gdkx.h> can be included directly."
|
||||
#endif
|
||||
|
||||
#include <gdk/gdk.h>
|
||||
|
@ -26,7 +26,7 @@
|
||||
#define __GDK_X11_SELECTION_H__
|
||||
|
||||
#if !defined (__GDKX_H_INSIDE__) && !defined (GDK_COMPILATION)
|
||||
#error "Only <gdk/gdkx.h> can be included directly."
|
||||
#error "Only <gdk/x11/gdkx.h> can be included directly."
|
||||
#endif
|
||||
|
||||
#include <gdk/gdk.h>
|
||||
|
@ -26,7 +26,7 @@
|
||||
#define __GDK_X11_SURFACE_H__
|
||||
|
||||
#if !defined (__GDKX_H_INSIDE__) && !defined (GDK_COMPILATION)
|
||||
#error "Only <gdk/gdkx.h> can be included directly."
|
||||
#error "Only <gdk/x11/gdkx.h> can be included directly."
|
||||
#endif
|
||||
|
||||
#include <gdk/gdk.h>
|
||||
|
@ -26,7 +26,7 @@
|
||||
#define __GDK_X11_UTILS_H__
|
||||
|
||||
#if !defined (__GDKX_H_INSIDE__) && !defined (GDK_COMPILATION)
|
||||
#error "Only <gdk/gdkx.h> can be included directly."
|
||||
#error "Only <gdk/x11/gdkx.h> can be included directly."
|
||||
#endif
|
||||
|
||||
#include <gdk/gdk.h>
|
||||
|
Loading…
Reference in New Issue
Block a user