gdk/win32: fix GDK_NOTE redefined warning
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Tue, 25 Apr 2023 12:11:03 +0000 (16:11 +0400)
committerMarc-André Lureau <marcandre.lureau@redhat.com>
Tue, 25 Apr 2023 12:11:11 +0000 (16:11 +0400)
In file included from ../gdk/win32/gdkdrag-win32.c:201:
../gdk/win32/gdkprivate-win32.h:45: warning: "GDK_NOTE" redefined
   45 | #define GDK_NOTE(type,action)                             \
      |
../gdk/win32/gdkdrag-win32.c:40: note: this is the location of the previous definition
   40 | #define GDK_NOTE(a,b)

Fixes: bc159207bd0 ("gdk: Drop old debug macros")
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
gdk/win32/gdkdrag-win32.c

index 0dd1ec6d50daaf00051e5280325450e756c890ef..4344907be303f0faa6358f96ebad2310ca2b552f 100644 (file)
@@ -37,8 +37,6 @@
 #include <math.h>
 #include <string.h>
 
-#define GDK_NOTE(a,b)
-
 /*
  * Support for OLE-2 drag and drop added at Archaeopteryx Software, 2001
  * For more information, do not contact Stephan R.A. Deibel (sdeibel@archaeopteryx.com),