From c4d686364337fd8a03ec388c133fce8428bb1a57 Mon Sep 17 00:00:00 2001 From: Will Thompson Date: Tue, 30 Apr 2013 19:04:38 +0100 Subject: Connection: fix default for 'charset' property. --- src/idle-connection.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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); -- cgit v1.2.1