[gtk/wip/otte/for-master: 1/3] gdktypes: Remove GDK_EXTERN_VAR
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/otte/for-master: 1/3] gdktypes: Remove GDK_EXTERN_VAR
- Date: Tue, 26 Oct 2021 15:56:09 +0000 (UTC)
commit 93612c0442b5ea834b0739660d03ea031abb7bcf
Author: Benjamin Otte <otte redhat com>
Date: Mon Oct 25 01:58:35 2021 +0200
gdktypes: Remove GDK_EXTERN_VAR
It is unused.
gdk/gdktypes.h | 23 -----------------------
1 file changed, 23 deletions(-)
---
diff --git a/gdk/gdktypes.h b/gdk/gdktypes.h
index 89c5e7d606..9d2cd8d735 100644
--- a/gdk/gdktypes.h
+++ b/gdk/gdktypes.h
@@ -460,26 +460,3 @@ struct _GdkKeymapKey
G_END_DECLS
-/*< private >
- * GDK_EXTERN_VAR:
- *
- * A macro to annotate extern variables so that they show up properly in
- * Windows DLLs.
- */
-#ifndef GDK_EXTERN_VAR
-# ifdef G_PLATFORM_WIN32
-# ifdef GTK_COMPILATION
-# ifdef DLL_EXPORT
-# define GDK_EXTERN_VAR __declspec(dllexport)
-# else /* !DLL_EXPORT */
-# define GDK_EXTERN_VAR extern
-# endif /* !DLL_EXPORT */
-# else /* !GTK_COMPILATION */
-# define GDK_EXTERN_VAR extern __declspec(dllimport)
-# endif /* !GTK_COMPILATION */
-# else /* !G_PLATFORM_WIN32 */
-# define GDK_EXTERN_VAR _GDK_EXTERN
-# endif /* !G_PLATFORM_WIN32 */
-#endif /* GDK_EXTERN_VAR */
-
-#endif /* __GDK_TYPES_H__ */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]