[Telepathy-commits] [telepathy-glib/master] examples/cm/echo-message-parts/chan.c: update tp_message_mixin_init_dbus_properties API
Simon McVittie
simon.mcvittie at collabora.co.uk
Thu Dec 18 10:41:45 PST 2008
20080530150228-53eee-477a31ff1975571de83555edb3cb82021477b2c2.gz
---
examples/cm/echo-message-parts/chan.c | 8 +++-----
1 files changed, 3 insertions(+), 5 deletions(-)
diff --git a/examples/cm/echo-message-parts/chan.c b/examples/cm/echo-message-parts/chan.c
index 0c7dda1..6c4853c 100644
--- a/examples/cm/echo-message-parts/chan.c
+++ b/examples/cm/echo-message-parts/chan.c
@@ -401,10 +401,7 @@ example_echo_2_channel_class_init (ExampleEcho2ChannelClass *klass)
};
GObjectClass *object_class = (GObjectClass *) klass;
GParamSpec *param_spec;
- static TpDBusPropertiesMixinIfaceImpl interfaces[] = {
- { NULL /* initialized with tp_message_mixin_init_dbus_properties() */ },
- { NULL }
- };
+ static gboolean initialized = FALSE;
g_type_class_add_private (klass, sizeof (ExampleEcho2ChannelPrivate));
@@ -469,9 +466,10 @@ example_echo_2_channel_class_init (ExampleEcho2ChannelClass *klass)
G_STRUCT_OFFSET (ExampleEcho2ChannelClass, text_class));
klass->dbus_properties_class.interfaces = prop_interfaces;
- tp_message_mixin_init_dbus_properties (prop_interfaces + 0);
tp_dbus_properties_mixin_class_init (object_class,
G_STRUCT_OFFSET (ExampleEcho2ChannelClass, dbus_properties_class));
+
+ tp_message_mixin_init_dbus_properties (object_class);
}
static void
--
1.5.6.5
More information about the Telepathy-commits
mailing list