[cheese] widget: use dialog-error icon
- From: Filippo Argiolas <fargiolas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [cheese] widget: use dialog-error icon
- Date: Wed, 24 Mar 2010 15:43:19 +0000 (UTC)
commit ccc8545f631089b1d95dab9cacf05bacde0f29fc
Author: Matthias Clasen <mclasen redhat com>
Date: Wed Mar 24 16:40:33 2010 +0100
widget: use dialog-error icon
The "error" icon used before doesn't exist in gnome-icon-theme 2.29 and
causes crashes. Use "dialog-error" instead.
https://bugzilla.gnome.org/show_bug.cgi?id=613067
libcheese/cheese-widget.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/libcheese/cheese-widget.c b/libcheese/cheese-widget.c
index 7af9945..99672c6 100644
--- a/libcheese/cheese-widget.c
+++ b/libcheese/cheese-widget.c
@@ -75,8 +75,8 @@ cheese_widget_load_pixbuf (GtkWidget *widget,
theme = gtk_icon_theme_get_for_screen (gtk_widget_get_screen (widget));
/* FIXME special case "no-webcam" and actually use the icon_name */
- pixbuf = gtk_icon_theme_load_icon (theme, "error",
- size, 0, error);
+ pixbuf = gtk_icon_theme_load_icon (theme, "dialog-error",
+ size, GTK_ICON_LOOKUP_USE_BUILTIN | GTK_ICON_LOOKUP_FORCE_SIZE, error);
return pixbuf;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]