summaryrefslogtreecommitdiff
path: root/tests/testnotebookdnd.c
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2010-12-15 12:04:15 +0100
committerBenjamin Otte <otte@redhat.com>2010-12-15 14:51:26 +0100
commit7caec64bc35cba89871053a95eb9cc83e3ff71fc (patch)
tree75da2759c87ebc7fc946708f506008997a5cf12a /tests/testnotebookdnd.c
parent6aa745b8195fafd2d1d559dc6ca3b55aab8a207d (diff)
downloadgtk+-7caec64bc35cba89871053a95eb9cc83e3ff71fc.tar.gz
tests: gtk_widget_render_icon() => gtk_widget_render_icon_pixbuf()
Diffstat (limited to 'tests/testnotebookdnd.c')
-rw-r--r--tests/testnotebookdnd.c6
1 files 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);