summaryrefslogtreecommitdiff
path: root/gtk/updateiconcache.c
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@gnome.org>2018-02-01 16:01:38 +0100
committerEmmanuele Bassi <ebassi@gnome.org>2018-02-01 16:01:38 +0100
commitfe142b10bf365790c76aac11bb773902f6f92d1f (patch)
treeb471729230cc878c25dcacc9b634dfc40fc6c338 /gtk/updateiconcache.c
parente090c1f1a9f77d94b43c53c55a6c80188fb97c69 (diff)
downloadgtk+-fe142b10bf365790c76aac11bb773902f6f92d1f.tar.gz
Rename gtkiconcachevalidator.h
Follow the same convention for private headers as newer parts of GTK.
Diffstat (limited to 'gtk/updateiconcache.c')
-rw-r--r--gtk/updateiconcache.c9
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;