[empathy: 12/15] Assert that the account exists
- From: Sjoerd Simons <sjoerds src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [empathy: 12/15] Assert that the account exists
- Date: Wed, 24 Feb 2010 20:17:43 +0000 (UTC)
commit b05a5abcc6842be084aa12632b8ddd8d11dfa485
Author: Sjoerd Simons <sjoerd simons collabora co uk>
Date: Wed Feb 24 14:44:09 2010 +0000
Assert that the account exists
libempathy/empathy-dispatcher.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/libempathy/empathy-dispatcher.c b/libempathy/empathy-dispatcher.c
index 74e8ecb..4227f9d 100644
--- a/libempathy/empathy-dispatcher.c
+++ b/libempathy/empathy-dispatcher.c
@@ -1717,6 +1717,8 @@ empathy_dispatcher_call_create_or_ensure_channel (
account = empathy_get_account_for_connection (request_data->connection);
+ g_assert (account != NULL);
+
if (request_data->cb)
handler = empathy_handler_get_busname (priv->handler);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]