gtk-demo: gtk_widget_render_icon() => gtk_widget_render_icon_pixbuf()

This commit is contained in:
Benjamin Otte
2010-12-15 12:14:51 +01:00
parent e274ac4b6c
commit e77ce71caa
5 changed files with 11 additions and 11 deletions

View File

@ -65,8 +65,8 @@ create_stock_icon_store (void)
{
if (stock_id[i])
{
pixbuf = gtk_widget_render_icon (cellview, stock_id[i],
GTK_ICON_SIZE_BUTTON, NULL);
pixbuf = gtk_widget_render_icon_pixbuf (cellview, stock_id[i],
GTK_ICON_SIZE_BUTTON);
gtk_stock_lookup (stock_id[i], &item);
label = strip_underscore (item.label);
gtk_list_store_append (store, &iter);