aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-log-window.c
diff options
context:
space:
mode:
authorJonny Lamb <jonnylamb@gnome.org>2009-10-30 18:10:26 +0800
committerJonny Lamb <jonnylamb@gnome.org>2009-10-30 18:10:26 +0800
commitd5f2776bacfe750f02782cef348e984ed68916af (patch)
treef6f96860b17206dd8166eed34d66457daa5fef7e /libempathy-gtk/empathy-log-window.c
parent12fcf479a49d90c34a203d1c93050fac762956f3 (diff)
downloadgsoc2013-empathy-d5f2776bacfe750f02782cef348e984ed68916af.tar
gsoc2013-empathy-d5f2776bacfe750f02782cef348e984ed68916af.tar.gz
gsoc2013-empathy-d5f2776bacfe750f02782cef348e984ed68916af.tar.bz2
gsoc2013-empathy-d5f2776bacfe750f02782cef348e984ed68916af.tar.lz
gsoc2013-empathy-d5f2776bacfe750f02782cef348e984ed68916af.tar.xz
gsoc2013-empathy-d5f2776bacfe750f02782cef348e984ed68916af.tar.zst
gsoc2013-empathy-d5f2776bacfe750f02782cef348e984ed68916af.zip
all: log error messages if preparing the account manager fails
Signed-off-by: Jonny Lamb <jonnylamb@gnome.org>
Diffstat (limited to 'libempathy-gtk/empathy-log-window.c')
-rw-r--r--libempathy-gtk/empathy-log-window.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/libempathy-gtk/empathy-log-window.c b/libempathy-gtk/empathy-log-window.c
index c78f3a36d..247a99806 100644
--- a/libempathy-gtk/empathy-log-window.c
+++ b/libempathy-gtk/empathy-log-window.c
@@ -144,8 +144,11 @@ account_manager_prepared_cb (GObject *source_object,
EmpathyLogWindow *window = user_data;
guint account_num;
GList *accounts;
+ GError *error = NULL;
- if (!tp_account_manager_prepare_finish (account_manager, result, NULL)) {
+ if (!tp_account_manager_prepare_finish (account_manager, result, &error)) {
+ DEBUG ("Failed to prepare account manager: %s", error->message);
+ g_error_free (error);
return;
}