aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2013-06-20 21:22:25 +0800
committerMatthew Barnes <mbarnes@redhat.com>2013-06-21 03:31:50 +0800
commit2f7f592d638a8d72c7640b8ff7103e39da6d219f (patch)
treeb6e025768e90b275b90d35e0327bae2dab836466 /mail
parentde9391e246bcbf1ff5734e47eccec07bdc4113b8 (diff)
downloadgsoc2013-evolution-2f7f592d638a8d72c7640b8ff7103e39da6d219f.tar.gz
gsoc2013-evolution-2f7f592d638a8d72c7640b8ff7103e39da6d219f.tar.zst
gsoc2013-evolution-2f7f592d638a8d72c7640b8ff7103e39da6d219f.zip
Remove e_tree_drag_dest_set().
Reducing API bloat. Call gtk_drag_dest_set() directly instead.
Diffstat (limited to 'mail')
-rw-r--r--mail/message-list.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/mail/message-list.c b/mail/message-list.c
index e6f16574c7..adf60aec41 100644
--- a/mail/message-list.c
+++ b/mail/message-list.c
@@ -3274,10 +3274,13 @@ message_list_construct (MessageList *message_list)
message_list, "tree_drag_data_get",
G_CALLBACK (ml_tree_drag_data_get), message_list);
- e_tree_drag_dest_set (
- E_TREE (message_list), GTK_DEST_DEFAULT_ALL,
- ml_drop_types, G_N_ELEMENTS (ml_drop_types),
- GDK_ACTION_MOVE | GDK_ACTION_COPY);
+ gtk_drag_dest_set (
+ GTK_WIDGET (message_list),
+ GTK_DEST_DEFAULT_ALL,
+ ml_drop_types,
+ G_N_ELEMENTS (ml_drop_types),
+ GDK_ACTION_MOVE |
+ GDK_ACTION_COPY);
g_signal_connect (
message_list, "tree_drag_data_received",