diff options
Diffstat (limited to 'gtk/gtkiconcache.c')
-rw-r--r-- | gtk/gtkiconcache.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/gtk/gtkiconcache.c b/gtk/gtkiconcache.c index 60bd57b9bc..61c1b7bb0f 100644 --- a/gtk/gtkiconcache.c +++ b/gtk/gtkiconcache.c @@ -47,7 +47,7 @@ struct _GtkIconCache { int ref_count; GMappedFile *map; - gchar *buffer; + char *buffer; guint32 last_chain_offset; }; @@ -75,12 +75,12 @@ gtk_icon_cache_unref (GtkIconCache *cache) } GtkIconCache * -gtk_icon_cache_new_for_path (const gchar *path) +gtk_icon_cache_new_for_path (const char *path) { GtkIconCache *cache = NULL; GMappedFile *map; - gchar *cache_filename; + char *cache_filename; GStatBuf st; GStatBuf path_st; @@ -141,21 +141,21 @@ gtk_icon_cache_new_for_path (const gchar *path) } GtkIconCache * -gtk_icon_cache_new (const gchar *data) +gtk_icon_cache_new (const char *data) { GtkIconCache *cache; cache = g_new0 (GtkIconCache, 1); cache->ref_count = 1; cache->map = NULL; - cache->buffer = (gchar *)data; + cache->buffer = (char *)data; return cache; } static int get_directory_index (GtkIconCache *cache, - const gchar *directory) + const char *directory) { guint32 dir_list_offset; int n_dirs; @@ -168,7 +168,7 @@ get_directory_index (GtkIconCache *cache, for (i = 0; i < n_dirs; i++) { guint32 name_offset = GET_UINT32 (cache->buffer, dir_list_offset + 4 + 4 * i); - gchar *name = cache->buffer + name_offset; + char *name = cache->buffer + name_offset; if (strcmp (name, directory) == 0) return i; } @@ -178,7 +178,7 @@ get_directory_index (GtkIconCache *cache, GHashTable * gtk_icon_cache_list_icons_in_directory (GtkIconCache *cache, - const gchar *directory, + const char *directory, GtkStringSet *set) { int directory_index; |