[glade/composite-templates-new: 1/5] GladePropertyClass: Use non-deprecated gtk_widget_render_icon_pixbuf()
- From: Tristan Van Berkom <tvb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glade/composite-templates-new: 1/5] GladePropertyClass: Use non-deprecated gtk_widget_render_icon_pixbuf()
- Date: Fri, 5 Apr 2013 08:17:36 +0000 (UTC)
commit 0f06a8364134f68d23c9fb322c5160f53bdbfc81
Author: Tristan Van Berkom <tristan van berkom gmail com>
Date: Fri Apr 5 17:16:16 2013 +0900
GladePropertyClass: Use non-deprecated gtk_widget_render_icon_pixbuf()
gladeui/glade-property-class.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gladeui/glade-property-class.c b/gladeui/glade-property-class.c
index 88e0413..a5aed5c 100644
--- a/gladeui/glade-property-class.c
+++ b/gladeui/glade-property-class.c
@@ -717,9 +717,9 @@ glade_property_class_make_object_from_string (GladePropertyClass *
if (icon == NULL)
{
GtkWidget *widget = gtk_label_new ("");
- icon = gtk_widget_render_icon (widget,
- GTK_STOCK_MISSING_IMAGE,
- GTK_ICON_SIZE_MENU, NULL);
+ icon = gtk_widget_render_icon_pixbuf (widget,
+ GTK_STOCK_MISSING_IMAGE,
+ GTK_ICON_SIZE_MENU);
gtk_widget_destroy (widget);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]