From 2f24b24251d1dce47dfd5fd34a6642ea2cd8a653 Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Thu, 26 May 2011 18:43:18 +0200 Subject: don't build avatar_chooser_set_avatar_from_pixbuf if building without cheese --- libempathy-gtk/empathy-avatar-chooser.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libempathy-gtk/empathy-avatar-chooser.c b/libempathy-gtk/empathy-avatar-chooser.c index e7a0d3fc3..f7f3b29c1 100644 --- a/libempathy-gtk/empathy-avatar-chooser.c +++ b/libempathy-gtk/empathy-avatar-chooser.c @@ -734,6 +734,7 @@ avatar_chooser_set_image_from_file (EmpathyAvatarChooser *chooser, avatar_chooser_set_image_from_data (chooser, image_data, image_size, TRUE); } +#ifdef HAVE_CHEESE static void avatar_chooser_set_avatar_from_pixbuf (EmpathyAvatarChooser *chooser, GdkPixbuf *pb) @@ -754,7 +755,7 @@ avatar_chooser_set_avatar_from_pixbuf (EmpathyAvatarChooser *chooser, avatar = empathy_avatar_new ((guchar *) buf, size, mime, NULL); avatar_chooser_set_image (chooser, avatar, pb, TRUE); } - +#endif static gboolean avatar_chooser_drag_motion_cb (GtkWidget *widget, -- cgit v1.2.3