diff options
author | Matthias Clasen <mclasen@redhat.com> | 2018-07-15 15:56:56 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2018-07-15 16:42:07 -0400 |
commit | 034f89b17fe820dc5b19702bdc2fe29cd54ee523 (patch) | |
tree | f121b0dff801bfee6dd3f708cb36e5cd37789a1a /gdk | |
parent | 1ea09a327a3f473fb8177ac24b7f1f5f37cf607a (diff) | |
download | gtk+-034f89b17fe820dc5b19702bdc2fe29cd54ee523.tar.gz |
wayland: Drop an unused api
Nothing was calling gdk_wayland_drag_set_source_surface.
Diffstat (limited to 'gdk')
-rw-r--r-- | gdk/wayland/gdkdrag-wayland.c | 13 | ||||
-rw-r--r-- | gdk/wayland/gdkprivate-wayland.h | 3 |
2 files changed, 1 insertions, 15 deletions
diff --git a/gdk/wayland/gdkdrag-wayland.c b/gdk/wayland/gdkdrag-wayland.c index d1c2de069c..5c5e286764 100644 --- a/gdk/wayland/gdkdrag-wayland.c +++ b/gdk/wayland/gdkdrag-wayland.c @@ -355,7 +355,7 @@ gdk_wayland_drag_create_data_source (GdkDrag *drag) } GdkDrag * -_gdk_wayland_surface_drag_begin (GdkSurface *surface, +_gdk_wayland_surface_drag_begin (GdkSurface *surface, GdkDevice *device, GdkContentProvider *content, GdkDragAction actions, @@ -405,14 +405,3 @@ _gdk_wayland_surface_drag_begin (GdkSurface *surface, return drag; } - -void -_gdk_wayland_drag_set_source_surface (GdkDrag *drag, - GdkSurface *surface) -{ - if (drag->source_surface) - g_object_unref (drag->source_surface); - - drag->source_surface = surface ? g_object_ref (surface) : NULL; -} - diff --git a/gdk/wayland/gdkprivate-wayland.h b/gdk/wayland/gdkprivate-wayland.h index 68bd84b4a5..206386b663 100644 --- a/gdk/wayland/gdkprivate-wayland.h +++ b/gdk/wayland/gdkprivate-wayland.h @@ -115,9 +115,6 @@ void gdk_wayland_drop_set_source_actions (GdkDrop void gdk_wayland_drop_set_action (GdkDrop *drop, uint32_t action); -void _gdk_wayland_drag_set_source_surface (GdkDrag *drag, - GdkSurface *surface); - void _gdk_wayland_display_create_surface_impl (GdkDisplay *display, GdkSurface *surface, GdkSurface *real_parent, |