[gnome-control-center] online-accounts: Remove unnecessary code
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] online-accounts: Remove unnecessary code
- Date: Wed, 30 Nov 2016 16:19:04 +0000 (UTC)
commit e5208a397a923e4f42dba423a83dd79d9b24c9d5
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Wed Nov 30 13:29:55 2016 +0100
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 files changed, 0 insertions(+), 6 deletions(-)
---
diff --git a/panels/online-accounts/cc-online-accounts-panel.c
b/panels/online-accounts/cc-online-accounts-panel.c
index 06fbd8b..47cf97e 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",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]