[Soylent-devel] Compile Error



On Sun, 2007-08-12 at 14:47 -0400, Rouslan V. Solomakhin wrote:
> In Ubuntu Gutsy, I get the following compile error:
> 
> soylent-soylent-person.o: In function `sp_live_avatar_updated_cb':
> /home/rouslan/Desktop/soylent-0.1.0/src/soylent-person.c:202: undefined
> reference to `empathy_pixbuf_avatar_from_contact'
> collect2: ld returned 1 exit status
> make[1]: *** [soylent] Error 1
> make[1]: Leaving directory `/home/rouslan/Desktop/soylent-0.1.0/src'
> make: *** [all-recursive] Error 1
> 
> Any ideas how to fix this? My empathy version is 0.10.

This compile error can be fixed using this patch:

--- soylent-person.c.orig       2007-08-12 19:22:30.000000000 -0400
+++ soylent-person.c    2007-08-12 19:18:31.000000000 -0400
@@ -199,7 +199,7 @@ sp_live_avatar_updated_cb (EmpathyContac
 {
   GdkPixbuf *pixbuf;
 
-  pixbuf = empathy_pixbuf_avatar_from_contact (contact);
+  pixbuf = empathy_pixbuf_avatar_from_contact_scaled (contact, 64, 64);
 
   if (!pixbuf || !person
       || e_contact_get (person->econtact, E_CONTACT_PHOTO))


--
Cheers,
Rouslan





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]