summaryrefslogtreecommitdiff
path: root/src/file-manager
diff options
context:
space:
mode:
authorinfirit <[email protected]>2015-07-09 16:10:09 +0200
committerinfirit <[email protected]>2015-07-09 16:10:09 +0200
commit88dc45f1bbe2ecf9d1d3fa6cedf09fa425a202ae (patch)
treebd9deb665dca1dd8e84c6d0b9573d03cf9a7ced9 /src/file-manager
parentdb6b62171abd6dbfcc0c8f9c928f29af445831cc (diff)
downloadcaja-88dc45f1bbe2ecf9d1d3fa6cedf09fa425a202ae.tar.bz2
caja-88dc45f1bbe2ecf9d1d3fa6cedf09fa425a202ae.tar.xz
Use accessor functions instead of direct access
Diffstat (limited to 'src/file-manager')
-rw-r--r--src/file-manager/fm-list-view.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/file-manager/fm-list-view.c b/src/file-manager/fm-list-view.c
index 626c3836..294159a0 100644
--- a/src/file-manager/fm-list-view.c
+++ b/src/file-manager/fm-list-view.c
@@ -1743,7 +1743,7 @@ create_and_set_up_tree_view (FMListView *view)
font_size = PANGO_PIXELS (pango_font_description_get_size (
gtk_style_context_get_font (context, GTK_STATE_FLAG_NORMAL)));
#else
- font_size = PANGO_PIXELS (pango_font_description_get_size (GTK_WIDGET(view)->style->font_desc));
+ font_size = PANGO_PIXELS (pango_font_description_get_size (gtk_widget_get_style (GTK_WIDGET(view))->font_desc));
#endif
gtk_tree_view_column_set_min_width (view->details->file_name_column, 20*font_size);
g_object_ref_sink (view->details->file_name_column);