[epiphany] prefs-dialog: Fix build with ENABLE_SYNC



commit a27ccad1f3e70067e0fc20969efd104318181e48
Author: Michael Catanzaro <mcatanzaro gnome org>
Date:   Mon Feb 6 14:46:42 2017 -0600

    prefs-dialog: Fix build with ENABLE_SYNC

 src/prefs-dialog.c |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/src/prefs-dialog.c b/src/prefs-dialog.c
index 8cf455c..27b20fa 100644
--- a/src/prefs-dialog.c
+++ b/src/prefs-dialog.c
@@ -130,9 +130,8 @@ struct _PrefsDialog {
   WebKitUserContentManager *fxa_manager;
   WebKitUserScript *fxa_script;
   guint fxa_id;
-#else
-  GtkWidget *notebook;
 #endif
+  GtkWidget *notebook;
 };
 
 #ifdef ENABLE_SYNC
@@ -645,9 +644,8 @@ prefs_dialog_class_init (PrefsDialogClass *klass)
   gtk_widget_class_bind_template_child (widget_class, PrefsDialog, sync_sign_out_box);
   gtk_widget_class_bind_template_child (widget_class, PrefsDialog, sync_sign_out_details);
   gtk_widget_class_bind_template_child (widget_class, PrefsDialog, sync_sign_out_button);
-#else
-  gtk_widget_class_bind_template_child (widget_class, PrefsDialog, notebook);
 #endif
+  gtk_widget_class_bind_template_child (widget_class, PrefsDialog, notebook);
 
   gtk_widget_class_bind_template_callback (widget_class, on_manage_cookies_button_clicked);
   gtk_widget_class_bind_template_callback (widget_class, on_manage_passwords_button_clicked);


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