[libdazzle] tests: log drag actions for debugging
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libdazzle] tests: log drag actions for debugging
- Date: Wed, 6 Dec 2017 02:14:08 +0000 (UTC)
commit 9acbae1aaa776290e3cccc6bdc4e55473ae4a8e3
Author: Christian Hergert <chergert redhat com>
Date: Tue Dec 5 17:42:17 2017 -0800
tests: log drag actions for debugging
tests/test-tree.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/tests/test-tree.c b/tests/test-tree.c
index 7c42f00..739794d 100644
--- a/tests/test-tree.c
+++ b/tests/test-tree.c
@@ -98,7 +98,7 @@ drag_data_received_cb (DzlTreeBuilder *builder,
g_assert (DZL_IS_TREE_NODE (node));
g_assert (data != NULL);
- g_print ("Drag data received\n");
+ g_print ("Drag data received: action = %d\n", action);
if (gtk_selection_data_get_target (data) == gdk_atom_intern ("text/uri-list", FALSE))
{
@@ -159,10 +159,10 @@ drag_node_received_cb (DzlTreeBuilder *builder,
g_assert (DZL_IS_TREE_NODE (drop_node));
g_assert (data != NULL);
- g_print ("Drop %s onto %s with pos %d\n",
+ g_print ("Drop %s onto %s with pos %d and action %d\n",
dzl_tree_node_get_text (drag_node),
dzl_tree_node_get_text (drop_node),
- position);
+ position, action);
/* Pretend we succeeded */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]