[nautilus/gnome-3-20] list-view: fix casting



commit d18712c33264e6c231041a71500789260ff9f9c9
Author: Carlos Soriano <csoriano gnome org>
Date:   Thu Mar 17 16:31:52 2016 +0100

    list-view: fix casting

 src/nautilus-list-view.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/nautilus-list-view.c b/src/nautilus-list-view.c
index 997c603..e8a1b09 100644
--- a/src/nautilus-list-view.c
+++ b/src/nautilus-list-view.c
@@ -3171,7 +3171,7 @@ nautilus_list_view_init (NautilusListView *list_view)
 
        create_and_set_up_tree_view (list_view);
 
-       gtk_style_context_add_class (gtk_widget_get_style_context (list_view),
+       gtk_style_context_add_class (gtk_widget_get_style_context (GTK_WIDGET (list_view)),
                                     "nautilus-list-view");
 
        g_signal_connect_swapped (nautilus_preferences,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]