[Bug 42284] New: Tp-logger uses deprecated g_thread_init

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Oct 26 11:29:42 CEST 2011


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

             Bug #: 42284
           Summary: Tp-logger uses deprecated g_thread_init
    Classification: Unclassified
           Product: Telepathy
           Version: git master
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: logger
        AssignedTo: telepathy-bugs at lists.freedesktop.org
        ReportedBy: travis.reitter at collabora.co.uk
         QAContact: telepathy-bugs at lists.freedesktop.org


As of GLib 2.31, g_thread_init() is deprecated. So telepathy-logger in jhbuild
fails due to an escalated warning:

telepathy-logger.c: In function ‘main’:
telepathy-logger.c:156:7: error: ‘g_thread_init’ is deprecated (declared at
/opt/gnome/include/glib-2.0/glib/deprecated/gthread.h:259)
[-Werror=deprecated-declarations]
cc1: all warnings being treated as errors

According to the latest documentation, we may simply be able to remove the call
(I haven't tried this):

http://developer.gnome.org/glib/unstable/glib-Threads.html#glib-Threads.description

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- 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