use GtkSelectionData's accessors.

2009-03-23  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpdnd.c (gimp_dnd_data_drop_handle): use
	GtkSelectionData's accessors.


svn path=/trunk/; revision=28209
This commit is contained in:
Michael Natterer 2009-03-22 23:16:59 +00:00 committed by Michael Natterer
parent a89e8d59e9
commit b05a4efacb
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2009-03-23 Michael Natterer <mitch@gimp.org>
* app/widgets/gimpdnd.c (gimp_dnd_data_drop_handle): use
GtkSelectionData's accessors.
2009-03-23 Michael Natterer <mitch@gimp.org>
* app/widgets/gimpcontainertreeview-dnd.c: use GtkAdjustment's

View File

@ -797,7 +797,7 @@ gimp_dnd_data_drop_handle (GtkWidget *widget,
GIMP_LOG (DND, "data type %d", info);
if (selection_data->length <= 0)
if (gtk_selection_data_get_length (selection_data) <= 0)
{
gtk_drag_finish (context, FALSE, FALSE, time);
return;