[gtk+] dnd: Use gtk_widget_render_icon_pixbuf()
- From: Carlos Garcia Campos <carlosgc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] dnd: Use gtk_widget_render_icon_pixbuf()
- Date: Wed, 8 Dec 2010 16:17:55 +0000 (UTC)
commit 80170929770789cf23b7de9e080ffa1b165d0498
Author: Carlos Garcia Campos <carlosgc gnome org>
Date: Wed Dec 8 17:10:34 2010 +0100
dnd: Use gtk_widget_render_icon_pixbuf()
Instead of gtk_widget_render_icon() which is now deprecated.
gtk/gtkdnd.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkdnd.c b/gtk/gtkdnd.c
index 08496d5..84e651d 100644
--- a/gtk/gtkdnd.c
+++ b/gtk/gtkdnd.c
@@ -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)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]