Bug 54999 - Use tp-glib single header
Summary: Use tp-glib single header
Status: RESOLVED FIXED
Alias: None
Product: Telepathy
Classification: Unclassified
Component: tp-farstream (show other bugs)
Version: git master
Hardware: Other All
: medium normal
Assignee: Olivier Crête
QA Contact: Telepathy bugs list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-17 08:46 UTC by Guillaume Desmottes
Modified: 2012-09-17 17:14 UTC (History)
3 users (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Guillaume Desmottes 2012-09-17 08:46:14 UTC
telepathy-glib 1.0 will only allow to include telepathy-glib.h and telepathy-glib-dbus.h.

We can enforce this behaviour with tp-glib master by defining:
AC_DEFINE(TP_DISABLE_SINGLE_INCLUDE, 1, [Disable single include header])

It would be cool to do that in tp-farstream so Empathy could start using this macro and so make the porting to 1.0 easier.
Comment 1 Olivier Crête 2012-09-17 16:51:39 UTC
This seems to be only available in the 0.19.x branch, so I guess this will have to wait until you have a stable branch of tp-glib to use.
Comment 2 Xavier Claessens 2012-09-17 16:53:11 UTC
We'll release 0.20 shortly, in time for GNOME 3.6.0.
Comment 3 Simon McVittie 2012-09-17 17:02:09 UTC
telepathy-glib 0.19.x are development releases but are API- and ABI-stable, if that helps.

(In other words: unlike GLib, once we have released API/ABI in an odd-numbered branch, it stays.)
Comment 4 Olivier Crête 2012-09-17 17:14:08 UTC
commit 7d487ccde03cefe7938affe4c0f98360cef7ba8d
Author: Olivier Crête <olivier.crete@collabora.com>
Date:   Mon Sep 17 13:13:24 2012 -0400

    Only include telepathy-glib.h
    
    Also bump telepathy-glib requirement to 0.19.0
    
    https://bugs.freedesktop.org/show_bug.cgi?id=54999


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.