diff options
| author | Přemysl Eric Janouch <p@janouch.name> | 2022-06-05 13:29:38 +0200 | 
|---|---|---|
| committer | Přemysl Eric Janouch <p@janouch.name> | 2022-06-05 13:30:53 +0200 | 
| commit | 4ca8825e02ff8959e3790df2d7818ecfb4134963 (patch) | |
| tree | ae412b0d399ccf2bed1a771560c7b7a43e49fa52 /fiv-thumbnail.c | |
| parent | 024b5117b4fdbd3193afab40c071abd11b85a013 (diff) | |
| download | fiv-4ca8825e02ff8959e3790df2d7818ecfb4134963.tar.gz fiv-4ca8825e02ff8959e3790df2d7818ecfb4134963.tar.xz fiv-4ca8825e02ff8959e3790df2d7818ecfb4134963.zip  | |
Clean up
Use gchar when memory is allocated through GLib.
Diffstat (limited to 'fiv-thumbnail.c')
| -rw-r--r-- | fiv-thumbnail.c | 6 | 
1 files changed, 3 insertions, 3 deletions
diff --git a/fiv-thumbnail.c b/fiv-thumbnail.c index c6e1896..18be4eb 100644 --- a/fiv-thumbnail.c +++ b/fiv-thumbnail.c @@ -378,7 +378,7 @@ fiv_thumbnail_produce(GFile *target, FivThumbnailSize max_size,  }  static bool -check_wide_thumbnail_texts(GBytes *thum, const gchar *target, time_t mtime, +check_wide_thumbnail_texts(GBytes *thum, const char *target, time_t mtime,  	bool *sRGB)  {  	gsize len = 0; @@ -409,7 +409,7 @@ check_wide_thumbnail_texts(GBytes *thum, const gchar *target, time_t mtime,  static cairo_surface_t *  read_wide_thumbnail( -	const gchar *path, const gchar *uri, time_t mtime, GError **error) +	const char *path, const char *uri, time_t mtime, GError **error)  {  	gchar *thumbnail_uri = g_filename_to_uri(path, NULL, error);  	if (!thumbnail_uri) @@ -447,7 +447,7 @@ read_wide_thumbnail(  static cairo_surface_t *  read_png_thumbnail( -	const gchar *path, const gchar *uri, time_t mtime, GError **error) +	const char *path, const char *uri, time_t mtime, GError **error)  {  	cairo_surface_t *surface = fiv_io_open_png_thumbnail(path, error);  	if (!surface)  | 
