[gtk+] tests: gtk_widget_render_icon() => gtk_widget_render_icon_pixbuf()
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] tests: gtk_widget_render_icon() => gtk_widget_render_icon_pixbuf()
- Date: Wed, 15 Dec 2010 13:52:12 +0000 (UTC)
commit 7caec64bc35cba89871053a95eb9cc83e3ff71fc
Author: Benjamin Otte <otte redhat com>
Date: Wed Dec 15 12:04:15 2010 +0100
tests: gtk_widget_render_icon() => gtk_widget_render_icon_pixbuf()
tests/testnotebookdnd.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/tests/testnotebookdnd.c b/tests/testnotebookdnd.c
index 459146d..a20597b 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]