[perl-glib/ebassi/warnings: 1/6] Fix Glib::get_prgname()
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [perl-glib/ebassi/warnings: 1/6] Fix Glib::get_prgname()
- Date: Wed, 20 May 2020 13:27:40 +0000 (UTC)
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]