Fix a minor issue in the file portal test
get_data can be called multiple times, so we must not clear the data the first time we get called.
This commit is contained in:
parent
0bffedf5b8
commit
a074f1fe72
@ -48,8 +48,6 @@ drag_data_get (GtkWidget *widget,
|
||||
char **uris = (char **)g_object_get_data (G_OBJECT (widget), "uris");
|
||||
|
||||
gtk_selection_data_set_uris (selection, uris);
|
||||
|
||||
g_object_set_data (G_OBJECT (widget), "uris", NULL);
|
||||
}
|
||||
|
||||
static void
|
||||
|
Loading…
Reference in New Issue
Block a user