diff options
Diffstat (limited to 'libempathy-gtk/empathy-contact-search-dialog.c')
-rw-r--r-- | libempathy-gtk/empathy-contact-search-dialog.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/libempathy-gtk/empathy-contact-search-dialog.c b/libempathy-gtk/empathy-contact-search-dialog.c index 29d912687..350879e19 100644 --- a/libempathy-gtk/empathy-contact-search-dialog.c +++ b/libempathy-gtk/empathy-contact-search-dialog.c @@ -387,12 +387,14 @@ supports_contact_search_cb (GObject *conn, gpointer user_data) { FilterCallbackData *data = user_data; - GError *myerr = NULL; + GError *error = NULL; TpCapabilities *caps; - if (!tp_proxy_prepare_finish (conn, result, &myerr)) + if (!tp_proxy_prepare_finish (conn, result, &error)) { + DEBUG ("Error preparing the connection: %s", error->message); data->callback (FALSE, data->user_data); + g_error_free (error); g_slice_free (FilterCallbackData, data); return; } |