aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-ui-utils.h
diff options
context:
space:
mode:
authorTravis Reitter <treitter@gmail.com>2010-06-12 04:22:38 +0800
committerTravis Reitter <treitter@gmail.com>2010-07-21 07:12:35 +0800
commit48a9944fd9f3b4461a239d2da490fba24874df80 (patch)
tree50c6dced199adadfe3bd45f14df6a7ab139f1d54 /libempathy-gtk/empathy-ui-utils.h
parentd6aa2f99e3e626f81b455c0fa1ff4817a4e4f2f6 (diff)
downloadgsoc2013-empathy-48a9944fd9f3b4461a239d2da490fba24874df80.tar
gsoc2013-empathy-48a9944fd9f3b4461a239d2da490fba24874df80.tar.gz
gsoc2013-empathy-48a9944fd9f3b4461a239d2da490fba24874df80.tar.bz2
gsoc2013-empathy-48a9944fd9f3b4461a239d2da490fba24874df80.tar.lz
gsoc2013-empathy-48a9944fd9f3b4461a239d2da490fba24874df80.tar.xz
gsoc2013-empathy-48a9944fd9f3b4461a239d2da490fba24874df80.tar.zst
gsoc2013-empathy-48a9944fd9f3b4461a239d2da490fba24874df80.zip
Implement avatar support.
Diffstat (limited to 'libempathy-gtk/empathy-ui-utils.h')
-rw-r--r--libempathy-gtk/empathy-ui-utils.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/libempathy-gtk/empathy-ui-utils.h b/libempathy-gtk/empathy-ui-utils.h
index 3032aea84..3e9a8434e 100644
--- a/libempathy-gtk/empathy-ui-utils.h
+++ b/libempathy-gtk/empathy-ui-utils.h
@@ -49,6 +49,10 @@ G_BEGIN_DECLS
(x) < gdk_screen_width () && \
(y) < gdk_screen_height ())
+typedef void (*EmpathyPixbufAvatarFromIndividualCb) (FolksIndividual *individual,
+ GdkPixbuf *pixbuf,
+ gpointer user_data);
+
void empathy_gtk_init (void);
/* Glade */
@@ -72,6 +76,11 @@ GdkPixbuf * empathy_pixbuf_from_data (gchar *data,
GdkPixbuf * empathy_pixbuf_from_data_and_mime (gchar *data,
gsize data_size,
gchar **mime_type);
+void empathy_pixbuf_avatar_from_individual_scaled_async (FolksIndividual *individual,
+ gint width,
+ gint height,
+ EmpathyPixbufAvatarFromIndividualCb callback,
+ gpointer user_data);
GdkPixbuf * empathy_pixbuf_from_avatar_scaled (EmpathyAvatar *avatar,
gint width,
gint height);