[empathy] don't build avatar_chooser_set_avatar_from_pixbuf if building without cheese
- From: Guillaume Desmottes <gdesmott src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [empathy] don't build avatar_chooser_set_avatar_from_pixbuf if building without cheese
- Date: Thu, 26 May 2011 16:44:41 +0000 (UTC)
commit 2f24b24251d1dce47dfd5fd34a6642ea2cd8a653
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date: Thu May 26 18:43:18 2011 +0200
don't build avatar_chooser_set_avatar_from_pixbuf if building without cheese
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 e7a0d3f..f7f3b29 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,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]