aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2011-05-27 00:43:18 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2011-05-27 00:43:18 +0800
commit2f24b24251d1dce47dfd5fd34a6642ea2cd8a653 (patch)
treed564dc1f0d46a5523ceded49fc3d02505ae3e2a0 /libempathy-gtk
parent67929359fee3036b7af9485854f009ce15b83f9d (diff)
downloadgsoc2013-empathy-2f24b24251d1dce47dfd5fd34a6642ea2cd8a653.tar
gsoc2013-empathy-2f24b24251d1dce47dfd5fd34a6642ea2cd8a653.tar.gz
gsoc2013-empathy-2f24b24251d1dce47dfd5fd34a6642ea2cd8a653.tar.bz2
gsoc2013-empathy-2f24b24251d1dce47dfd5fd34a6642ea2cd8a653.tar.lz
gsoc2013-empathy-2f24b24251d1dce47dfd5fd34a6642ea2cd8a653.tar.xz
gsoc2013-empathy-2f24b24251d1dce47dfd5fd34a6642ea2cd8a653.tar.zst
gsoc2013-empathy-2f24b24251d1dce47dfd5fd34a6642ea2cd8a653.zip
don't build avatar_chooser_set_avatar_from_pixbuf if building without cheese
Diffstat (limited to 'libempathy-gtk')
-rw-r--r--libempathy-gtk/empathy-avatar-chooser.c3
1 files changed, 2 insertions, 1 deletions
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,