summaryrefslogtreecommitdiff
path: root/telepathy-glib/channel-iface.c
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2011-07-08 11:44:07 +0200
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2011-07-08 11:44:59 +0200
commit433cc4833d23c1dc662e6572b6127f5bae1f583e (patch)
tree62823b6421bf74b16f7c37d5ce7e228bea8b34db /telepathy-glib/channel-iface.c
parent90574d974be8bb932e3778c4f18b025794aa18ce (diff)
downloadtelepathy-glib-433cc4833d23c1dc662e6572b6127f5bae1f583e.tar.gz
Revert "channel-iface: set TP_UNKNOWN_HANDLE_TYPE as default handle type"
This reverts commit d50e2a51e92c2f3c37f7c30d7351c4651da350f9. This fix introduces assertion error in some CM which is not a good thing in a stable branch.
Diffstat (limited to 'telepathy-glib/channel-iface.c')
-rw-r--r--telepathy-glib/channel-iface.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/telepathy-glib/channel-iface.c b/telepathy-glib/channel-iface.c
index 8331a0481..790358697 100644
--- a/telepathy-glib/channel-iface.c
+++ b/telepathy-glib/channel-iface.c
@@ -30,7 +30,6 @@
*/
#include <telepathy-glib/channel-iface.h>
-#include <telepathy-glib/handle.h>
static void
tp_channel_iface_base_init (gpointer klass)
@@ -96,7 +95,7 @@ tp_channel_iface_base_init (gpointer klass)
*/
param_spec = g_param_spec_uint ("handle-type", "Handle type",
"The TpHandleType of this channel's associated handle.",
- 0, G_MAXUINT32, TP_UNKNOWN_HANDLE_TYPE,
+ 0, G_MAXUINT32, 0,
G_PARAM_CONSTRUCT_ONLY | G_PARAM_READWRITE |
G_PARAM_STATIC_NAME | G_PARAM_STATIC_BLURB | G_PARAM_STATIC_NICK);
g_object_interface_install_property (klass, param_spec);