[gimp] plug-ins: screenshot: Remove GDK_NATIVE_WINDOW_POINTER



commit fa4eb263a07d6a44e9ed7abd38b46d57b0c1f2a9
Author: Niels De Graef <nielsdegraef gmail com>
Date:   Wed Dec 30 12:23:34 2020 +0100

    plug-ins: screenshot: Remove GDK_NATIVE_WINDOW_POINTER
    
    It's a GTK+ 2.0 construct, so anything within such an `#if` will be dead
    code anyway.

 plug-ins/screenshot/screenshot.c | 9 ---------
 1 file changed, 9 deletions(-)
---
diff --git a/plug-ins/screenshot/screenshot.c b/plug-ins/screenshot/screenshot.c
index c1c52acdac..5ed158597b 100644
--- a/plug-ins/screenshot/screenshot.c
+++ b/plug-ins/screenshot/screenshot.c
@@ -44,15 +44,6 @@
 #define PLUG_IN_BINARY "screenshot"
 #define PLUG_IN_ROLE   "gimp-screenshot"
 
-#ifdef __GNUC__
-#ifdef GDK_NATIVE_WINDOW_POINTER
-#if GLIB_SIZEOF_VOID_P != 4
-#warning window_id does not fit in PDB_INT32
-#endif
-#endif
-#endif
-
-
 typedef struct _Screenshot      Screenshot;
 typedef struct _ScreenshotClass ScreenshotClass;
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]