Commit a66f095b authored by Javier Jardon's avatar Javier Jardon
Browse files

demos/gtk-demo/clipboard.c: Use accessor functions to access GtkSelectionData

parent 7105e8e9
......@@ -125,7 +125,7 @@ drag_data_received (GtkWidget *widget,
GdkPixbuf *pixbuf;
if (selection_data->length > 0)
if (gtk_selection_data_get_length (selection_data) > 0)
pixbuf = gtk_selection_data_get_pixbuf (selection_data);
gtk_image_set_from_pixbuf (GTK_IMAGE (data), pixbuf);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment