aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy
diff options
context:
space:
mode:
authorxclaesse <xclaesse@4ee84921-47dd-4033-b63a-18d7a039a3e4>2008-12-12 17:40:14 +0800
committerxclaesse <xclaesse@4ee84921-47dd-4033-b63a-18d7a039a3e4>2008-12-12 17:40:14 +0800
commit42ef92852d045816ac7d1fb7ef832a624270a368 (patch)
tree430267bcfb3cbc00996681fb2524a341245f61e4 /libempathy
parent98ef78f4371e4150161eb7cfb7129e96d734b549 (diff)
downloadgsoc2013-empathy-42ef92852d045816ac7d1fb7ef832a624270a368.tar
gsoc2013-empathy-42ef92852d045816ac7d1fb7ef832a624270a368.tar.gz
gsoc2013-empathy-42ef92852d045816ac7d1fb7ef832a624270a368.tar.bz2
gsoc2013-empathy-42ef92852d045816ac7d1fb7ef832a624270a368.tar.lz
gsoc2013-empathy-42ef92852d045816ac7d1fb7ef832a624270a368.tar.xz
gsoc2013-empathy-42ef92852d045816ac7d1fb7ef832a624270a368.tar.zst
gsoc2013-empathy-42ef92852d045816ac7d1fb7ef832a624270a368.zip
add empathy_tp_group_get_flags (Guillaume Desmottes)
git-svn-id: svn+ssh://svn.gnome.org/svn/empathy/trunk@1960 4ee84921-47dd-4033-b63a-18d7a039a3e4
Diffstat (limited to 'libempathy')
-rw-r--r--libempathy/empathy-tp-group.c11
-rw-r--r--libempathy/empathy-tp-group.h1
2 files changed, 12 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);
+}
diff --git a/libempathy/empathy-tp-group.h b/libempathy/empathy-tp-group.h
index bbd4b84f9..4a60bfc69 100644
--- a/libempathy/empathy-tp-group.h
+++ b/libempathy/empathy-tp-group.h
@@ -86,6 +86,7 @@ EmpathyPendingInfo *empathy_pending_info_new (EmpathyContact *me
EmpathyContact *actor,
const gchar *message);
void empathy_pending_info_free (EmpathyPendingInfo *info);
+TpChannelGroupFlags empathy_tp_group_get_flags (EmpathyTpGroup *group);
G_END_DECLS