[gtk+] gdk: Remove unused function
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] gdk: Remove unused function
- Date: Wed, 13 Dec 2017 00:13:50 +0000 (UTC)
commit 80dcdd3df6760a0ac2bfe4ed25146327280bef1e
Author: Benjamin Otte <otte redhat com>
Date: Tue Dec 12 03:00:03 2017 +0100
gdk: Remove unused function
Fun fact: This function was never used.
gdk/gdkdnd.c | 6 ------
gdk/gdkdndprivate.h | 2 --
2 files changed, 0 insertions(+), 8 deletions(-)
---
diff --git a/gdk/gdkdnd.c b/gdk/gdkdnd.c
index 8456cd2..956be1a 100644
--- a/gdk/gdkdnd.c
+++ b/gdk/gdkdnd.c
@@ -802,12 +802,6 @@ gdk_drag_context_cancel (GdkDragContext *context,
g_signal_emit (context, signals[CANCEL], 0, reason);
}
-GList *
-gdk_drag_context_list (void)
-{
- return contexts;
-}
-
gboolean
gdk_drag_context_handle_source_event (GdkEvent *event)
{
diff --git a/gdk/gdkdndprivate.h b/gdk/gdkdndprivate.h
index 2982bcb..5cb477a 100644
--- a/gdk/gdkdndprivate.h
+++ b/gdk/gdkdndprivate.h
@@ -146,8 +146,6 @@ struct _GdkDragContext {
guint drop_done : 1; /* Whether gdk_drag_drop_done() was performed */
};
-GList * gdk_drag_context_list (void);
-
void gdk_drag_context_set_device (GdkDragContext *context,
GdkDevice *device);
void gdk_drag_context_set_cursor (GdkDragContext *context,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]