aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2012-06-07 15:46:23 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2012-06-07 18:04:23 +0800
commitd51deb6864802a780f7d013dda5bb3c715768bfc (patch)
tree9d4df36071ae8191054c8a9df34388b1ebcd1cd6 /libempathy-gtk
parent18de9f76fa8ec188b5805a8b2c78aa8bbd80f4f6 (diff)
downloadgsoc2013-empathy-d51deb6864802a780f7d013dda5bb3c715768bfc.tar
gsoc2013-empathy-d51deb6864802a780f7d013dda5bb3c715768bfc.tar.gz
gsoc2013-empathy-d51deb6864802a780f7d013dda5bb3c715768bfc.tar.bz2
gsoc2013-empathy-d51deb6864802a780f7d013dda5bb3c715768bfc.tar.lz
gsoc2013-empathy-d51deb6864802a780f7d013dda5bb3c715768bfc.tar.xz
gsoc2013-empathy-d51deb6864802a780f7d013dda5bb3c715768bfc.tar.zst
gsoc2013-empathy-d51deb6864802a780f7d013dda5bb3c715768bfc.zip
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
Diffstat (limited to 'libempathy-gtk')
-rw-r--r--libempathy-gtk/empathy-protocol-chooser.c6
1 files changed, 3 insertions, 3 deletions
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 };