mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-07 09:10:11 +00:00
gtk/gtkfilechooserbutton.c: Use accessor functions to access GtkSelectionData
This commit is contained in:
parent
c806c0821a
commit
499aa2b3b9
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user