~ubuntu-branches/ubuntu/natty/empathy/natty-updates

« back to all changes in this revision

Viewing changes to libempathy/empathy-tp-group.c

Tags: upstream-0.22.0
ImportĀ upstreamĀ versionĀ 0.22.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
2
2
/*
3
3
 * Copyright (C) 2006 Xavier Claessens <xclaesse@gmail.com>
4
 
 * Copyright (C) 2007 Collabora Ltd.
 
4
 * Copyright (C) 2007-2008 Collabora Ltd.
5
5
 *
6
6
 * This library is free software; you can redistribute it and/or
7
7
 * modify it under the terms of the GNU Lesser General Public
828
828
        return dbus_g_proxy_get_path (DBUS_G_PROXY (priv->tp_chan));
829
829
}
830
830
 
 
831
TpChan *
 
832
empathy_tp_group_get_channel (EmpathyTpGroup *group)
 
833
{
 
834
        EmpathyTpGroupPriv *priv;
 
835
 
 
836
        g_return_val_if_fail (EMPATHY_IS_TP_GROUP (group), NULL);
 
837
 
 
838
        priv = GET_PRIV (group);
 
839
 
 
840
        return priv->tp_chan;
 
841
}
 
842
 
831
843
gboolean
832
844
empathy_tp_group_is_member (EmpathyTpGroup *group,
833
845
                            EmpathyContact *contact)