]> git.0d.be Git - empathy.git/blobdiff - libempathy-gtk/empathy-roster-contact.c
include telepathy-glib.h
[empathy.git] / libempathy-gtk / empathy-roster-contact.c
index ba498d289688b1dcc1df1d2f13c446f133a3e1ec..e72ae4494fdacddd7d701449b9aa8de8510c1a94 100644 (file)
@@ -2,7 +2,7 @@
 
 #include "empathy-roster-contact.h"
 
-#include <telepathy-glib/util.h>
+#include <telepathy-glib/telepathy-glib.h>
 
 #include <libempathy/empathy-utils.h>
 
@@ -499,3 +499,9 @@ empathy_roster_contact_set_event_icon (EmpathyRosterContact *self,
 
   update_presence_icon (self);
 }
+
+GdkPixbuf *
+empathy_roster_contact_get_avatar_pixbuf (EmpathyRosterContact *self)
+{
+  return gtk_image_get_pixbuf (GTK_IMAGE (self->priv->avatar));
+}