summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWill Thompson <will.thompson@collabora.co.uk>2013-04-30 19:04:38 +0100
committerWill Thompson <will.thompson@collabora.co.uk>2013-04-30 19:04:38 +0100
commitc4d686364337fd8a03ec388c133fce8428bb1a57 (patch)
tree80b222280a1504f2336e080129e63c1895f51510
parent8858a5712d529453b18e7e1bc24faea98595f468 (diff)
Connection: fix default for 'charset' property.
-rw-r--r--src/idle-connection.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/idle-connection.c b/src/idle-connection.c
index 182108e..c31a00a 100644
--- a/src/idle-connection.c
+++ b/src/idle-connection.c
@@ -505,7 +505,7 @@ static void idle_connection_class_init(IdleConnectionClass *klass) {
param_spec = g_param_spec_string("username", "User name", "The username of the user connecting to IRC", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS);
g_object_class_install_property(object_class, PROP_USERNAME, param_spec);
- param_spec = g_param_spec_string("charset", "Character set", "The character set to use to communicate with the outside world", "NULL", G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_CONSTRUCT);
+ param_spec = g_param_spec_string("charset", "Character set", "The character set to use to communicate with the outside world", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_CONSTRUCT);
g_object_class_install_property(object_class, PROP_CHARSET, param_spec);
param_spec = g_param_spec_uint("keepalive-interval", "Keepalive interval", "Seconds between keepalive packets, or 0 to disable", 0, G_MAXUINT, DEFAULT_KEEPALIVE_INTERVAL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_CONSTRUCT);