summaryrefslogtreecommitdiff
path: root/telepathy-logger/observer-internal.h
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-05-20 12:20:53 +0200
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-05-31 14:17:12 +0200
commit0a4ade1ee46d056af958983059129dd840c6aaff (patch)
treefa872f94de6d966f6d603f64b8bfb093bfae33c4 /telepathy-logger/observer-internal.h
parentf5abf08a92855b89be767c6be72ea39d5a0e198e (diff)
Use TpBaseClient rather than our own Observer implementation (fdo #27881)
Diffstat (limited to 'telepathy-logger/observer-internal.h')
-rw-r--r--telepathy-logger/observer-internal.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/telepathy-logger/observer-internal.h b/telepathy-logger/observer-internal.h
index 58053e46d..db82e16de 100644
--- a/telepathy-logger/observer-internal.h
+++ b/telepathy-logger/observer-internal.h
@@ -23,6 +23,8 @@
#define __TPL_OBSERVER_H__
#include <glib-object.h>
+
+#include <telepathy-glib/base-client.h>
#include <telepathy-glib/dbus-properties-mixin.h>
#include <telepathy-logger/channel-internal.h>
@@ -41,10 +43,12 @@ G_BEGIN_DECLS
#define TPL_IS_OBSERVER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TPL_TYPE_OBSERVER))
#define TPL_IS_OBSERVER_CLASS(obj) (G_TYPE_CHECK_CLASS_TYPE ((obj), TPL_TYPE_OBSERVER))
#define TPL_OBSERVER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TPL_TYPE_OBSERVER, TplObserverClass))
+
typedef struct _TplObserverPriv TplObserverPriv;
+
typedef struct
{
- GObject parent;
+ TpBaseClient parent;
/* private */
TplObserverPriv *priv;
@@ -52,8 +56,7 @@ typedef struct
typedef struct
{
- GObjectClass parent_class;
- TpDBusPropertiesMixinClass dbus_props_class;
+ TpBaseClientClass parent_class;
} TplObserverClass;
GType tpl_observer_get_type (void);