From 615db83f0024bbf491f97b0d9b03192d5a268a0c Mon Sep 17 00:00:00 2001 From: raveit65 Date: Thu, 29 Jun 2017 08:44:38 +0200 Subject: Revert "property-browser: don't recast GtkWidget as GtkWidget" This reverts commit 45f862c6178358e73470296e5793b10c486926c1. We revert prevoius commit too. --- src/caja-property-browser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/caja-property-browser.c b/src/caja-property-browser.c index 9b4d708c..f89b4937 100644 --- a/src/caja-property-browser.c +++ b/src/caja-property-browser.c @@ -2189,7 +2189,7 @@ caja_property_browser_update_contents (CajaPropertyBrowser *property_browser) /* allocate a new container, with a scrollwindow and viewport */ property_browser->details->content_frame = gtk_scrolled_window_new (NULL, NULL); - context = gtk_widget_get_style_context (property_browser->details->content_frame); + context = gtk_widget_get_style_context (GTK_WIDGET (property_browser->details->content_frame)); gtk_style_context_add_class (context, "frame"); gtk_widget_set_vexpand (property_browser->details->content_frame, TRUE); viewport = gtk_viewport_new (NULL, NULL); -- cgit v1.2.1