[gtk+/treeview-refactor] Remove unused retrieval of focus-line-width
- From: Kristian Rietveld <kristian src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/treeview-refactor] Remove unused retrieval of focus-line-width
- Date: Sun, 28 Nov 2010 20:15:30 +0000 (UTC)
commit 6568b59e8a18d5584cbf8785299429ef945fb171
Author: Kristian Rietveld <kris gtk org>
Date: Sun Nov 28 20:40:59 2010 +0100
Remove unused retrieval of focus-line-width
gtk/gtktreeviewcolumn.c | 6 ------
1 files changed, 0 insertions(+), 6 deletions(-)
---
diff --git a/gtk/gtktreeviewcolumn.c b/gtk/gtktreeviewcolumn.c
index 53d4efe..c0c2119 100644
--- a/gtk/gtktreeviewcolumn.c
+++ b/gtk/gtktreeviewcolumn.c
@@ -1276,17 +1276,11 @@ void
_gtk_tree_view_column_set_tree_view (GtkTreeViewColumn *column,
GtkTreeView *tree_view)
{
- int focus_line_width;
-
g_assert (column->tree_view == NULL);
column->tree_view = GTK_WIDGET (tree_view);
gtk_tree_view_column_create_button (column);
- gtk_widget_style_get (GTK_WIDGET (tree_view),
- "focus-line-width", &focus_line_width,
- NULL);
-
column->add_editable_signal =
g_signal_connect (column->cell_area, "add-editable",
G_CALLBACK (gtk_tree_view_column_add_editable_callback),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]