Bug 13282 - missing compatibility defines
Summary: missing compatibility defines
Status: RESOLVED FIXED
Alias: None
Product: Telepathy
Classification: Unclassified
Component: libtelepathy (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Telepathy bugs list
QA Contact: Telepathy bugs list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-16 19:06 UTC by Hubert Figuiere
Modified: 2007-12-04 06:10 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
patch (498 bytes, patch)
2007-11-16 19:06 UTC, Hubert Figuiere
Details | Splinter Review

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.