[libsoup] Unbalanced G_GNUC_BEGIN_IGNORE_DEPRECATIONS use in soup-session.c



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]