diff options
author | Christoph Reiter <creiter@src.gnome.org> | 2018-02-27 19:53:43 +0100 |
---|---|---|
committer | Christoph Reiter <creiter@src.gnome.org> | 2018-02-27 19:53:43 +0100 |
commit | 5c0d242ea33ec1be60e6b2ad464dd9087692d7ab (patch) | |
tree | a7fe222094d05ce4dabf006975a6a8738ce533f9 | |
parent | d76c7c82fcf2f2ac98e1e2e239cd414bf35aa9ef (diff) | |
download | gtk+-5c0d242ea33ec1be60e6b2ad464dd9087692d7ab.tar.gz |
macos: Fix gdk_quartz_drag_context_get_dragging_info_libgtk_only symbol export
The header got included without config.h being included first which resulted in the
wrong _GDK_EXTERN macro being used. As a result some symbols weren't exported
and starting a DnD action would crash in the linker.
This patch adds config.h includes in all places where clang complained about
_GDK_EXTERN redefinitions.
See #32 for more info.
-rw-r--r-- | gdk/quartz/GdkQuartzNSWindow.c | 1 | ||||
-rw-r--r-- | gdk/quartz/GdkQuartzView.c | 1 | ||||
-rw-r--r-- | gdk/quartz/gdkdnd-quartz.c | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/gdk/quartz/GdkQuartzNSWindow.c b/gdk/quartz/GdkQuartzNSWindow.c index 4d68048ce8..c66fea73c8 100644 --- a/gdk/quartz/GdkQuartzNSWindow.c +++ b/gdk/quartz/GdkQuartzNSWindow.c @@ -16,6 +16,7 @@ * License along with this library. If not, see <http://www.gnu.org/licenses/>. */ +#include "config.h" #import "GdkQuartzNSWindow.h" #include "gdkquartzwindow.h" #include "gdkdnd-quartz.h" diff --git a/gdk/quartz/GdkQuartzView.c b/gdk/quartz/GdkQuartzView.c index 97c60d051c..7237363f75 100644 --- a/gdk/quartz/GdkQuartzView.c +++ b/gdk/quartz/GdkQuartzView.c @@ -17,6 +17,7 @@ * License along with this library. If not, see <http://www.gnu.org/licenses/>. */ +#include "config.h" #import "GdkQuartzView.h" #include "gdkquartzwindow.h" #include "gdkprivate-quartz.h" diff --git a/gdk/quartz/gdkdnd-quartz.c b/gdk/quartz/gdkdnd-quartz.c index 15b6fed319..b9928acd44 100644 --- a/gdk/quartz/gdkdnd-quartz.c +++ b/gdk/quartz/gdkdnd-quartz.c @@ -16,6 +16,7 @@ * License along with this library. If not, see <http://www.gnu.org/licenses/>. */ +#include "config.h" #include "gdkdnd.h" #include "gdkquartzdnd.h" #include "gdkprivate-quartz.h" |