diff options
author | Cosimo Cecchi <cosimoc@gnome.org> | 2009-04-08 14:29:25 +0000 |
---|---|---|
committer | Cosimo Cecchi <cosimoc@src.gnome.org> | 2009-04-08 14:29:25 +0000 |
commit | af3eb62a4ae43276a9c6724a43222d76a989e32b (patch) | |
tree | 288b862e908d68c27c3dfd1ec13e2212b9e102a3 /cut-n-paste-code | |
parent | f8ed3382e76cbdefae4ce84e853580d20fc19802 (diff) | |
download | nautilus-af3eb62a4ae43276a9c6724a43222d76a989e32b.tar.gz |
Update the eggtreemultidnd.[ch] from libegg trunk (#560335).
2009-04-08 Cosimo Cecchi <cosimoc@gnome.org>
* 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
Diffstat (limited to 'cut-n-paste-code')
-rw-r--r-- | cut-n-paste-code/libegg/eggtreemultidnd.c | 8 |
1 files changed, 6 insertions, 2 deletions
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 <config.h> +#endif + #include <string.h> #include <gtk/gtk.h> #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); |