summary refs log tree commit diff stats
path: root/src/fe-gtk/chanview-tree.c
diff options
context:
space:
mode:
authorTingPing <tingping@tingping.se>2013-05-12 01:43:27 -0400
committerTingPing <tingping@tingping.se>2013-09-20 17:24:39 -0400
commitae04663aa91f864250fd109fe6433c8dea7c4a93 (patch)
treed02b14b3ef494c0f82fcf17ce8c8b4fffe9bcf3c /src/fe-gtk/chanview-tree.c
parent9f8073ab7705e0b5d9b83cb046741bd5c5f78f05 (diff)
First round of using GTK accessor functions
This is the first step to build with GSEAL_ENABLE
setup.c uses a deprecated fontchooser,
chanview-tabs.c didn't like the conversion, and
I am waiting to do some work on xtext.c before
converting it.
Diffstat (limited to 'src/fe-gtk/chanview-tree.c')
-rw-r--r--src/fe-gtk/chanview-tree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fe-gtk/chanview-tree.c b/src/fe-gtk/chanview-tree.c
index a7cd7235..5eb19ad2 100644
--- a/src/fe-gtk/chanview-tree.c
+++ b/src/fe-gtk/chanview-tree.c
@@ -118,7 +118,7 @@ cv_tree_init (chanview *cv)
 	if (cv->style)
 		gtk_widget_set_style (view, cv->style);
 	/*gtk_widget_modify_base (view, GTK_STATE_NORMAL, &colors[COL_BG]);*/
-	GTK_WIDGET_UNSET_FLAGS (view, GTK_CAN_FOCUS);
+	gtk_widget_set_can_focus (view, FALSE);
 	gtk_tree_view_set_headers_visible (GTK_TREE_VIEW (view), FALSE);
 
 	if (prefs.hex_gui_tab_dots)