diff options
Diffstat (limited to 'gtk/updateiconcache.c')
-rw-r--r-- | gtk/updateiconcache.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/gtk/updateiconcache.c b/gtk/updateiconcache.c index fe2eb8fc64..92f0924f23 100644 --- a/gtk/updateiconcache.c +++ b/gtk/updateiconcache.c @@ -39,7 +39,7 @@ #include <glib/gstdio.h> #include <gdk-pixbuf/gdk-pixdata.h> #include <glib/gi18n.h> -#include "gtkiconcachevalidator.h" +#include "gtkiconcachevalidatorprivate.h" static gboolean force_update = FALSE; static gboolean ignore_theme_index = FALSE; @@ -48,11 +48,6 @@ static gboolean index_only = TRUE; static gboolean validate = FALSE; static gchar *var_name = (gchar *) "-"; -/* Quite ugly - if we just add the c file to the - * list of sources in Makefile.am, libtool complains. - */ -#include "gtkiconcachevalidator.c" - #define CACHE_NAME "icon-theme.cache" #define HAS_SUFFIX_XPM (1 << 0) @@ -1427,7 +1422,7 @@ validate_file (const gchar *file) info.n_directories = 0; info.flags = CHECK_OFFSETS|CHECK_STRINGS|CHECK_PIXBUFS; - if (!_gtk_icon_cache_validate (&info)) + if (!gtk_icon_cache_validate (&info)) { g_mapped_file_unref (map); return FALSE; |