summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCosimo Alfarano <cosimo.alfarano@collabora.co.uk>2010-02-08 16:51:09 +0000
committerCosimo Alfarano <cosimo.alfarano@collabora.co.uk>2010-02-08 16:51:09 +0000
commit5084ee671ed91648423651260c5d929597861cb3 (patch)
tree24099382f3b171c86a1a6f08da54b648bd64eb8d /src
parent58d6bab01c5f7d75e4c6e7b9f8c23843de15098a (diff)
downloadtelepathy-logger-5084ee671ed91648423651260c5d929597861cb3.tar.gz
TplChannelText actionchain order fixed
* added _prepend method to ActionChain * fixed a action insertion order in TplChannelText, so that TpContacts are retrieved BEFORE the message pending retrieval * improved TplChannelText debugging
Diffstat (limited to 'src')
-rw-r--r--src/telepathy-logger-dbus.c2
-rw-r--r--src/telepathy-logger.c4
2 files changed, 4 insertions, 2 deletions
diff --git a/src/telepathy-logger-dbus.c b/src/telepathy-logger-dbus.c
index cd17704..83c841c 100644
--- a/src/telepathy-logger-dbus.c
+++ b/src/telepathy-logger-dbus.c
@@ -37,7 +37,7 @@ void telepathy_logger_dbus_init(void)
bus = tp_get_bus();
tp_bus = tp_dbus_daemon_new(bus);
-
+
if ( tp_dbus_daemon_request_name (tp_bus, TPL_DBUS_SRV_WELL_KNOWN_BUS_NAME,
TRUE, &error) ) {
g_print("%s DBus well known name registered\n",
diff --git a/src/telepathy-logger.c b/src/telepathy-logger.c
index 8acb6eb..536bc74 100644
--- a/src/telepathy-logger.c
+++ b/src/telepathy-logger.c
@@ -40,10 +40,12 @@ main(int argc,
g_debug ("Initialising TPL Channel Factory");
tpl_channel_factory_add ("org.freedesktop.Telepathy.Channel.Type.Text",
(TplChannelConstructor) tpl_channel_text_new);
+ g_debug ("- TplChannelText registred.");
observer = tpl_observer_new ();
- g_debug ("Registering channel factory");
+ g_debug ("Registering channel factory into TplObserver");
tpl_observer_set_channel_factory (observer, tpl_channel_factory_build);
+
if (tpl_observer_register_dbus (observer, &error) == FALSE)
{
g_debug ("Error during D-Bus registration: %s", error->message);