[gtk+] Fall back to the builtin icons for spinbutton +/-
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Fall back to the builtin icons for spinbutton +/-
- Date: Mon, 9 Jan 2012 22:17:27 +0000 (UTC)
commit 64f3347cd7d9e55003473d139c9d4111791e5f1a
Author: Matthias Clasen <mclasen redhat com>
Date: Mon Jan 9 17:15:17 2012 -0500
Fall back to the builtin icons for spinbutton +/-
We do have list-add/-remove icons in the builtin icon theme,
so why not use them ?
gtk/gtkspinbutton.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkspinbutton.c b/gtk/gtkspinbutton.c
index f805ec2..b2af839 100644
--- a/gtk/gtkspinbutton.c
+++ b/gtk/gtkspinbutton.c
@@ -626,7 +626,8 @@ create_one_pixbuf (GtkStyleContext *context,
icon_info = gtk_icon_theme_lookup_icon (gtk_icon_theme_get_default (),
icon_name, size,
- GTK_ICON_LOOKUP_GENERIC_FALLBACK);
+ GTK_ICON_LOOKUP_GENERIC_FALLBACK |
+ GTK_ICON_LOOKUP_USE_BUILTIN);
if (icon_info != NULL)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]