diff options
author | Rasmus Thomsen <cogitri@exherbo.org> | 2018-03-15 18:03:58 +0100 |
---|---|---|
committer | Ondrej Holy <oholy@redhat.com> | 2018-04-24 09:11:45 +0200 |
commit | 4bd2c2462b9f7ccfa5fa42f02e6b1322965760f2 (patch) | |
tree | 6458bc2d280327d13b178b4ee55a921dede5a97b | |
parent | 6f09e736b10bb27d73b54938b7e454fd48dbf948 (diff) | |
download | gnome-control-center-4bd2c2462b9f7ccfa5fa42f02e6b1322965760f2.tar.gz |
user-accounts: fix building without cheese
Closes: https://gitlab.gnome.org/GNOME/gnome-control-center/issues/69
-rw-r--r-- | panels/user-accounts/um-photo-dialog.c | 2 |
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 66b236057..1219ef21f 100644 --- a/panels/user-accounts/um-photo-dialog.c +++ b/panels/user-accounts/um-photo-dialog.c @@ -564,7 +564,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; } |