diff options
author | Javier Jardón <jjardon@gnome.org> | 2010-12-15 23:57:13 +0000 |
---|---|---|
committer | Javier Jardón <jjardon@gnome.org> | 2010-12-15 23:58:15 +0000 |
commit | a66f095b62c19e768e848b119ec1a49c22aedc53 (patch) | |
tree | ec9b2121b53af199313825b94f61646349903b07 /demos/gtk-demo | |
parent | 7105e8e907cbf22234bbf9297f7cd062d093ea70 (diff) | |
download | gtk+-a66f095b62c19e768e848b119ec1a49c22aedc53.tar.gz |
demos/gtk-demo/clipboard.c: Use accessor functions to access GtkSelectionData
Diffstat (limited to 'demos/gtk-demo')
-rw-r--r-- | demos/gtk-demo/clipboard.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/gtk-demo/clipboard.c b/demos/gtk-demo/clipboard.c index e48eb509ed..1a321cc682 100644 --- a/demos/gtk-demo/clipboard.c +++ b/demos/gtk-demo/clipboard.c @@ -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); |