[Telepathy-commits] [telepathy-glib/master] BaseConnection: make dbus properties list function-local

Will Thompson will.thompson at collabora.co.uk
Tue Sep 9 09:44:08 PDT 2008


---
 telepathy-glib/base-connection.c |   10 ++++------
 1 files changed, 4 insertions(+), 6 deletions(-)

diff --git a/telepathy-glib/base-connection.c b/telepathy-glib/base-connection.c
index ce52d05..d88b4f4 100644
--- a/telepathy-glib/base-connection.c
+++ b/telepathy-glib/base-connection.c
@@ -540,15 +540,13 @@ tp_base_connection_constructor (GType type, guint n_construct_properties,
 }
 
 
-static TpDBusPropertiesMixinPropImpl connection_properties[] = {
-    { "SelfHandle", "self-handle", NULL },
-    { NULL }
-};
-
-
 static void
 tp_base_connection_class_init (TpBaseConnectionClass *klass)
 {
+  static TpDBusPropertiesMixinPropImpl connection_properties[] = {
+      { "SelfHandle", "self-handle", NULL },
+      { NULL }
+  };
   GParamSpec *param_spec;
   GObjectClass *object_class = G_OBJECT_CLASS (klass);
 
-- 
1.5.6.3




More information about the Telepathy-commits mailing list