summaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorMaksym Hazevych <mhazevych@proton.me>2023-01-17 00:18:31 +0200
committerRobert Ancell <robert.ancell@canonical.com>2023-03-29 14:26:55 +1300
commit08c2e6985110f2f5b1cb529f44ead3e0a8de7fc1 (patch)
tree5ecb1f570cdc63811a2deb48a3ab0fca88948076 /shell
parent81d7a8a85e0922184b98da5d4795ebdcfa134842 (diff)
downloadgnome-control-center-08c2e6985110f2f5b1cb529f44ead3e0a8de7fc1.tar.gz
Resolving suggestions
Diffstat (limited to 'shell')
-rw-r--r--shell/cc-panel-list.c1
-rw-r--r--shell/cc-window.c2
2 files changed, 1 insertions, 2 deletions
diff --git a/shell/cc-panel-list.c b/shell/cc-panel-list.c
index 24c58f3a4..223f06291 100644
--- a/shell/cc-panel-list.c
+++ b/shell/cc-panel-list.c
@@ -533,7 +533,6 @@ header_func (GtkListBoxRow *row,
separator = gtk_separator_new (GTK_ORIENTATION_HORIZONTAL);
gtk_widget_set_hexpand (separator, TRUE);
- gtk_widget_set_visible (separator, TRUE);
gtk_list_box_row_set_header (row, separator);
}
diff --git a/shell/cc-window.c b/shell/cc-window.c
index e9b8b1790..52a6e4edc 100644
--- a/shell/cc-window.c
+++ b/shell/cc-window.c
@@ -586,7 +586,7 @@ on_development_warning_dialog_responded_cb (CcWindow *self)
g_debug ("Disabling development build warning dialog");
g_settings_set_boolean (self->settings, "show-development-warning", FALSE);
- gtk_widget_set_visible (GTK_WIDGET (self->development_warning_dialog), FALSE);
+ gtk_window_close (GTK_WINDOW (self->development_warning_dialog));
}
static void