diff options
| author | Přemysl Eric Janouch <p@janouch.name> | 2022-02-17 11:02:35 +0100 | 
|---|---|---|
| committer | Přemysl Eric Janouch <p@janouch.name> | 2022-02-17 11:02:35 +0100 | 
| commit | 13ddec0274cc861d4e87a94073b6546a40ec1034 (patch) | |
| tree | 2b2daf4d33ee28311e5d8eb5e008649efcb634a5 /src | |
| parent | c899ceff10a01623e7d33c0ea38556113f103afc (diff) | |
| download | tdv-13ddec0274cc861d4e87a94073b6546a40ec1034.tar.gz tdv-13ddec0274cc861d4e87a94073b6546a40ec1034.tar.xz tdv-13ddec0274cc861d4e87a94073b6546a40ec1034.zip | |
Add a missing gtk_drag_finish() call
Diffstat (limited to 'src')
| -rw-r--r-- | src/sdgui.c | 8 | 
1 files changed, 4 insertions, 4 deletions
| diff --git a/src/sdgui.c b/src/sdgui.c index 54ef40d..2c92ac3 100644 --- a/src/sdgui.c +++ b/src/sdgui.c @@ -343,10 +343,9 @@ on_open (G_GNUC_UNUSED GtkMenuItem *item, G_GNUC_UNUSED gpointer data)  }  static void -on_drag_data_received (G_GNUC_UNUSED GtkWidget *widget, -	G_GNUC_UNUSED GdkDragContext *context, G_GNUC_UNUSED gint x, -	G_GNUC_UNUSED gint y, GtkSelectionData *data, G_GNUC_UNUSED guint info, -	G_GNUC_UNUSED guint time, G_GNUC_UNUSED gpointer user_data) +on_drag_data_received (G_GNUC_UNUSED GtkWidget *widget, GdkDragContext *context, +	G_GNUC_UNUSED gint x, G_GNUC_UNUSED gint y, GtkSelectionData *data, +	G_GNUC_UNUSED guint info, guint time, G_GNUC_UNUSED gpointer user_data)  {  	GError *error = NULL;  	gchar **dropped_uris = gtk_selection_data_get_uris (data); @@ -369,6 +368,7 @@ on_drag_data_received (G_GNUC_UNUSED GtkWidget *widget,  		return;  	g_ptr_array_free (new_dictionaries, TRUE); +	gtk_drag_finish (context, error == NULL, FALSE, time);  }  static void | 
