From af3eb62a4ae43276a9c6724a43222d76a989e32b Mon Sep 17 00:00:00 2001 From: Cosimo Cecchi Date: Wed, 8 Apr 2009 14:29:25 +0000 Subject: Update the eggtreemultidnd.[ch] from libegg trunk (#560335). 2009-04-08 Cosimo Cecchi * cut-n-paste-code/libegg/eggtreemultidnd.c: (egg_tree_multi_drag_source_get_type), (egg_tree_multi_drag_motion_event): Update the eggtreemultidnd.[ch] from libegg trunk (#560335). svn path=/trunk/; revision=15173 --- cut-n-paste-code/libegg/eggtreemultidnd.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'cut-n-paste-code') diff --git a/cut-n-paste-code/libegg/eggtreemultidnd.c b/cut-n-paste-code/libegg/eggtreemultidnd.c index abb9b3b7d..a76a00f23 100644 --- a/cut-n-paste-code/libegg/eggtreemultidnd.c +++ b/cut-n-paste-code/libegg/eggtreemultidnd.c @@ -17,6 +17,10 @@ * Boston, MA 02111-1307, USA. */ +#ifdef HAVE_CONFIG_H +#include +#endif + #include #include #include "eggtreemultidnd.h" @@ -56,7 +60,7 @@ egg_tree_multi_drag_source_get_type (void) if (!our_type) { - static const GTypeInfo our_info = + const GTypeInfo our_info = { sizeof (EggTreeMultiDragSourceIface), /* class_size */ NULL, /* base_init */ @@ -315,7 +319,7 @@ egg_tree_multi_drag_motion_event (GtkWidget *widget, { context = gtk_drag_begin (widget, - di->source_target_list, + gtk_drag_source_get_target_list (widget), di->source_actions, priv_data->pressed_button, (GdkEvent*)event); -- cgit v1.2.1