[gnome-commander] GnomeCmdFileList: do not connect "drag-leave" signal twice



commit ed631f08320d38ee3dfeeb0a0b22be3e516ac3be
Author: Piotr Eljasiak <epiotr src gnome org>
Date:   Sat Aug 6 23:41:56 2011 +0200

    GnomeCmdFileList: do not connect "drag-leave" signal twice

 src/gnome-cmd-file-list.cc |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/src/gnome-cmd-file-list.cc b/src/gnome-cmd-file-list.cc
index f593b82..d9d6b7c 100644
--- a/src/gnome-cmd-file-list.cc
+++ b/src/gnome-cmd-file-list.cc
@@ -2865,9 +2865,8 @@ void GnomeCmdFileList::init_dnd()
                          drag_types, G_N_ELEMENTS (drag_types),
                          (GdkDragAction) (GDK_ACTION_LINK | GDK_ACTION_MOVE | GDK_ACTION_COPY | GDK_ACTION_ASK));
 
-    g_signal_connect (this, "drag-data-get", G_CALLBACK (drag_data_get), this);
     g_signal_connect (this, "drag-end", G_CALLBACK (drag_end), this);
-    g_signal_connect (this, "drag-leave", G_CALLBACK (drag_leave), this);
+    g_signal_connect (this, "drag-data-get", G_CALLBACK (drag_data_get), this);
     g_signal_connect (this, "drag-data-delete", G_CALLBACK (drag_data_delete), this);
 
     // set up drag destination



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]