[gtk+] icon-theme: Use "Scale" for key as per the spec
- From: Alexander Larsson <alexl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] icon-theme: Use "Scale" for key as per the spec
- Date: Mon, 19 Aug 2013 14:02:17 +0000 (UTC)
commit 8ae81bb3956a27d6cc17e04bdbf089882091f5a2
Author: Alexander Larsson <alexl redhat com>
Date: Mon Aug 19 15:41:49 2013 +0200
icon-theme: Use "Scale" for key as per the spec
The latest spec proposal uses "Scale", not "OutputScale", so use this.
gtk/gtkicontheme.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkicontheme.c b/gtk/gtkicontheme.c
index 7b9faf1..b606606 100644
--- a/gtk/gtkicontheme.c
+++ b/gtk/gtkicontheme.c
@@ -3160,8 +3160,8 @@ theme_subdir_load (GtkIconTheme *icon_theme,
else
threshold = 2;
- if (g_key_file_has_key (theme_file, subdir, "OutputScale", NULL))
- scale = g_key_file_get_integer (theme_file, subdir, "OutputScale", NULL);
+ if (g_key_file_has_key (theme_file, subdir, "Scale", NULL))
+ scale = g_key_file_get_integer (theme_file, subdir, "Scale", NULL);
else
scale = 1;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]