summaryrefslogtreecommitdiff
path: root/gdk/gdkwindow.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2017-08-24 17:40:16 -0400
committerBenjamin Otte <otte@redhat.com>2017-12-03 06:41:08 +0100
commit6ab72b2653cf2b3653cdf32e53eb528e441ebebe (patch)
tree566a2736b0f53cbed8a75841c9ff19f7f5cecd41 /gdk/gdkwindow.c
parent8b1b9f8c5553817ef70bd1a8144001299a406494 (diff)
downloadgtk+-6ab72b2653cf2b3653cdf32e53eb528e441ebebe.tar.gz
Remove GdkDragProtocol from the api
...together with apis that return it. We were not using this information in GTK+ at all, so no need to provide it.
Diffstat (limited to 'gdk/gdkwindow.c')
-rw-r--r--gdk/gdkwindow.c22
1 files changed, 0 insertions, 22 deletions
diff --git a/gdk/gdkwindow.c b/gdk/gdkwindow.c
index ec1bb02102..682893ea08 100644
--- a/gdk/gdkwindow.c
+++ b/gdk/gdkwindow.c
@@ -6924,28 +6924,6 @@ gdk_window_register_dnd (GdkWindow *window)
}
/**
- * gdk_window_get_drag_protocol:
- * @window: the destination window
- * @target: (out) (allow-none) (transfer full): location of the window
- * where the drop should happen. This may be @window or a proxy window,
- * or %NULL if @window does not support Drag and Drop.
- *
- * Finds out the DND protocol supported by a window.
- *
- * Returns: the supported DND protocol.
- *
- * Since: 3.0
- */
-GdkDragProtocol
-gdk_window_get_drag_protocol (GdkWindow *window,
- GdkWindow **target)
-{
- g_return_val_if_fail (GDK_IS_WINDOW (window), GDK_DRAG_PROTO_NONE);
-
- return GDK_WINDOW_IMPL_GET_CLASS (window->impl)->get_drag_protocol (window, target);
-}
-
-/**
* gdk_drag_begin:
* @window: the source window for this drag.
* @formats: (transfer none): the offered formats