summaryrefslogtreecommitdiff
path: root/gtk/gtkpathbar.c
diff options
context:
space:
mode:
authorWilliam Jon McCann <william.jon.mccann@gmail.com>2013-06-26 18:01:22 -0400
committerWilliam Jon McCann <william.jon.mccann@gmail.com>2013-06-26 18:04:27 -0400
commite779e04bc25e701d05aed6f532eac1b2cd384912 (patch)
tree7ee7af3b42fab0315ec61166b5006152f41630d3 /gtk/gtkpathbar.c
parent3e966254111b4fa35047655f5cac9ff9af954c5a (diff)
downloadgtk+-e779e04bc25e701d05aed6f532eac1b2cd384912.tar.gz
Deprecate and ignore gtk-icon-sizes setting
We don't have icons rendered at arbitrary sizes and we have better APIs that aren't restricted to GtkIconSizes.
Diffstat (limited to 'gtk/gtkpathbar.c')
-rw-r--r--gtk/gtkpathbar.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gtk/gtkpathbar.c b/gtk/gtkpathbar.c
index 242a55d4cf..d3d302af57 100644
--- a/gtk/gtkpathbar.c
+++ b/gtk/gtkpathbar.c
@@ -1292,8 +1292,7 @@ settings_notify_cb (GObject *object,
name = g_param_spec_get_name (pspec);
- if (! strcmp (name, "gtk-icon-theme-name") ||
- ! strcmp (name, "gtk-icon-sizes"))
+ if (strcmp (name, "gtk-icon-theme-name") == 0)
change_icon_theme (path_bar);
}