summaryrefslogtreecommitdiff
path: root/demos/gtk-demo/clipboard.c
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2010-12-15 12:14:51 +0100
committerBenjamin Otte <otte@redhat.com>2010-12-15 14:51:26 +0100
commite77ce71caa93607efb413e46d515391f7efa3432 (patch)
tree1613707df75cdfa90a1feed036422928c6580c51 /demos/gtk-demo/clipboard.c
parente274ac4b6c78479d6162065e4aa4bb274314c8f6 (diff)
downloadgtk+-e77ce71caa93607efb413e46d515391f7efa3432.tar.gz
gtk-demo: gtk_widget_render_icon() => gtk_widget_render_icon_pixbuf()
Diffstat (limited to 'demos/gtk-demo/clipboard.c')
-rw-r--r--demos/gtk-demo/clipboard.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/demos/gtk-demo/clipboard.c b/demos/gtk-demo/clipboard.c
index e77b88c9b2..e48eb509ed 100644
--- a/demos/gtk-demo/clipboard.c
+++ b/demos/gtk-demo/clipboard.c
@@ -77,8 +77,8 @@ get_image_pixbuf (GtkImage *image)
return g_object_ref (gtk_image_get_pixbuf (image));
case GTK_IMAGE_STOCK:
gtk_image_get_stock (image, &stock_id, &size);
- return gtk_widget_render_icon (GTK_WIDGET (image),
- stock_id, size, NULL);
+ return gtk_widget_render_icon_pixbuf (GTK_WIDGET (image),
+ stock_id, size);
default:
g_warning ("Image storage type %d not handled",
gtk_image_get_storage_type (image));