diff options
author | Xavier Claessens <xclaesse@gmail.com> | 2007-06-09 03:22:39 +0800 |
---|---|---|
committer | Xavier Claessens <xclaesse@src.gnome.org> | 2007-06-09 03:22:39 +0800 |
commit | db7cecd7653d88081ea9c89ac7e68b0816961189 (patch) | |
tree | bfa907fe6da0e13001c0ec3c8617506e3e5d7e92 /libempathy/gossip-contact.h | |
parent | d8b89b20f13552d3bd1c658f3396714e24744ff6 (diff) | |
download | gsoc2013-empathy-db7cecd7653d88081ea9c89ac7e68b0816961189.tar gsoc2013-empathy-db7cecd7653d88081ea9c89ac7e68b0816961189.tar.gz gsoc2013-empathy-db7cecd7653d88081ea9c89ac7e68b0816961189.tar.bz2 gsoc2013-empathy-db7cecd7653d88081ea9c89ac7e68b0816961189.tar.lz gsoc2013-empathy-db7cecd7653d88081ea9c89ac7e68b0816961189.tar.xz gsoc2013-empathy-db7cecd7653d88081ea9c89ac7e68b0816961189.tar.zst gsoc2013-empathy-db7cecd7653d88081ea9c89ac7e68b0816961189.zip |
Do not save when closing the dialog. Update information in real-time and
2007-06-08 Xavier Claessens <xclaesse@gmail.com>
* libempathy-gtk/empathy-contact-dialogs.c:
* libempathy-gtk/empathy-contact-widget.c:
* libempathy-gtk/empathy-contact-widget.h: Do not save when closing the
dialog. Update information in real-time and just provides a "Close"
button. That's more GNOME spirite.
* libempathy/empathy-tp-contact-list.c:
* libempathy/gossip-contact.h:
* libempathy/gossip-contact.c: New methods:
gossip_contact_add/remove_group(). This fixes leaks when a contact is
added/removed from a group.
svn path=/trunk/; revision=132
Diffstat (limited to 'libempathy/gossip-contact.h')
-rw-r--r-- | libempathy/gossip-contact.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libempathy/gossip-contact.h b/libempathy/gossip-contact.h index 3dc9bc76d..23da37538 100644 --- a/libempathy/gossip-contact.h +++ b/libempathy/gossip-contact.h @@ -85,6 +85,10 @@ void gossip_contact_set_subscription (GossipContact GossipSubscription subscription); void gossip_contact_set_handle (GossipContact *contact, guint handle); +void gossip_contact_add_group (GossipContact *contact, + const gchar *group); +void gossip_contact_remove_group (GossipContact *contact, + const gchar *group); gboolean gossip_contact_is_online (GossipContact *contact); gboolean gossip_contact_is_in_group (GossipContact *contact, const gchar *group); |