From d51deb6864802a780f7d013dda5bb3c715768bfc Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Thu, 7 Jun 2012 09:46:23 +0200 Subject: accounts-settings: store parameters as GVariant This patch introduces a GValue leak. I'm going to fix it when switching the rest of this code to GVariant but I prefer to keep patches smaller. https://bugzilla.gnome.org/show_bug.cgi?id=677545 --- libempathy-gtk/empathy-protocol-chooser.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libempathy-gtk') diff --git a/libempathy-gtk/empathy-protocol-chooser.c b/libempathy-gtk/empathy-protocol-chooser.c index efefec808..6751e796f 100644 --- a/libempathy-gtk/empathy-protocol-chooser.c +++ b/libempathy-gtk/empathy-protocol-chooser.c @@ -603,13 +603,13 @@ empathy_protocol_chooser_create_account_settings (EmpathyProtocolChooser *self) if (!tp_strdiff (service, "google-talk")) { - gchar *fallback_servers[] = { + const gchar *fallback_servers[] = { "talkx.l.google.com", "talkx.l.google.com:443,oldssl", "talkx.l.google.com:80", NULL}; - gchar *extra_certificate_identities[] = { + const gchar *extra_certificate_identities[] = { "talk.google.com", NULL}; @@ -631,7 +631,7 @@ empathy_protocol_chooser_create_account_settings (EmpathyProtocolChooser *self) } else if (!tp_strdiff (service, "facebook")) { - gchar *fallback_servers[] = { + const gchar *fallback_servers[] = { "chat.facebook.com:443", NULL }; -- cgit v1.2.3