summaryrefslogtreecommitdiff
path: root/src/idle-connection.h
diff options
context:
space:
mode:
authorOlli Salli <olli.salli@collabora.co.uk>2007-04-26 08:59:41 +0000
committerOlli Salli <olli.salli@collabora.co.uk>2007-04-26 08:59:41 +0000
commit067ed02b89ecd2506b6de597df67acaeb874a829 (patch)
treef24428e4d097463232eeaf0222af14f65c47aa8f /src/idle-connection.h
parent53f6fd7f67661307a61649615b2f5c971395324f (diff)
downloadtelepathy-idle-067ed02b89ecd2506b6de597df67acaeb874a829.tar.gz
Forward-declare IdleConnection properly
20070426085941-9db4d-b5182302525f2671ffc25edd8fcb6d186d8a03f7.gz
Diffstat (limited to 'src/idle-connection.h')
-rw-r--r--src/idle-connection.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/idle-connection.h b/src/idle-connection.h
index ba49da1..bc87a53 100644
--- a/src/idle-connection.h
+++ b/src/idle-connection.h
@@ -26,6 +26,9 @@
#include <telepathy-glib/base-connection.h>
+typedef struct _IdleConnection IdleConnection;
+typedef struct _IdleConnectionClass IdleConnectionClass;
+
#include "idle-handles.h"
#include "idle-parser.h"
@@ -33,12 +36,10 @@
G_BEGIN_DECLS
-typedef struct _IdleConnection IdleConnection;
struct _IdleConnectionClass {
TpBaseConnectionClass parent_class;
};
-typedef struct _IdleConnectionClass IdleConnectionClass;
struct _IdleConnection {
TpBaseConnection parent;
IdleParser *parser;