[perl-glib/ebassi/warnings: 1/6] Fix Glib::get_prgname()



commit d12cff2095e42d41aff993060b7295944a211746
Author: Emmanuele Bassi <ebassi gnome org>
Date:   Wed May 20 14:13:48 2020 +0100

    Fix Glib::get_prgname()
    
    The ownership of the string returned by the C function is not
    transferred.

 GUtils.xs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/GUtils.xs b/GUtils.xs
index 9a12bd1..0caa4d7 100644
--- a/GUtils.xs
+++ b/GUtils.xs
@@ -197,7 +197,7 @@ const gchar* g_get_user_special_dir (GUserDirectory directory);
 
 =for apidoc __function__
 =cut
-gchar_own * g_get_prgname ();
+const gchar* g_get_prgname ();
 
 =for apidoc __function__
 =cut


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]