Dominique Leuenberger
6bc612ab67
Add upstream bug fixes OBS-URL: https://build.opensuse.org/request/show/600988 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/libsoup?expand=0&rev=210
36 lines
1.1 KiB
Diff
36 lines
1.1 KiB
Diff
From eba6193cd1235a2ae2c08a09c1564bef3faf0fdd Mon Sep 17 00:00:00 2001
|
|
From: Claudio Saavedra <csaavedra@igalia.com>
|
|
Date: Wed, 11 Apr 2018 11:10:34 +0300
|
|
Subject: SoupCookie: fix the instrospection annotation for get_expires()
|
|
|
|
The value returned can be NULL so reflect that in the introspection
|
|
annotation.
|
|
|
|
https://bugzilla.gnome.org/show_bug.cgi?id=795135
|
|
---
|
|
libsoup/soup-cookie.c | 7 ++++---
|
|
1 file changed, 4 insertions(+), 3 deletions(-)
|
|
|
|
diff --git a/libsoup/soup-cookie.c b/libsoup/soup-cookie.c
|
|
index d97b23f..1d0dde3 100644
|
|
--- a/libsoup/soup-cookie.c
|
|
+++ b/libsoup/soup-cookie.c
|
|
@@ -598,10 +598,11 @@ soup_cookie_set_max_age (SoupCookie *cookie, int max_age)
|
|
* soup_cookie_get_expires:
|
|
* @cookie: a #SoupCookie
|
|
*
|
|
- * Gets @cookie's expiration time
|
|
+ * Gets @cookie's expiration time.
|
|
*
|
|
- * Return value: (transfer none): @cookie's expiration time, which is
|
|
- * owned by @cookie and should not be modified or freed.
|
|
+ * Return value: (nullable) (transfer none): @cookie's expiration
|
|
+ * time, which is owned by @cookie and should not be modified or
|
|
+ * freed.
|
|
*
|
|
* Since: 2.32
|
|
**/
|
|
--
|
|
cgit v0.12
|
|
|