mirror of https://github.com/GNOME/gimp.git
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:
parent
a89e8d59e9
commit
b05a4efacb
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue