forked from AuroraMiddleware/gtk
Fix a logic error in the gdk_display deprecation
This commit is contained in:
parent
7cf1133d45
commit
4394a972dc
@ -34,7 +34,7 @@
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
#if !defined (GDK_DISABLE_DEPRECATED) && !defined (GDK_MULTIHEAD_SAFE) && defined (GDK_COMPILATION)
|
||||
#if (!defined (GDK_DISABLE_DEPRECATED) && !defined (GDK_MULTIHEAD_SAFE)) || defined (GDK_COMPILATION)
|
||||
extern Display *gdk_display;
|
||||
#endif
|
||||
|
||||
@ -75,7 +75,7 @@ gint gdk_x11_get_default_screen (void);
|
||||
#define GDK_IMAGE_XDISPLAY(image) (gdk_x11_image_get_xdisplay (image))
|
||||
#define GDK_IMAGE_XIMAGE(image) (gdk_x11_image_get_ximage (image))
|
||||
|
||||
#if !defined (GDK_DISABLE_DEPRECATED) && !defined (GDK_MULTIHEAD_SAFE) && defined (GDK_COMPILATION)
|
||||
#if (!defined (GDK_DISABLE_DEPRECATED) && !defined (GDK_MULTIHEAD_SAFE)) || defined (GDK_COMPILATION)
|
||||
#define GDK_DISPLAY() gdk_display
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user