[Telepathy-commits] [telepathy-mission-control/master] Add includes and fix property type
Alberto Mardegan
alberto.mardegan at nokia.com
Mon Nov 17 01:13:05 PST 2008
---
src/mcd-channel.c | 3 ++-
src/mcd-dispatcher.c | 1 +
2 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/src/mcd-channel.c b/src/mcd-channel.c
index 7fab47d..cbb5ff3 100644
--- a/src/mcd-channel.c
+++ b/src/mcd-channel.c
@@ -36,6 +36,7 @@
#include <glib/gi18n.h>
#include <telepathy-glib/interfaces.h>
+#include <telepathy-glib/gtypes.h>
#include <telepathy-glib/dbus.h>
#include "mcd-channel.h"
@@ -1086,7 +1087,7 @@ _mcd_channel_details_build_from_list (GList *channels)
properties = _mcd_channel_get_immutable_properties (channel);
- type = TP_STRUCT_TYPE_ACCOUNT_DETAILS;
+ type = TP_STRUCT_TYPE_CHANNEL_DETAILS;
g_value_init (&channel_val, type);
g_value_take_boxed (&channel_val,
dbus_g_type_specialized_construct (type));
diff --git a/src/mcd-dispatcher.c b/src/mcd-dispatcher.c
index 5b36a8d..7844644 100644
--- a/src/mcd-dispatcher.c
+++ b/src/mcd-dispatcher.c
@@ -46,6 +46,7 @@
#include "mcd-dispatch-operation.h"
#include "mcd-misc.h"
#include <telepathy-glib/interfaces.h>
+#include <telepathy-glib/gtypes.h>
#include <telepathy-glib/proxy-subclass.h>
#include "_gen/interfaces.h"
#include "_gen/gtypes.h"
--
1.5.6.5
More information about the Telepathy-commits
mailing list