summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRasmus Thomsen <cogitri@exherbo.org>2018-03-15 18:03:58 +0100
committerRasmus Thomsen <cogitri@exherbo.org>2018-03-20 17:24:04 +0100
commitf957ce177601318fd428a105be6a5944f7bbc093 (patch)
treee58bb2a5e812ede62bd9217f741f892b6238fc5f
parentd1cea2a3d9971ebf2d848b966cc9c10aff10cbe6 (diff)
downloadgnome-control-center-f957ce177601318fd428a105be6a5944f7bbc093.tar.gz
user-accounts: fix building without cheese
https://gitlab.gnome.org/GNOME/gnome-control-center/merge_requests/10
-rw-r--r--panels/user-accounts/um-photo-dialog.c2
1 files changed, 2 insertions, 0 deletions
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;
}