mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-06 02:40:07 +00:00
dnd: Use gtk_widget_render_icon_pixbuf()
Instead of gtk_widget_render_icon() which is now deprecated.
This commit is contained in:
parent
5582bd23fb
commit
8017092977
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user