diff options
author | William Jon McCann <william.jon.mccann@gmail.com> | 2013-06-26 18:41:15 -0400 |
---|---|---|
committer | William Jon McCann <william.jon.mccann@gmail.com> | 2013-06-26 20:02:27 -0400 |
commit | aef9dca9d5e17985faa2b3659e031a5d5064149e (patch) | |
tree | c38c1d398f22911733ab98978f7e71b023be6ef5 /gtk/gtkpathbar.c | |
parent | 88177d8bd19f0c900d8c5f448fec4df1cfee636d (diff) | |
download | gtk+-aef9dca9d5e17985faa2b3659e031a5d5064149e.tar.gz |
Deprecate GtkIconFactory, GtkIconSet, GtkIconSource
We want to use GtkIconTheme instead. It is worth noting that
the parts that remain undeprecated are GtkIconSize and gtk_icon_size_lookup.
Diffstat (limited to 'gtk/gtkpathbar.c')
-rw-r--r-- | gtk/gtkpathbar.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/gtk/gtkpathbar.c b/gtk/gtkpathbar.c index d3d302af57..e750e84649 100644 --- a/gtk/gtkpathbar.c +++ b/gtk/gtkpathbar.c @@ -1270,12 +1270,9 @@ reload_icons (GtkPathBar *path_bar) static void change_icon_theme (GtkPathBar *path_bar) { - GtkSettings *settings; gint width, height; - settings = gtk_settings_get_for_screen (gtk_widget_get_screen (GTK_WIDGET (path_bar))); - - if (gtk_icon_size_lookup_for_settings (settings, GTK_ICON_SIZE_MENU, &width, &height)) + if (gtk_icon_size_lookup (GTK_ICON_SIZE_MENU, &width, &height)) path_bar->priv->icon_size = MAX (width, height); else path_bar->priv->icon_size = FALLBACK_ICON_SIZE; |