From 4ca8825e02ff8959e3790df2d7818ecfb4134963 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C5=99emysl=20Eric=20Janouch?= Date: Sun, 5 Jun 2022 13:29:38 +0200 Subject: Clean up Use gchar when memory is allocated through GLib. --- fiv-view.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'fiv-view.h') 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 { -- cgit v1.2.3