replace deprecated gtk_drag_begin()
[claws.git] / src / gtk / gtkcmclist.c
index 90405771598e436dc23f65300528bda89ed488be..105ced569846e4fd1001bf1edbf706645a85b0c3 100644 (file)
@@ -5414,8 +5414,8 @@ gtk_cmclist_motion (GtkWidget      *widget,
          GtkTargetList  *target_list;
 
          target_list = gtk_target_list_new (&clist_target_table, 1);
-         gtk_drag_begin (widget, target_list, GDK_ACTION_MOVE,
-                         clist->drag_button, (GdkEvent *)event);
+         gtk_drag_begin_with_coordinates(widget, target_list, GDK_ACTION_MOVE,
+                         clist->drag_button, (GdkEvent *)event, -1, -1);
 
        }
       return TRUE;