gtk/gtkfilechooserbutton.c: Use accessor functions to access GtkSelectionData

This commit is contained in:
Javier Jardón 2010-12-15 23:55:31 +00:00
parent c806c0821a
commit 499aa2b3b9

View File

@ -1041,7 +1041,7 @@ gtk_file_chooser_button_drag_data_received (GtkWidget *widget,
data, type,
drag_time);
if (widget == NULL || context == NULL || data == NULL || data->length < 0)
if (widget == NULL || context == NULL || data == NULL || gtk_selection_data_get_length (data) < 0)
return;
switch (type)