[gnome-panel/gtk3] button-widget: Use gtk_widget_render_icon_pixbuf() instead of gtk_widget_render_icon()
- From: Carlos Garcia Campos <carlosgc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-panel/gtk3] button-widget: Use gtk_widget_render_icon_pixbuf() instead of gtk_widget_render_icon()
- Date: Fri, 28 Jan 2011 17:07:16 +0000 (UTC)
commit 6f13318fa892afde6ff35b6784217121481e3963
Author: Carlos Garcia Campos <carlosgc gnome org>
Date: Fri Jan 28 17:55:57 2011 +0100
button-widget: Use gtk_widget_render_icon_pixbuf() instead of gtk_widget_render_icon()
gnome-panel/button-widget.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gnome-panel/button-widget.c b/gnome-panel/button-widget.c
index b5e07ab..0d8826f 100644
--- a/gnome-panel/button-widget.c
+++ b/gnome-panel/button-widget.c
@@ -174,9 +174,9 @@ button_widget_reload_pixbuf (ButtonWidget *button)
if (error) {
//FIXME: this is not rendered at button->priv->size
button->priv->pixbuf =
- gtk_widget_render_icon (GTK_WIDGET (button),
- GTK_STOCK_MISSING_IMAGE,
- (GtkIconSize) -1, NULL);
+ gtk_widget_render_icon_pixbuf (GTK_WIDGET (button),
+ GTK_STOCK_MISSING_IMAGE,
+ (GtkIconSize) -1);
g_free (error);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]