aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@gmail.com>2007-07-07 06:10:54 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2007-07-07 06:10:54 +0800
commit3677c23545f7e549c72096112159eecd895a4270 (patch)
treee1fd505a4bab2e4a4df4a39736cbcc0026eadd38 /libempathy
parentefe3042bf7b712e2b688121b97bd280ca15a4ff7 (diff)
downloadgsoc2013-empathy-3677c23545f7e549c72096112159eecd895a4270.tar
gsoc2013-empathy-3677c23545f7e549c72096112159eecd895a4270.tar.gz
gsoc2013-empathy-3677c23545f7e549c72096112159eecd895a4270.tar.bz2
gsoc2013-empathy-3677c23545f7e549c72096112159eecd895a4270.tar.lz
gsoc2013-empathy-3677c23545f7e549c72096112159eecd895a4270.tar.xz
gsoc2013-empathy-3677c23545f7e549c72096112159eecd895a4270.tar.zst
gsoc2013-empathy-3677c23545f7e549c72096112159eecd895a4270.zip
Workaround to fix a commonly reported crash. Add a missing check.
2007-07-07 Xavier Claessens <xclaesse@gmail.com> * 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
Diffstat (limited to 'libempathy')
-rw-r--r--libempathy/empathy-tp-group.c1
1 files changed, 1 insertions, 0 deletions
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);