[libsoup] Unbalanced G_GNUC_BEGIN_IGNORE_DEPRECATIONS use in soup-session.c
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libsoup] Unbalanced G_GNUC_BEGIN_IGNORE_DEPRECATIONS use in soup-session.c
- Date: Mon, 2 Oct 2017 12:16:01 +0000 (UTC)
commit d56c857e7fec6f8a614cffbdcac2ce31885cfbf8
Author: Zan Dobersek <zdobersek igalia com>
Date: Sat Sep 2 11:00:13 2017 +0200
Unbalanced G_GNUC_BEGIN_IGNORE_DEPRECATIONS use in soup-session.c
The G_GNUC_BEGIN_IGNORE_DEPRECATIONS macro, as used in
soup_session_remove_feature_by_type(), should be balanced by
the complementary G_GNUC_END_IGNORE_DEPRECATIONS macro.
https://bugzilla.gnome.org/show_bug.cgi?id=787166
libsoup/soup-session.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libsoup/soup-session.c b/libsoup/soup-session.c
index a010431..7f819f6 100644
--- a/libsoup/soup-session.c
+++ b/libsoup/soup-session.c
@@ -2807,7 +2807,7 @@ soup_session_remove_feature_by_type (SoupSession *session, GType feature_type)
G_GNUC_BEGIN_IGNORE_DEPRECATIONS;
if (g_type_is_a (feature_type, SOUP_TYPE_PROXY_URI_RESOLVER))
priv->proxy_use_default = FALSE;
- G_GNUC_BEGIN_IGNORE_DEPRECATIONS;
+ G_GNUC_END_IGNORE_DEPRECATIONS;
} else if (g_type_is_a (feature_type, SOUP_TYPE_REQUEST)) {
SoupRequestClass *request_class;
int i;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]