From 7caec64bc35cba89871053a95eb9cc83e3ff71fc Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Wed, 15 Dec 2010 12:04:15 +0100 Subject: [PATCH] tests: gtk_widget_render_icon() => gtk_widget_render_icon_pixbuf() --- tests/testnotebookdnd.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/testnotebookdnd.c b/tests/testnotebookdnd.c index 459146d609..a20597b8d1 100644 --- a/tests/testnotebookdnd.c +++ b/tests/testnotebookdnd.c @@ -111,9 +111,9 @@ on_notebook_drag_begin (GtkWidget *widget, if (page_num > 2) { - pixbuf = gtk_widget_render_icon (widget, - (page_num % 2) ? GTK_STOCK_HELP : GTK_STOCK_STOP, - GTK_ICON_SIZE_DND, NULL); + pixbuf = gtk_widget_render_icon_pixbuf (widget, + (page_num % 2) ? GTK_STOCK_HELP : GTK_STOCK_STOP, + GTK_ICON_SIZE_DND); gtk_drag_set_icon_pixbuf (context, pixbuf, 0, 0); g_object_unref (pixbuf);