From c654504ee0622a7eec0a24aacaad44dac6fa0be5 Mon Sep 17 00:00:00 2001 From: Carlos Garcia Campos Date: Sun, 18 Jan 2009 19:43:20 +0000 Subject: [PATCH] Fix second parameter passed to gtk_selection_data_set_uris(), it expects a 2009-01-18 Carlos Garcia Campos * libview/ev-view.c: (ev_view_drag_data_get): Fix second parameter passed to gtk_selection_data_set_uris(), it expects a gchar **. svn path=/trunk/; revision=3357 --- ChangeLog | 7 +++++++ libview/ev-view.c | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index ea430b6c..7dfdd7a3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2009-01-18 Carlos Garcia Campos + + * libview/ev-view.c: (ev_view_drag_data_get): + + Fix second parameter passed to gtk_selection_data_set_uris(), + it expects a gchar **. + 2009-01-18 Tomeu Vizoso * libdocument/Makefile.am: diff --git a/libview/ev-view.c b/libview/ev-view.c index 5acce476..2bbca10b 100644 --- a/libview/ev-view.c +++ b/libview/ev-view.c @@ -2737,7 +2737,7 @@ ev_view_drag_data_get (GtkWidget *widget, if (view->image_dnd_info.image) { GdkPixbuf *pixbuf; const gchar *tmp_uri; - gchar **uris[2]; + gchar *uris[2]; ev_document_doc_mutex_lock (); pixbuf = ev_document_images_get_image (EV_DOCUMENT_IMAGES (view->document), -- 2.43.5