summaryrefslogtreecommitdiff
path: root/gtk/gtkpathbar.c
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2017-11-16 22:50:37 +0100
committerBenjamin Otte <otte@redhat.com>2017-11-16 22:59:43 +0100
commit3f5178dc210f3d88b1b0b08ce671565becf3fd7d (patch)
tree6710aad32c0c9a6a89d5e2b8c09b5684c3429f4d /gtk/gtkpathbar.c
parent5da3059175a79b8b4e501ae05886f9b54f42489d (diff)
downloadgtk+-3f5178dc210f3d88b1b0b08ce671565becf3fd7d.tar.gz
selection: Remove the info uint
Instead of allowing people to pass a uint user-data, insist on them comparing mime types. The user data was a uint instead of a pointer anyway, so uniqueness could not be guaranteed and it caused more issues than it was worth. And that's ignoring the fact that it basically wasn't used.
Diffstat (limited to 'gtk/gtkpathbar.c')
-rw-r--r--gtk/gtkpathbar.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/gtk/gtkpathbar.c b/gtk/gtkpathbar.c
index 2e181d3ad8..c3261c3caf 100644
--- a/gtk/gtkpathbar.c
+++ b/gtk/gtkpathbar.c
@@ -1474,7 +1474,6 @@ static void
button_drag_data_get_cb (GtkWidget *widget,
GdkDragContext *context,
GtkSelectionData *selection_data,
- guint info,
guint time_,
gpointer data)
{