[Bug 25600] New: TpAccount secretly adds gio >= 2.22 dep

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Dec 11 23:19:33 CET 2009


http://bugs.freedesktop.org/show_bug.cgi?id=25600

           Summary: TpAccount secretly adds gio >= 2.22 dep
           Product: Telepathy
           Version: unspecified
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: tp-glib
        AssignedTo: telepathy-bugs at lists.freedesktop.org
        ReportedBy: jonny.lamb at collabora.co.uk


Somewhere between GLib versions 2.20 and 2.22, this happened:

   
http://git.gnome.org/cgit/glib/commit/?id=cdd04f36cac838f92826cbf415868100a4007741

(2.22 is the first release for this commit to appear in.)

TpAccount uses the const version of this, so fails to build on < 2.22 with:

    account.c: In function ‘tp_account_prepare_async’: account.c:2598:
error: passing argument 2 of ‘g_simple_async_result_set_from_error’
discards qualifiers from pointer target type

We can either bump the dep of gio to >= 2.22, or cast these const GError*s to
GError* and revert that when we do depend on 2.22.

It's up to you.


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the telepathy-bugs mailing list