From 7d487ccde03cefe7938affe4c0f98360cef7ba8d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Olivier=20Cr=C3=AAte?= Date: Mon, 17 Sep 2012 13:13:24 -0400 Subject: Only include telepathy-glib.h Also bump telepathy-glib requirement to 0.19.0 https://bugs.freedesktop.org/show_bug.cgi?id=54999 --- telepathy-farstream/call-channel.c | 3 +-- telepathy-farstream/call-channel.h | 2 +- telepathy-farstream/call-stream.c | 2 +- telepathy-farstream/channel.h | 3 +-- telepathy-farstream/media-signalling-channel.c | 3 +-- telepathy-farstream/media-signalling-channel.h | 2 +- telepathy-farstream/media-signalling-content.c | 2 +- telepathy-farstream/media-signalling-content.h | 2 +- telepathy-farstream/session-priv.h | 3 ++- telepathy-farstream/session.c | 7 +++---- telepathy-farstream/stream.c | 6 +----- telepathy-farstream/stream.h | 3 +-- 12 files changed, 15 insertions(+), 23 deletions(-) (limited to 'telepathy-farstream') diff --git a/telepathy-farstream/call-channel.c b/telepathy-farstream/call-channel.c index 5ad4158..3b7cf58 100644 --- a/telepathy-farstream/call-channel.c +++ b/telepathy-farstream/call-channel.c @@ -30,8 +30,7 @@ #include "call-channel.h" -#include -#include +#include #include #include "call-content.h" diff --git a/telepathy-farstream/call-channel.h b/telepathy-farstream/call-channel.h index 8c268d2..525e12f 100644 --- a/telepathy-farstream/call-channel.h +++ b/telepathy-farstream/call-channel.h @@ -24,7 +24,7 @@ #include #include -#include +#include G_BEGIN_DECLS diff --git a/telepathy-farstream/call-stream.c b/telepathy-farstream/call-stream.c index 4d17f4f..d95a19f 100644 --- a/telepathy-farstream/call-stream.c +++ b/telepathy-farstream/call-stream.c @@ -747,7 +747,7 @@ tf_call_stream_add_remote_candidates (TfCallStream *self, cand->username = g_strdup (username); cand->password = g_strdup (password); cand->ttl = ttl; - cand->base_ip = base_ip; + cand->base_ip = g_strdup (base_ip); cand->base_port = base_port; fscandidates = g_list_append (fscandidates, cand); diff --git a/telepathy-farstream/channel.h b/telepathy-farstream/channel.h index e66742c..77b3038 100644 --- a/telepathy-farstream/channel.h +++ b/telepathy-farstream/channel.h @@ -2,9 +2,8 @@ #define __TF_CHANNEL_H__ #include - -#include #include +#include G_BEGIN_DECLS diff --git a/telepathy-farstream/media-signalling-channel.c b/telepathy-farstream/media-signalling-channel.c index e9b9e0e..52db185 100644 --- a/telepathy-farstream/media-signalling-channel.c +++ b/telepathy-farstream/media-signalling-channel.c @@ -31,8 +31,7 @@ #include "media-signalling-channel.h" -#include -#include +#include #include "stream.h" #include "session-priv.h" diff --git a/telepathy-farstream/media-signalling-channel.h b/telepathy-farstream/media-signalling-channel.h index 57871df..7759b5a 100644 --- a/telepathy-farstream/media-signalling-channel.h +++ b/telepathy-farstream/media-signalling-channel.h @@ -24,7 +24,7 @@ #include -#include +#include #include "stream.h" #include "session-priv.h" diff --git a/telepathy-farstream/media-signalling-content.c b/telepathy-farstream/media-signalling-content.c index 1c3e77d..6e97b99 100644 --- a/telepathy-farstream/media-signalling-content.c +++ b/telepathy-farstream/media-signalling-content.c @@ -33,8 +33,8 @@ #include #include +#include #include -#include #include #include diff --git a/telepathy-farstream/media-signalling-content.h b/telepathy-farstream/media-signalling-content.h index 085ed9d..a918cde 100644 --- a/telepathy-farstream/media-signalling-content.h +++ b/telepathy-farstream/media-signalling-content.h @@ -24,7 +24,7 @@ #include #include -#include +#include #include "media-signalling-channel.h" #include "content.h" diff --git a/telepathy-farstream/session-priv.h b/telepathy-farstream/session-priv.h index af69c4d..3cfa289 100644 --- a/telepathy-farstream/session-priv.h +++ b/telepathy-farstream/session-priv.h @@ -2,7 +2,8 @@ #define __TF_SESSION_H__ #include -#include +#include +#include G_BEGIN_DECLS diff --git a/telepathy-farstream/session.c b/telepathy-farstream/session.c index 6b4f74e..28a75b1 100644 --- a/telepathy-farstream/session.c +++ b/telepathy-farstream/session.c @@ -18,13 +18,12 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ -#include -#include -#include +#include "config.h" + +#include "session-priv.h" #include -#include "session-priv.h" G_DEFINE_TYPE (TfSession, _tf_session, G_TYPE_OBJECT); diff --git a/telepathy-farstream/stream.c b/telepathy-farstream/stream.c index 7dd1e0c..7959c12 100644 --- a/telepathy-farstream/stream.c +++ b/telepathy-farstream/stream.c @@ -35,11 +35,7 @@ #include #include -#include -#include -#include -#include -#include +#include #include #include diff --git a/telepathy-farstream/stream.h b/telepathy-farstream/stream.h index 40a8048..9cf639c 100644 --- a/telepathy-farstream/stream.h +++ b/telepathy-farstream/stream.h @@ -2,8 +2,7 @@ #define __TF_STREAM_H__ #include -#include -#include +#include #include -- cgit v1.2.1