diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2011-05-27 00:43:18 +0800 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2011-05-27 00:43:18 +0800 |
commit | 2f24b24251d1dce47dfd5fd34a6642ea2cd8a653 (patch) | |
tree | d564dc1f0d46a5523ceded49fc3d02505ae3e2a0 | |
parent | 67929359fee3036b7af9485854f009ce15b83f9d (diff) | |
download | gsoc2013-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
-rw-r--r-- | libempathy-gtk/empathy-avatar-chooser.c | 3 |
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, |