[gnome-control-center] user-accounts: fix building without cheese



commit f957ce177601318fd428a105be6a5944f7bbc093
Author: Rasmus Thomsen <cogitri exherbo org>
Date:   Thu Mar 15 18:03:58 2018 +0100

    user-accounts: fix building without cheese
    
    https://gitlab.gnome.org/GNOME/gnome-control-center/merge_requests/10

 panels/user-accounts/um-photo-dialog.c | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/panels/user-accounts/um-photo-dialog.c b/panels/user-accounts/um-photo-dialog.c
index 7072699ce..2287e3e69 100644
--- a/panels/user-accounts/um-photo-dialog.c
+++ b/panels/user-accounts/um-photo-dialog.c
@@ -534,7 +534,9 @@ um_photo_dialog_class_init (UmPhotoDialogClass *klass)
         gtk_widget_class_bind_template_child (wclass, UmPhotoDialog, take_picture_button);
 
         gtk_widget_class_bind_template_callback (wclass, um_photo_dialog_select_file);
+#ifdef HAVE_CHEESE
         gtk_widget_class_bind_template_callback (wclass, webcam_icon_selected);
+#endif
 
         oclass->dispose = um_photo_dialog_dispose;
 }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]