aboutsummaryrefslogtreecommitdiff
path: root/fiv-view.h
diff options
context:
space:
mode:
authorPřemysl Eric Janouch <p@janouch.name>2022-06-05 13:29:38 +0200
committerPřemysl Eric Janouch <p@janouch.name>2022-06-05 13:30:53 +0200
commit4ca8825e02ff8959e3790df2d7818ecfb4134963 (patch)
treeae412b0d399ccf2bed1a771560c7b7a43e49fa52 /fiv-view.h
parent024b5117b4fdbd3193afab40c071abd11b85a013 (diff)
downloadfiv-4ca8825e02ff8959e3790df2d7818ecfb4134963.tar.gz
fiv-4ca8825e02ff8959e3790df2d7818ecfb4134963.tar.xz
fiv-4ca8825e02ff8959e3790df2d7818ecfb4134963.zip
Clean up
Use gchar when memory is allocated through GLib.
Diffstat (limited to 'fiv-view.h')
-rw-r--r--fiv-view.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fiv-view.h b/fiv-view.h
index 7df00e0..c2d8b8b 100644
--- a/fiv-view.h
+++ b/fiv-view.h
@@ -24,7 +24,7 @@ G_DECLARE_FINAL_TYPE(FivView, fiv_view, FIV, VIEW, GtkWidget)
/// Try to open the given file, synchronously, to be displayed by the widget.
/// The current image is cleared on failure.
-gboolean fiv_view_set_uri(FivView *self, const gchar *uri);
+gboolean fiv_view_set_uri(FivView *self, const char *uri);
// And this is how you avoid glib-mkenums.
typedef enum _FivViewCommand {