summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/bluetooth-pairing-dialog.c2
-rw-r--r--lib/bluetooth-settings-widget.c1
2 files changed, 0 insertions, 3 deletions
diff --git a/lib/bluetooth-pairing-dialog.c b/lib/bluetooth-pairing-dialog.c
index cfc5aa70..0f588714 100644
--- a/lib/bluetooth-pairing-dialog.c
+++ b/lib/bluetooth-pairing-dialog.c
@@ -280,7 +280,6 @@ bluetooth_pairing_dialog_constructed (GObject *object)
header = gtk_dialog_get_header_bar (GTK_DIALOG (self));
priv->title = gtk_label_new ("");
gtk_header_bar_set_title_widget (GTK_HEADER_BAR (header), priv->title);
- gtk_widget_show (priv->title);
gtk_header_bar_set_show_title_buttons (GTK_HEADER_BAR (header), FALSE);
/* OK button */
@@ -306,7 +305,6 @@ bluetooth_pairing_dialog_constructed (GObject *object)
g_signal_connect (G_OBJECT (priv->cancel), "clicked",
G_CALLBACK (response_cb), self);
gtk_header_bar_pack_start (GTK_HEADER_BAR (header), priv->cancel);
- gtk_widget_show (priv->cancel);
g_signal_connect (G_OBJECT (priv->entry_pin), "notify::text",
G_CALLBACK (text_changed_cb), self);
diff --git a/lib/bluetooth-settings-widget.c b/lib/bluetooth-settings-widget.c
index 477ff1dc..c844997a 100644
--- a/lib/bluetooth-settings-widget.c
+++ b/lib/bluetooth-settings-widget.c
@@ -1484,7 +1484,6 @@ update_header_func (GtkListBoxRow *row,
current = gtk_list_box_row_get_header (row);
if (current == NULL) {
current = gtk_separator_new (GTK_ORIENTATION_HORIZONTAL);
- gtk_widget_show (current);
gtk_list_box_row_set_header (row, current);
}
}