aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy/empathy-contact-factory.h
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@gmail.com>2007-11-04 07:23:22 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2007-11-04 07:23:22 +0800
commit48334a065723ce15f191adf391de444f72ae2efb (patch)
treebb0cc93a6b36e376f2ca8153483291369bc2b9e7 /libempathy/empathy-contact-factory.h
parentb07f56b36a34bfcd490f3a14c3315f998de425f3 (diff)
downloadgsoc2013-empathy-48334a065723ce15f191adf391de444f72ae2efb.tar
gsoc2013-empathy-48334a065723ce15f191adf391de444f72ae2efb.tar.gz
gsoc2013-empathy-48334a065723ce15f191adf391de444f72ae2efb.tar.bz2
gsoc2013-empathy-48334a065723ce15f191adf391de444f72ae2efb.tar.lz
gsoc2013-empathy-48334a065723ce15f191adf391de444f72ae2efb.tar.xz
gsoc2013-empathy-48334a065723ce15f191adf391de444f72ae2efb.tar.zst
gsoc2013-empathy-48334a065723ce15f191adf391de444f72ae2efb.zip
Rename empathy_contact_factory_set_name() to _set_alias(). Implements
2007-11-03 Xavier Claessens <xclaesse@gmail.com> * libempathy-gtk/empathy-contact-widget.c: * libempathy-gtk/empathy-avatar-chooser.c: * libempathy-gtk/empathy-avatar-chooser.h: * python/pyempathy/pyempathy.defs: * libempathy/empathy-contact-factory.c: * libempathy/empathy-contact-factory.h: Rename empathy_contact_factory_set_name() to _set_alias(). Implements empathy_contact_factory_set_avatar(). Return the mime_type in empathy_avatar_chooser_get_image_data(). svn path=/trunk/; revision=417
Diffstat (limited to 'libempathy/empathy-contact-factory.h')
-rw-r--r--libempathy/empathy-contact-factory.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/libempathy/empathy-contact-factory.h b/libempathy/empathy-contact-factory.h
index bed558781..24aabc772 100644
--- a/libempathy/empathy-contact-factory.h
+++ b/libempathy/empathy-contact-factory.h
@@ -62,9 +62,14 @@ EmpathyContact * empathy_contact_factory_get_from_handle (EmpathyContactF
GList * empathy_contact_factory_get_from_handles (EmpathyContactFactory *factory,
McAccount *account,
GArray *handles);
-void empathy_contact_factory_set_name (EmpathyContactFactory *factory,
+void empathy_contact_factory_set_alias (EmpathyContactFactory *factory,
EmpathyContact *contact,
- const gchar *name);
+ const gchar *alias);
+void empathy_contact_factory_set_avatar (EmpathyContactFactory *factory,
+ McAccount *account,
+ const gchar *data,
+ gsize size,
+ const gchar *mime_type);
G_END_DECLS