[anjuta] anjuta-ui: don't use deprecated gtk_widget_render_icon()
- From: Carl-Anton Ingmarsson <carlantoni src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [anjuta] anjuta-ui: don't use deprecated gtk_widget_render_icon()
- Date: Tue, 14 May 2013 20:34:10 +0000 (UTC)
commit b32c605328915e1b64c009156d84ec2926b73b4d
Author: Carl-Anton Ingmarsson <ca ingmarsson gmail com>
Date: Tue May 14 17:22:33 2013 +0200
anjuta-ui: don't use deprecated gtk_widget_render_icon()
libanjuta/anjuta-ui.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/libanjuta/anjuta-ui.c b/libanjuta/anjuta-ui.c
index 8fa41b6..355d5b2 100644
--- a/libanjuta/anjuta-ui.c
+++ b/libanjuta/anjuta-ui.c
@@ -470,8 +470,7 @@ fill_action_data (GtkTreeModel *model, GtkTreeIter *iter, GtkAction *action, Gtk
{
GtkWidget *dummy = gtk_label_new ("Dummy");
g_object_ref_sink(G_OBJECT(dummy));
- pixbuf = gtk_widget_render_icon (dummy, icon,
- GTK_ICON_SIZE_MENU, NULL);
+ pixbuf = gtk_widget_render_icon_pixbuf (dummy, icon, GTK_ICON_SIZE_MENU);
}
gtk_tree_store_set (GTK_TREE_STORE (model), iter,
COLUMN_PIXBUF, pixbuf,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]