[Bug 96383] New: soup_session_async_new is deprecated

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Jun 5 05:06:52 UTC 2016


https://bugs.freedesktop.org/show_bug.cgi?id=96383

            Bug ID: 96383
           Summary: soup_session_async_new is deprecated
           Product: Wocky
           Version: git master
          Hardware: Other
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: General
          Assignee: telepathy-bugs at lists.freedesktop.org
          Reporter: diane at ghic.org
        QA Contact: telepathy-bugs at lists.freedesktop.org

Created attachment 124325
  --> https://bugs.freedesktop.org/attachment.cgi?id=124325&action=edit
possible fix for soup_session_async_new

I tried to build wocky & tests on a recent debian and it failed with an error
that soup_session_async_new was deprecated.

I looked at
https://developer.gnome.org/libsoup/stable/libsoup-session-porting.html

and it seems like all I needed to do was to change to soup_session_new, the one
call to soup_session provided a callback so I think its already async.

The other thing I did was put a version check in configure.ac to check for the
version of libsoup that changed.

I suppose the other possibility is to conditionally compile to support both
versions of libsoup.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the telepathy-bugs mailing list