summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2016-05-31 20:16:09 +0200
committerraveit65 <[email protected]>2016-05-31 20:16:09 +0200
commit5a17525f875b012385004f9b164e59edc5962ee3 (patch)
treeac5638a1753266fdbd5eeeffd2f0f7046c480498
parent64cc5f2eaaaf1f27a41f900113edde77ceb1210d (diff)
downloadcaja-5a17525f875b012385004f9b164e59edc5962ee3.tar.bz2
caja-5a17525f875b012385004f9b164e59edc5962ee3.tar.xz
GTK+-3 fm-icon-view: fix a Wincompatible-pointer-types build warning
-rw-r--r--src/file-manager/fm-icon-view.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/file-manager/fm-icon-view.c b/src/file-manager/fm-icon-view.c
index 72a98221..9b9b3781 100644
--- a/src/file-manager/fm-icon-view.c
+++ b/src/file-manager/fm-icon-view.c
@@ -3334,7 +3334,7 @@ fm_icon_view_create (CajaWindowSlotInfo *slot)
"compact", FALSE,
NULL);
#if GTK_CHECK_VERSION (3, 19, 0)
- gtk_style_context_add_class (gtk_widget_get_style_context (view), GTK_STYLE_CLASS_VIEW);
+ gtk_style_context_add_class (gtk_widget_get_style_context (GTK_WIDGET (view)), GTK_STYLE_CLASS_VIEW);
#endif
return CAJA_VIEW (view);
}
@@ -3349,7 +3349,7 @@ fm_compact_view_create (CajaWindowSlotInfo *slot)
"compact", TRUE,
NULL);
#if GTK_CHECK_VERSION (3, 19, 0)
- gtk_style_context_add_class (gtk_widget_get_style_context (view), GTK_STYLE_CLASS_VIEW);
+ gtk_style_context_add_class (gtk_widget_get_style_context (GTK_WIDGET (view)), GTK_STYLE_CLASS_VIEW);
#endif
return CAJA_VIEW (view);
}