telepathy-idle: Use slightly more concise g_param_spec_object() arguments

Simon McVittie smcv at kemper.freedesktop.org
Wed May 1 09:01:43 PDT 2013


Module: telepathy-idle
Branch: master
Commit: 49920f93164ff3831e64ccfd30d7ecef2c417a99
URL:    http://cgit.freedesktop.org/telepathy/telepathy-idle/commit/?id=49920f93164ff3831e64ccfd30d7ecef2c417a99

Author: Simon McVittie <simon.mcvittie at collabora.co.uk>
Date:   Wed May  1 14:18:13 2013 +0100

Use slightly more concise g_param_spec_object() arguments

I haven't fixed all instances, just the one touched by the interactive
TLS code.

---

 src/idle-server-connection.c |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/src/idle-server-connection.c b/src/idle-server-connection.c
index fdfc943..b593fa3 100644
--- a/src/idle-server-connection.c
+++ b/src/idle-server-connection.c
@@ -206,10 +206,8 @@ static void idle_server_connection_class_init(IdleServerConnectionClass *klass)
 	pspec = g_param_spec_object("tls-manager", "TLS Manager",
 							  "TLS manager for interactive certificate checking",
 							  IDLE_TYPE_SERVER_TLS_MANAGER,
-							  G_PARAM_READABLE|
-							  G_PARAM_WRITABLE|
-							  G_PARAM_STATIC_NICK|
-							  G_PARAM_STATIC_BLURB);
+							  G_PARAM_READWRITE|
+							  G_PARAM_STATIC_STRINGS);
 
 	g_object_class_install_property(object_class, PROP_TLS_MANAGER, pspec);
 



More information about the telepathy-commits mailing list