aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy/empathy-tp-group.c
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@src.gnome.org>2008-12-12 17:40:14 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2008-12-12 17:40:14 +0800
commita278a9f7441876f7f7015097bd954bb24fb712bb (patch)
tree430267bcfb3cbc00996681fb2524a341245f61e4 /libempathy/empathy-tp-group.c
parentf624a1e6fe086b07e66c6b3aaa6d959304d95590 (diff)
downloadgsoc2013-empathy-a278a9f7441876f7f7015097bd954bb24fb712bb.tar
gsoc2013-empathy-a278a9f7441876f7f7015097bd954bb24fb712bb.tar.gz
gsoc2013-empathy-a278a9f7441876f7f7015097bd954bb24fb712bb.tar.bz2
gsoc2013-empathy-a278a9f7441876f7f7015097bd954bb24fb712bb.tar.lz
gsoc2013-empathy-a278a9f7441876f7f7015097bd954bb24fb712bb.tar.xz
gsoc2013-empathy-a278a9f7441876f7f7015097bd954bb24fb712bb.tar.zst
gsoc2013-empathy-a278a9f7441876f7f7015097bd954bb24fb712bb.zip
add empathy_tp_group_get_flags (Guillaume Desmottes)
svn path=/trunk/; revision=1960
Diffstat (limited to 'libempathy/empathy-tp-group.c')
-rw-r--r--libempathy/empathy-tp-group.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/libempathy/empathy-tp-group.c b/libempathy/empathy-tp-group.c
index ca7ff491f..689d2bb80 100644
--- a/libempathy/empathy-tp-group.c
+++ b/libempathy/empathy-tp-group.c
@@ -27,6 +27,7 @@
#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"
@@ -968,3 +969,13 @@ empathy_tp_group_get_invitation (EmpathyTpGroup *group,
return invitation;
}
+TpChannelGroupFlags
+empathy_tp_group_get_flags (EmpathyTpGroup *self)
+{
+ EmpathyTpGroupPriv *priv = GET_PRIV (self);
+
+ if (priv->channel == NULL)
+ return 0;
+
+ return tp_channel_group_get_flags (priv->channel);
+}