summaryrefslogtreecommitdiff
path: root/gtk/gtkicontheme.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2014-07-09 21:18:18 -0400
committerMatthias Clasen <mclasen@redhat.com>2014-07-09 21:18:18 -0400
commit6abcda8391b6d49791f763f3a7d623bc152cd912 (patch)
treedb695160e862b26ddd899afc5d3f6ad62c6ce42b /gtk/gtkicontheme.c
parenteee705742138005f4e715f61630a9c25fd44e623 (diff)
downloadgtk+-6abcda8391b6d49791f763f3a7d623bc152cd912.tar.gz
Use a define for the default icon theme name
We're using this name in two places, so match what we are doing for the default theme name, and use a macro.
Diffstat (limited to 'gtk/gtkicontheme.c')
-rw-r--r--gtk/gtkicontheme.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkicontheme.c b/gtk/gtkicontheme.c
index c0dbff885a..bf69dd891c 100644
--- a/gtk/gtkicontheme.c
+++ b/gtk/gtkicontheme.c
@@ -44,7 +44,7 @@
#include "gtkintl.h"
#include "gtkmain.h"
#include "deprecated/gtknumerableiconprivate.h"
-#include "gtksettings.h"
+#include "gtksettingsprivate.h"
#include "gtkprivate.h"
#undef GDK_DEPRECATED
@@ -1348,7 +1348,7 @@ load_themes (GtkIconTheme *icon_theme)
* and gnome is a pragmatic solution to prevent missing icons in
* GTK+ applications when run under, e.g. KDE.
*/
- insert_theme (icon_theme, "Adwaita");
+ insert_theme (icon_theme, DEFAULT_ICON_THEME);
insert_theme (icon_theme, "gnome");
insert_theme (icon_theme, FALLBACK_ICON_THEME);
priv->themes = g_list_reverse (priv->themes);