diff options
author | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2013-09-16 19:38:35 +0100 |
---|---|---|
committer | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2013-09-17 13:17:55 +0100 |
commit | e734553ecfea1a78c30e378dd0189a98659465a6 (patch) | |
tree | ca0355e5befe3572bb88be9a79694594fc3e73cc | |
parent | 28480eb373b347e93157389fab28ae55edfcc8f9 (diff) | |
download | telepathy-haze-e734553ecfea1a78c30e378dd0189a98659465a6.tar.gz |
All .c files: include corresponding header first, after config.h
This verifies self-containedness. It turns out contact-list was not
actually self-contained: include <libpurple/account.h> to fix that.
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=69272
Reviewed-by: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk>
-rw-r--r-- | src/connection-manager.c | 2 | ||||
-rw-r--r-- | src/contact-list.c | 2 | ||||
-rw-r--r-- | src/contact-list.h | 2 |
3 files changed, 4 insertions, 2 deletions
diff --git a/src/connection-manager.c b/src/connection-manager.c index 9bf3f2a..58c802d 100644 --- a/src/connection-manager.c +++ b/src/connection-manager.c @@ -20,6 +20,7 @@ */ #include <config.h> +#include "connection-manager.h" #include <string.h> @@ -31,7 +32,6 @@ #include <telepathy-glib/telepathy-glib.h> -#include "connection-manager.h" #include "debug.h" G_DEFINE_TYPE(HazeConnectionManager, diff --git a/src/contact-list.c b/src/contact-list.c index f9d6cc2..107f9e9 100644 --- a/src/contact-list.c +++ b/src/contact-list.c @@ -20,13 +20,13 @@ */ #include <config.h> +#include "contact-list.h" #include <string.h> #include <telepathy-glib/telepathy-glib.h> #include "connection.h" -#include "contact-list.h" #include "debug.h" typedef struct _PublishRequestData PublishRequestData; diff --git a/src/contact-list.h b/src/contact-list.h index e8bcb77..647a40d 100644 --- a/src/contact-list.h +++ b/src/contact-list.h @@ -22,6 +22,8 @@ #include <glib-object.h> +#include <libpurple/account.h> + #include <telepathy-glib/telepathy-glib.h> G_BEGIN_DECLS |