[gtk+] Don't omit GTK_ICON_SIZE_DIALOG
- From: Matthias Clasen <matthiasc src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gtk+] Don't omit GTK_ICON_SIZE_DIALOG
- Date: Sun, 18 Oct 2009 06:10:24 +0000 (UTC)
commit 9f11bb0ff6d2e97b59fb81100b7670e83320b96b
Author: Matthias Clasen <mclasen redhat com>
Date: Sun Oct 18 02:07:58 2009 -0400
Don't omit GTK_ICON_SIZE_DIALOG
gtk/gtkstatusicon.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkstatusicon.c b/gtk/gtkstatusicon.c
index 1cdb0c1..74c52ae 100644
--- a/gtk/gtkstatusicon.c
+++ b/gtk/gtkstatusicon.c
@@ -1352,7 +1352,7 @@ find_icon_size (GtkWidget *widget,
dist = G_MAXINT;
size = GTK_ICON_SIZE_MENU;
- for (s = GTK_ICON_SIZE_MENU; s < GTK_ICON_SIZE_DIALOG; s++)
+ for (s = GTK_ICON_SIZE_MENU; s <= GTK_ICON_SIZE_DIALOG; s++)
{
if (gtk_icon_size_lookup_for_settings (settings, s, &w, &h) &&
w <= pixel_size && h <= pixel_size)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]