[gtk/dnd-gestures-2: 122/173] testdnd2: Update to the api change in the previous commit
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/dnd-gestures-2: 122/173] testdnd2: Update to the api change in the previous commit
- Date: Wed, 8 Jan 2020 23:59:11 +0000 (UTC)
commit c95659bf3279a3a2a692f915b2e229c29c29f5c9
Author: Matthias Clasen <mclasen redhat com>
Date: Mon Jan 6 20:30:14 2020 -0500
testdnd2: Update to the api change in the previous commit
tests/testdnd2.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/tests/testdnd2.c b/tests/testdnd2.c
index a9e4b8629a..8a04745a66 100644
--- a/tests/testdnd2.c
+++ b/tests/testdnd2.c
@@ -273,7 +273,7 @@ drag_end (GtkDragSource *source)
}
static gboolean
-drag_failed (GtkDragSource *source,
+drag_cancel (GtkDragSource *source,
GdkDrag *drag,
GdkDragCancelReason reason)
{
@@ -306,7 +306,7 @@ make_image (const gchar *icon_name, int hotspot)
g_signal_connect (source, "drag-begin", G_CALLBACK (drag_begin), NULL);
g_signal_connect (source, "drag-end", G_CALLBACK (drag_end), NULL);
- g_signal_connect (source, "drag-failed", G_CALLBACK (drag_failed), NULL);
+ g_signal_connect (source, "drag-cancel", G_CALLBACK (drag_cancel), NULL);
gtk_widget_add_controller (image, GTK_EVENT_CONTROLLER (source));
dest = gtk_drop_target_new (formats, GDK_ACTION_COPY|GDK_ACTION_MOVE|GDK_ACTION_ASK);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]