aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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,