[epiphany/mcatanzaro/cppcheck: 11/11] Remove various unused member variables
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany/mcatanzaro/cppcheck: 11/11] Remove various unused member variables
- Date: Sun, 17 Nov 2019 17:45:57 +0000 (UTC)
commit d06e742ff5ba2e01681f9abdbff47b031999c425
Author: Michael Catanzaro <mcatanzaro gnome org>
Date: Sun Nov 17 11:35:39 2019 -0600
Remove various unused member variables
lib/widgets/ephy-downloads-progress-icon.c | 2 --
src/bookmarks/ephy-bookmark-properties-grid.c | 2 --
src/bookmarks/ephy-bookmarks-popover.c | 2 --
src/ephy-encoding-dialog.c | 1 -
src/ephy-header-bar.c | 5 -----
src/ephy-location-controller.c | 1 -
src/ephy-notebook.c | 1 -
src/ephy-search-engine-dialog.c | 8 --------
src/ephy-shell.c | 1 -
src/prefs-dialog.c | 3 ---
10 files changed, 26 deletions(-)
---
diff --git a/lib/widgets/ephy-downloads-progress-icon.c b/lib/widgets/ephy-downloads-progress-icon.c
index a0dd1db11..1c403c891 100644
--- a/lib/widgets/ephy-downloads-progress-icon.c
+++ b/lib/widgets/ephy-downloads-progress-icon.c
@@ -26,8 +26,6 @@
struct _EphyDownloadsProgressIcon {
GtkDrawingArea parent_instance;
-
- GtkWidget *downloads_box;
};
G_DEFINE_TYPE (EphyDownloadsProgressIcon, ephy_downloads_progress_icon, GTK_TYPE_DRAWING_AREA)
diff --git a/src/bookmarks/ephy-bookmark-properties-grid.c b/src/bookmarks/ephy-bookmark-properties-grid.c
index 1a4333ee8..c96c36bb1 100644
--- a/src/bookmarks/ephy-bookmark-properties-grid.c
+++ b/src/bookmarks/ephy-bookmark-properties-grid.c
@@ -51,7 +51,6 @@ struct _EphyBookmarkPropertiesGrid {
GtkWidget *tags_scrolled_window;
GtkWidget *add_tag_entry;
GtkWidget *add_tag_button;
- GtkWidget *remove_bookmark_button;
};
G_DEFINE_TYPE (EphyBookmarkPropertiesGrid, ephy_bookmark_properties_grid, GTK_TYPE_GRID)
@@ -492,7 +491,6 @@ ephy_bookmark_properties_grid_class_init (EphyBookmarkPropertiesGridClass *klass
gtk_widget_class_bind_template_child (widget_class, EphyBookmarkPropertiesGrid, tags_scrolled_window);
gtk_widget_class_bind_template_child (widget_class, EphyBookmarkPropertiesGrid, add_tag_entry);
gtk_widget_class_bind_template_child (widget_class, EphyBookmarkPropertiesGrid, add_tag_button);
- gtk_widget_class_bind_template_child (widget_class, EphyBookmarkPropertiesGrid, remove_bookmark_button);
}
static const GActionEntry entries[] = {
diff --git a/src/bookmarks/ephy-bookmarks-popover.c b/src/bookmarks/ephy-bookmarks-popover.c
index 2fbfb0f9c..e1a321385 100644
--- a/src/bookmarks/ephy-bookmarks-popover.c
+++ b/src/bookmarks/ephy-bookmarks-popover.c
@@ -38,7 +38,6 @@ struct _EphyBookmarksPopover {
GtkWidget *bookmarks_list_box;
GtkWidget *tags_list_box;
GtkWidget *tag_detail_list_box;
- GtkWidget *tag_detail_back_button;
GtkWidget *tag_detail_label;
char *tag_detail_tag;
@@ -505,7 +504,6 @@ ephy_bookmarks_popover_class_init (EphyBookmarksPopoverClass *klass)
gtk_widget_class_bind_template_child (widget_class, EphyBookmarksPopover, bookmarks_list_box);
gtk_widget_class_bind_template_child (widget_class, EphyBookmarksPopover, tags_list_box);
gtk_widget_class_bind_template_child (widget_class, EphyBookmarksPopover, tag_detail_list_box);
- gtk_widget_class_bind_template_child (widget_class, EphyBookmarksPopover, tag_detail_back_button);
gtk_widget_class_bind_template_child (widget_class, EphyBookmarksPopover, tag_detail_label);
}
diff --git a/src/ephy-encoding-dialog.c b/src/ephy-encoding-dialog.c
index 7433c704f..83ad45b40 100644
--- a/src/ephy-encoding-dialog.c
+++ b/src/ephy-encoding-dialog.c
@@ -42,7 +42,6 @@ struct _EphyEncodingDialog {
EphyEncodings *encodings;
EphyWindow *window;
EphyEmbed *embed;
- GtkWidget *enc_view;
gboolean update_embed_tag;
gboolean update_view_tag;
const char *selected_encoding;
diff --git a/src/ephy-header-bar.c b/src/ephy-header-bar.c
index 732d5d038..e637abf66 100644
--- a/src/ephy-header-bar.c
+++ b/src/ephy-header-bar.c
@@ -54,11 +54,6 @@ struct _EphyHeaderBar {
GtkRevealer *end_revealer;
EphyActionBarStart *action_bar_start;
EphyActionBarEnd *action_bar_end;
- GtkWidget *navigation_box;
- GtkWidget *reader_mode_revealer;
- GtkWidget *reader_mode_button;
- GtkWidget *new_tab_button;
- GtkWidget *bookmarks_button;
GtkWidget *page_menu_button;
GtkWidget *zoom_level_button;
GtkWidget *restore_button;
diff --git a/src/ephy-location-controller.c b/src/ephy-location-controller.c
index e9098aa98..62e82582d 100644
--- a/src/ephy-location-controller.c
+++ b/src/ephy-location-controller.c
@@ -56,7 +56,6 @@ struct _EphyLocationController {
gboolean editable;
gboolean sync_address_is_blocked;
EphySearchEngineManager *search_engine_manager;
- guint num_search_engines_actions;
};
static void ephy_location_controller_finalize (GObject *object);
diff --git a/src/ephy-notebook.c b/src/ephy-notebook.c
index 3c5bb2515..c5bcd447a 100644
--- a/src/ephy-notebook.c
+++ b/src/ephy-notebook.c
@@ -54,7 +54,6 @@ struct _EphyNotebook {
EphyAdaptiveMode adaptive_mode;
GList *focused_pages;
- guint tabs_vis_notifier_id;
GMenu *tab_menu;
diff --git a/src/ephy-search-engine-dialog.c b/src/ephy-search-engine-dialog.c
index 9bc8fca53..1e4416ce8 100644
--- a/src/ephy-search-engine-dialog.c
+++ b/src/ephy-search-engine-dialog.c
@@ -35,13 +35,11 @@ struct _EphySearchEngineDialog {
GtkDialog parent_instance;
EphySearchEngineManager *search_engine_manager;
- GtkWidget *search_engine_add_button;
GtkWidget *search_engine_address_entry;
GtkWidget *search_engine_default_switch;
GtkWidget *search_engine_list_box;
GtkWidget *search_engine_name_entry;
GtkWidget *search_engine_bang_entry;
- GtkWidget *search_engine_remove_button;
};
G_DEFINE_TYPE (EphySearchEngineDialog, ephy_search_engine_dialog, GTK_TYPE_DIALOG)
@@ -426,12 +424,6 @@ ephy_search_engine_dialog_class_init (EphySearchEngineDialogClass *klass)
gtk_widget_class_set_template_from_resource (widget_class,
"/org/gnome/epiphany/gtk/search-engine-dialog.ui");
- gtk_widget_class_bind_template_child (widget_class,
- EphySearchEngineDialog,
- search_engine_add_button);
- gtk_widget_class_bind_template_child (widget_class,
- EphySearchEngineDialog,
- search_engine_remove_button);
gtk_widget_class_bind_template_child (widget_class,
EphySearchEngineDialog,
search_engine_list_box);
diff --git a/src/ephy-shell.c b/src/ephy-shell.c
index 25157f975..ff0e15a68 100644
--- a/src/ephy-shell.c
+++ b/src/ephy-shell.c
@@ -52,7 +52,6 @@ struct _EphyShell {
EphySession *session;
EphySyncService *sync_service;
- GList *windows;
GObject *lockdown;
EphyBookmarksManager *bookmarks_manager;
EphyHistoryManager *history_manager;
diff --git a/src/prefs-dialog.c b/src/prefs-dialog.c
index 4d3c0579b..4643d561d 100644
--- a/src/prefs-dialog.c
+++ b/src/prefs-dialog.c
@@ -95,7 +95,6 @@ struct _PrefsDialog {
GtkWidget *restore_session_switch;
GtkWidget *popups_allow_switch;
GtkWidget *adblock_allow_switch;
- GtkWidget *enable_plugins_checkbutton;
GtkWidget *enable_safe_browsing_switch;
GtkWidget *enable_smooth_scrolling_switch;
GtkWidget *enable_mouse_gesture_switch;
@@ -140,7 +139,6 @@ struct _PrefsDialog {
GtkWidget *sync_firefox_iframe_label;
GtkWidget *sync_firefox_account_box;
GtkWidget *sync_firefox_account_row;
- GtkWidget *sync_sign_out_button;
GtkWidget *sync_options_box;
GtkWidget *sync_bookmarks_checkbutton;
GtkWidget *sync_passwords_checkbutton;
@@ -1019,7 +1017,6 @@ prefs_dialog_class_init (PrefsDialogClass *klass)
gtk_widget_class_bind_template_child (widget_class, PrefsDialog, sync_firefox_iframe_label);
gtk_widget_class_bind_template_child (widget_class, PrefsDialog, sync_firefox_account_box);
gtk_widget_class_bind_template_child (widget_class, PrefsDialog, sync_firefox_account_row);
- gtk_widget_class_bind_template_child (widget_class, PrefsDialog, sync_sign_out_button);
gtk_widget_class_bind_template_child (widget_class, PrefsDialog, sync_options_box);
gtk_widget_class_bind_template_child (widget_class, PrefsDialog, sync_bookmarks_checkbutton);
gtk_widget_class_bind_template_child (widget_class, PrefsDialog, sync_passwords_checkbutton);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]