empathy r2732 - branches/gnome-2-26/src
- From: xclaesse svn gnome org
- To: svn-commits-list gnome org
- Subject: empathy r2732 - branches/gnome-2-26/src
- Date: Fri, 20 Mar 2009 16:41:34 +0000 (UTC)
Author: xclaesse
Date: Fri Mar 20 16:41:34 2009
New Revision: 2732
URL: http://svn.gnome.org/viewvc/empathy?rev=2732&view=rev
Log:
mc_account_create can fail, don't crash if it happens
From: Xavier Claessens <xclaesse gmail com>
Modified:
branches/gnome-2-26/src/empathy-import-dialog.c
Modified: branches/gnome-2-26/src/empathy-import-dialog.c
==============================================================================
--- branches/gnome-2-26/src/empathy-import-dialog.c (original)
+++ branches/gnome-2-26/src/empathy-import-dialog.c Fri Mar 20 16:41:34 2009
@@ -99,6 +99,11 @@
GValue *username;
account = mc_account_create (data->profile);
+ if (account == NULL)
+ {
+ DEBUG ("Failed to create account");
+ return;
+ }
g_hash_table_iter_init (&iter, data->settings);
while (g_hash_table_iter_next (&iter, &key, &value))
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]