From 3677c23545f7e549c72096112159eecd895a4270 Mon Sep 17 00:00:00 2001 From: Xavier Claessens Date: Fri, 6 Jul 2007 22:10:54 +0000 Subject: Workaround to fix a commonly reported crash. Add a missing check. 2007-07-07 Xavier Claessens * libempathy-gtk/empathy-account-widget-generic.c: Workaround to fix a commonly reported crash. * libempathy/empathy-tp-group.c: Add a missing check. svn path=/trunk/; revision=177 --- libempathy/empathy-tp-group.c | 1 + 1 file changed, 1 insertion(+) (limited to 'libempathy') diff --git a/libempathy/empathy-tp-group.c b/libempathy/empathy-tp-group.c index 45a5e784d..65e52f091 100644 --- a/libempathy/empathy-tp-group.c +++ b/libempathy/empathy-tp-group.c @@ -163,6 +163,7 @@ empathy_tp_group_new (TpChan *tp_chan, DBusGProxy *group_iface; g_return_val_if_fail (TELEPATHY_IS_CHAN (tp_chan), NULL); + g_return_val_if_fail (TELEPATHY_IS_CONN (tp_conn), NULL); group_iface = tp_chan_get_interface (tp_chan, TELEPATHY_CHAN_IFACE_GROUP_QUARK); -- cgit v1.2.3