From e5208a397a923e4f42dba423a83dd79d9b24c9d5 Mon Sep 17 00:00:00 2001 From: Georges Basile Stavracas Neto Date: Wed, 30 Nov 2016 13:29:55 +0100 Subject: [PATCH] online-accounts: Remove unnecessary code Calling gtk_style_context_set_junction_sides makes no visual difference. We are using stock GTK+ containers, which should already be taking care of this. https://bugzilla.gnome.org/show_bug.cgi?id=774222 --- panels/online-accounts/cc-online-accounts-panel.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/panels/online-accounts/cc-online-accounts-panel.c b/panels/online-accounts/cc-online-accounts-panel.c index 06fbd8b0a..47cf97e6f 100644 --- a/panels/online-accounts/cc-online-accounts-panel.c +++ b/panels/online-accounts/cc-online-accounts-panel.c @@ -196,7 +196,6 @@ cc_goa_panel_init (CcGoaPanel *panel) GtkWidget *button; GtkWidget *w; GError *error; - GtkStyleContext *context; GtkTreeViewColumn *column; GtkCellRenderer *renderer; GtkTreeIter iter; @@ -232,11 +231,6 @@ cc_goa_panel_init (CcGoaPanel *panel) G_CALLBACK (on_toolbar_remove_button_clicked), panel); - context = gtk_widget_get_style_context (GTK_WIDGET (gtk_builder_get_object (panel->builder, "accounts-tree-scrolledwindow"))); - gtk_style_context_set_junction_sides (context, GTK_JUNCTION_BOTTOM); - context = gtk_widget_get_style_context (panel->toolbar); - gtk_style_context_set_junction_sides (context, GTK_JUNCTION_TOP); - panel->accounts_treeview = GTK_WIDGET (gtk_builder_get_object (panel->builder, "accounts-tree-treeview")); g_signal_connect (gtk_tree_view_get_selection (GTK_TREE_VIEW (panel->accounts_treeview)), "changed",