summaryrefslogtreecommitdiff
path: root/src/tube-iface.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tube-iface.c')
-rw-r--r--src/tube-iface.c17
1 files changed, 2 insertions, 15 deletions
diff --git a/src/tube-iface.c b/src/tube-iface.c
index 18d39877..56ad5e0c 100644
--- a/src/tube-iface.c
+++ b/src/tube-iface.c
@@ -22,7 +22,6 @@
#include <telepathy-glib/gtypes.h>
#include "connection.h"
-#include "tubes-channel.h"
#include <glib.h>
@@ -96,23 +95,11 @@ salut_tube_iface_base_init (gpointer klass)
"connection",
"SalutConnection object",
"Salut connection object that owns this D-Bus tube object.",
- SALUT_TYPE_CONNECTION,
+ TP_TYPE_BASE_CONNECTION,
G_PARAM_CONSTRUCT_ONLY |
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS);
g_object_interface_install_property (klass, param_spec);
- param_spec = g_param_spec_object (
- "tubes-channel",
- "SalutTubesChannel object",
- "Salut tubes object that implements the old interface.",
- SALUT_TYPE_TUBES_CHANNEL,
- G_PARAM_CONSTRUCT_ONLY |
- G_PARAM_READWRITE |
- G_PARAM_STATIC_NAME |
- G_PARAM_STATIC_NICK |
- G_PARAM_STATIC_BLURB);
- g_object_interface_install_property (klass, param_spec);
-
param_spec = g_param_spec_uint (
"handle",
"Handle",
@@ -143,7 +130,7 @@ salut_tube_iface_base_init (gpointer klass)
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS);
g_object_interface_install_property (klass, param_spec);
- param_spec = g_param_spec_uint (
+ param_spec = g_param_spec_uint64 (
"id",
"id",
"The unique identifier of this tube",