[telepathy-gabble/master] use TP_HASH_TYPE_SUPPORTED_SOCKET_MAP

Guillaume Desmottes guillaume.desmottes at collabora.co.uk
Mon Mar 30 03:00:05 PDT 2009


---
 src/file-transfer-channel.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/src/file-transfer-channel.c b/src/file-transfer-channel.c
index 0726938..f86aa18 100644
--- a/src/file-transfer-channel.c
+++ b/src/file-transfer-channel.c
@@ -47,6 +47,7 @@
 #include <telepathy-glib/channel-iface.h>
 #include <telepathy-glib/interfaces.h>
 #include <telepathy-glib/dbus.h>
+#include <telepathy-glib/gtypes.h>
 #include <telepathy-glib/svc-generic.h>
 #include <telepathy-glib/svc-channel.h>
 
@@ -682,7 +683,7 @@ gabble_file_transfer_channel_class_init (
       "available-socket-types",
       "GabbleSupportedSocketMap available-socket-types",
       "Available socket types",
-      dbus_g_type_get_map ("GHashTable", G_TYPE_UINT, DBUS_TYPE_G_UINT_ARRAY),
+      TP_HASH_TYPE_SUPPORTED_SOCKET_MAP,
       G_PARAM_READABLE |
       G_PARAM_STATIC_NICK |
       G_PARAM_STATIC_BLURB);
-- 
1.5.6.5




More information about the telepathy-commits mailing list