diff options
author | Christoph Reiter <creiter@src.gnome.org> | 2018-03-01 14:31:57 +0100 |
---|---|---|
committer | Christoph Reiter <creiter@src.gnome.org> | 2018-03-01 14:36:44 +0100 |
commit | 26e2af26ed6c868796c49c091b23723d559241fa (patch) | |
tree | 92776c7b3f1616ba82eaa2c252e76d4612744fe1 /gdk | |
parent | 94d6d56913a1e0564c54d10a3a31fbb4303be2d9 (diff) | |
download | gtk+-26e2af26ed6c868796c49c091b23723d559241fa.tar.gz |
macos: export gdk_quartz_drag_source_context()
It's used in the gtk dnd code but not exported in gdk.
Append a "_libgtk_only" suffix as with other internal exports and
export the symbol.
See #32
Diffstat (limited to 'gdk')
-rw-r--r-- | gdk/quartz/gdkdnd-quartz.c | 2 | ||||
-rw-r--r-- | gdk/quartz/gdkquartzdnd.h | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/gdk/quartz/gdkdnd-quartz.c b/gdk/quartz/gdkdnd-quartz.c index 5c2c59590e..d1ebe5fa04 100644 --- a/gdk/quartz/gdkdnd-quartz.c +++ b/gdk/quartz/gdkdnd-quartz.c @@ -28,7 +28,7 @@ G_DEFINE_TYPE (GdkQuartzDragContext, gdk_quartz_drag_context, GDK_TYPE_DRAG_CONT GdkDragContext *_gdk_quartz_drag_source_context = NULL; GdkDragContext * -gdk_quartz_drag_source_context () +gdk_quartz_drag_source_context_libgtk_only () { return _gdk_quartz_drag_source_context; } diff --git a/gdk/quartz/gdkquartzdnd.h b/gdk/quartz/gdkquartzdnd.h index 1fb4131754..fb578e1b8f 100644 --- a/gdk/quartz/gdkquartzdnd.h +++ b/gdk/quartz/gdkquartzdnd.h @@ -48,6 +48,9 @@ GType gdk_quartz_drag_context_get_type (void); GDK_AVAILABLE_IN_ALL id gdk_quartz_drag_context_get_dragging_info_libgtk_only (GdkDragContext *context); +GDK_AVAILABLE_IN_ALL +GdkDragContext *gdk_quartz_drag_source_context_libgtk_only (void); + G_END_DECLS #endif /* __GDK_QUARTZ_DRAG_CONTEXT_H__ */ |