dnd: Use gtk_widget_render_icon_pixbuf()

Instead of gtk_widget_render_icon() which is now deprecated.
This commit is contained in:
Carlos Garcia Campos 2010-12-08 17:10:34 +01:00
parent 5582bd23fb
commit 8017092977

View File

@ -3109,8 +3109,8 @@ set_icon_stock_pixbuf (GdkDragContext *context,
if (stock_id)
{
pixbuf = gtk_widget_render_icon (window, stock_id,
GTK_ICON_SIZE_DND, NULL);
pixbuf = gtk_widget_render_icon_pixbuf (window, stock_id,
GTK_ICON_SIZE_DND);
if (!pixbuf)
{