diff options
author | Xavier Claessens <xclaesse@src.gnome.org> | 2008-12-12 17:40:28 +0800 |
---|---|---|
committer | Xavier Claessens <xclaesse@src.gnome.org> | 2008-12-12 17:40:28 +0800 |
commit | 590359196fe598b4ed6d1e6cd97395d181f51a4c (patch) | |
tree | 95a737af8646e36eb0a54fead298d4ad2228cc2d /libempathy/empathy-tp-group.c | |
parent | c29b376f15e610018da2349b5f2a786df62d5737 (diff) | |
download | gsoc2013-empathy-590359196fe598b4ed6d1e6cd97395d181f51a4c.tar gsoc2013-empathy-590359196fe598b4ed6d1e6cd97395d181f51a4c.tar.gz gsoc2013-empathy-590359196fe598b4ed6d1e6cd97395d181f51a4c.tar.bz2 gsoc2013-empathy-590359196fe598b4ed6d1e6cd97395d181f51a4c.tar.lz gsoc2013-empathy-590359196fe598b4ed6d1e6cd97395d181f51a4c.tar.xz gsoc2013-empathy-590359196fe598b4ed6d1e6cd97395d181f51a4c.tar.zst gsoc2013-empathy-590359196fe598b4ed6d1e6cd97395d181f51a4c.zip |
Fix coding style
svn path=/trunk/; revision=1964
Diffstat (limited to 'libempathy/empathy-tp-group.c')
-rw-r--r-- | libempathy/empathy-tp-group.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/libempathy/empathy-tp-group.c b/libempathy/empathy-tp-group.c index 689d2bb80..c9220382a 100644 --- a/libempathy/empathy-tp-group.c +++ b/libempathy/empathy-tp-group.c @@ -24,10 +24,8 @@ #include <libmissioncontrol/mc-account.h> -#include <telepathy-glib/channel.h> #include <telepathy-glib/util.h> #include <telepathy-glib/interfaces.h> -#include <telepathy-glib/channel.h> #include "empathy-tp-group.h" #include "empathy-contact-factory.h" @@ -972,10 +970,12 @@ empathy_tp_group_get_invitation (EmpathyTpGroup *group, TpChannelGroupFlags empathy_tp_group_get_flags (EmpathyTpGroup *self) { - EmpathyTpGroupPriv *priv = GET_PRIV (self); + EmpathyTpGroupPriv *priv = GET_PRIV (self); - if (priv->channel == NULL) - return 0; + g_return_val_if_fail (EMPATHY_IS_TP_GROUP (self), 0); - return tp_channel_group_get_flags (priv->channel); + if (priv->channel == NULL) + return 0; + + return tp_channel_group_get_flags (priv->channel); } |