summaryrefslogtreecommitdiff
path: root/src/write-mgr-file.c
diff options
context:
space:
mode:
authorXavier Claessens <xavier.claessens@collabora.co.uk>2013-09-20 17:19:43 -0400
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2013-10-15 15:42:31 -0400
commit82162a775b73ec8fc6bac7ff2c3efa7592554916 (patch)
treee0a8852722e3976b8b99743bc227cc2889ceca03 /src/write-mgr-file.c
parent822ddd064c266345ab4fe19c4b574a4cd29d7159 (diff)
Port to telepathy-glib-1
Diffstat (limited to 'src/write-mgr-file.c')
-rw-r--r--src/write-mgr-file.c12
1 files changed, 2 insertions, 10 deletions
diff --git a/src/write-mgr-file.c b/src/write-mgr-file.c
index 6a02fff8..fd52820c 100644
--- a/src/write-mgr-file.c
+++ b/src/write-mgr-file.c
@@ -25,7 +25,7 @@
#include <dbus/dbus-glib.h>
#include <dbus/dbus-protocol.h>
-#include <telepathy-glib/telepathy-glib.h>
+#include <telepathy-glib/telepathy-glib-dbus.h>
#include "protocol.h"
@@ -206,14 +206,6 @@ generate_group_name (GHashTable *props)
handle_type_name = "-multi";
break;
- case TP_HANDLE_TYPE_GROUP:
- handle_type_name = "-group";
- break;
-
- case TP_HANDLE_TYPE_LIST:
- handle_type_name = "-list";
- break;
-
default:
handle_type_name = "";
}
@@ -280,7 +272,7 @@ write_presence (GKeyFile *f,
statuses = tp_asv_get_boxed (props,
TP_PROP_PROTOCOL_INTERFACE_PRESENCE_STATUSES,
- TP_HASH_TYPE_SIMPLE_STATUS_SPEC_MAP);
+ TP_HASH_TYPE_STATUS_SPEC_MAP);
g_return_if_fail (statuses != NULL);
g_hash_table_iter_init (&iter, statuses);