diff options
author | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2013-05-01 14:18:13 +0100 |
---|---|---|
committer | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2013-05-01 14:22:33 +0100 |
commit | 49920f93164ff3831e64ccfd30d7ecef2c417a99 (patch) | |
tree | e7c4e05eaba97ae43b9f73812b5be1caffbace52 | |
parent | b38c0072563c95d9252a7fbde9322b3e928d286a (diff) |
Use slightly more concise g_param_spec_object() arguments
I haven't fixed all instances, just the one touched by the interactive
TLS code.
-rw-r--r-- | 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); |