summaryrefslogtreecommitdiff
path: root/tests/lib
diff options
context:
space:
mode:
authorXavier Claessens <xavier.claessens@collabora.co.uk>2012-04-30 18:01:18 +0200
committerXavier Claessens <xavier.claessens@collabora.co.uk>2012-04-30 18:09:30 +0200
commit609825c7d81f98ab0f7c6463c9ce4c78c077e2fe (patch)
tree93e2613ce2d27d5527e152efc1dcb20395b0782a /tests/lib
parentd4490b3357fce06549503095f4b7fc983ab0b261 (diff)
downloadtelepathy-glib-609825c7d81f98ab0f7c6463c9ce4c78c077e2fe.tar.gz
Do not use TpTextMixin for channel types that does not need it
This smell like contagious copy/pasting
Diffstat (limited to 'tests/lib')
-rw-r--r--tests/lib/dbus-tube-chan.c3
-rw-r--r--tests/lib/dbus-tube-chan.h3
-rw-r--r--tests/lib/file-transfer-chan.c3
-rw-r--r--tests/lib/file-transfer-chan.h3
-rw-r--r--tests/lib/stream-tube-chan.c3
-rw-r--r--tests/lib/stream-tube-chan.h3
6 files changed, 0 insertions, 18 deletions
diff --git a/tests/lib/dbus-tube-chan.c b/tests/lib/dbus-tube-chan.c
index 835fe6337..d3e04eebf 100644
--- a/tests/lib/dbus-tube-chan.c
+++ b/tests/lib/dbus-tube-chan.c
@@ -245,9 +245,6 @@ tp_tests_dbus_tube_channel_class_init (TpTestsDBusTubeChannelClass *klass)
/* base_class->target_handle_type is defined in subclasses */
- tp_text_mixin_class_init (object_class,
- G_STRUCT_OFFSET (TpTestsDBusTubeChannelClass, text_class));
-
param_spec = g_param_spec_string ("service-name", "Service Name",
"the service name associated with this tube object.",
"",
diff --git a/tests/lib/dbus-tube-chan.h b/tests/lib/dbus-tube-chan.h
index 30d496cba..0a6b1a794 100644
--- a/tests/lib/dbus-tube-chan.h
+++ b/tests/lib/dbus-tube-chan.h
@@ -14,7 +14,6 @@
#include <glib-object.h>
#include <telepathy-glib/base-channel.h>
#include <telepathy-glib/base-connection.h>
-#include <telepathy-glib/text-mixin.h>
G_BEGIN_DECLS
@@ -43,13 +42,11 @@ GType tp_tests_dbus_tube_channel_get_type (void);
struct _TpTestsDBusTubeChannelClass {
TpBaseChannelClass parent_class;
- TpTextMixinClass text_class;
TpDBusPropertiesMixinClass dbus_properties_class;
};
struct _TpTestsDBusTubeChannel {
TpBaseChannel parent;
- TpTextMixin text;
TpTestsDBusTubeChannelPrivate *priv;
};
diff --git a/tests/lib/file-transfer-chan.c b/tests/lib/file-transfer-chan.c
index e75e291a9..aff2dab9d 100644
--- a/tests/lib/file-transfer-chan.c
+++ b/tests/lib/file-transfer-chan.c
@@ -604,9 +604,6 @@ tp_tests_file_transfer_channel_class_init (
base_class->close = channel_close;
base_class->fill_immutable_properties = fill_immutable_properties;
- tp_text_mixin_class_init (object_class,
- G_STRUCT_OFFSET (TpTestsFileTransferChannelClass, text_class));
-
param_spec = g_param_spec_boxed ("available-socket-types",
"AvailableSocketTypes",
"The AvailableSocketTypes property of this channel",
diff --git a/tests/lib/file-transfer-chan.h b/tests/lib/file-transfer-chan.h
index c76a9746c..d64264753 100644
--- a/tests/lib/file-transfer-chan.h
+++ b/tests/lib/file-transfer-chan.h
@@ -15,7 +15,6 @@
#include <glib-object.h>
#include <telepathy-glib/base-channel.h>
#include <telepathy-glib/base-connection.h>
-#include <telepathy-glib/text-mixin.h>
G_BEGIN_DECLS
@@ -43,13 +42,11 @@ GType tp_tests_file_transfer_channel_get_type (void);
struct _TpTestsFileTransferChannelClass {
TpBaseChannelClass parent_class;
- TpTextMixinClass text_class;
TpDBusPropertiesMixinClass dbus_properties_class;
};
struct _TpTestsFileTransferChannel {
TpBaseChannel parent;
- TpTextMixin text;
TpTestsFileTransferChannelPrivate *priv;
};
diff --git a/tests/lib/stream-tube-chan.c b/tests/lib/stream-tube-chan.c
index 1638ccf1e..a965eaec5 100644
--- a/tests/lib/stream-tube-chan.c
+++ b/tests/lib/stream-tube-chan.c
@@ -275,9 +275,6 @@ tp_tests_stream_tube_channel_class_init (TpTestsStreamTubeChannelClass *klass)
/* base_class->target_handle_type is defined in subclasses */
- tp_text_mixin_class_init (object_class,
- G_STRUCT_OFFSET (TpTestsStreamTubeChannelClass, text_class));
-
param_spec = g_param_spec_string ("service", "service name",
"the service associated with this tube object.",
"",
diff --git a/tests/lib/stream-tube-chan.h b/tests/lib/stream-tube-chan.h
index cb621b917..b0c8fbde0 100644
--- a/tests/lib/stream-tube-chan.h
+++ b/tests/lib/stream-tube-chan.h
@@ -14,7 +14,6 @@
#include <glib-object.h>
#include <telepathy-glib/base-channel.h>
#include <telepathy-glib/base-connection.h>
-#include <telepathy-glib/text-mixin.h>
G_BEGIN_DECLS
@@ -43,13 +42,11 @@ GType tp_tests_stream_tube_channel_get_type (void);
struct _TpTestsStreamTubeChannelClass {
TpBaseChannelClass parent_class;
- TpTextMixinClass text_class;
TpDBusPropertiesMixinClass dbus_properties_class;
};
struct _TpTestsStreamTubeChannel {
TpBaseChannel parent;
- TpTextMixin text;
TpTestsStreamTubeChannelPrivate *priv;
};