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-browser.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-browser.c')
-rw-r--r-- | fiv-browser.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fiv-browser.c b/fiv-browser.c index df2b63d..4c4dab6 100644 --- a/fiv-browser.c +++ b/fiv-browser.c @@ -90,7 +90,7 @@ struct _FivBrowser { static cairo_user_data_key_t fiv_browser_key_mtime_msec; struct entry { - char *uri; ///< GIO URI + gchar *uri; ///< GIO URI gint64 mtime_msec; ///< Modification time in milliseconds cairo_surface_t *thumbnail; ///< Prescaled thumbnail GIcon *icon; ///< If no thumbnail, use this icon @@ -706,7 +706,7 @@ thumbnailers_start(FivBrowser *self) typedef struct _OpenContext { GWeakRef widget; GFile *file; - char *content_type; + gchar *content_type; GAppInfo *app_info; } OpenContext; |