Bug 13282

Summary: missing compatibility defines
Product: Telepathy Reporter: Hubert Figuiere <hub>
Component: libtelepathyAssignee: Telepathy bugs list <telepathy-bugs>
Status: RESOLVED FIXED QA Contact: Telepathy bugs list <telepathy-bugs>
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: patch

Description Hubert Figuiere 2007-11-16 19:06:08 UTC
I'm trying to compile telepathy-mission-control 4.49 against libtelepathy 0.3.0

I get this error:

mcd-channel.c: In function '_mcd_channel_release_tp_channel':
mcd-channel.c:263: error: 'TP_IFACE_QUARK_CONTACT_LIST' undeclared (first use in this function)
mcd-channel.c:263: error: (Each undeclared identifier is reported only once
mcd-channel.c:263: error: for each function it appears in.)


Line 263 in mcd-channel.c use TELEPATHY_CHAN_IFACE_CONTACTLIST_QUARK which is defined as follow in telepathy-1.0/tp-chan.h

#define TELEPATHY_CHAN_IFACE_CONTACTLIST_QUARK \
  TP_IFACE_QUARK_CONTACT_LIST

But then I can't find TP_IFACE_QUARK_CONTACT_LIST anywhere else.

But I can find TP_IFACE_QUARK_CHANNEL_TYPE_CONTACT_LIST.

Attached is a patch to fix that.
Comment 1 Hubert Figuiere 2007-11-16 19:06:51 UTC
Created attachment 12603 [details] [review]
patch

the patch I applied to my packages.
Comment 2 Simon McVittie 2007-12-04 06:10:19 UTC
Fixed in 0.3.1.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.