From c47626fceef2faf0f09ca61a5e6934a06517332b Mon Sep 17 00:00:00 2001 From: infirit Date: Tue, 28 Jul 2015 14:13:48 +0200 Subject: Use accessor functions instead of direct access --- src/themes/standard/theme.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/themes/standard') diff --git a/src/themes/standard/theme.c b/src/themes/standard/theme.c index 0e75a4f..940b874 100644 --- a/src/themes/standard/theme.c +++ b/src/themes/standard/theme.c @@ -461,7 +461,7 @@ static void draw_border(GtkWidget* widget, WindowData *windata, cairo_t* cr) #if GTK_CHECK_VERSION(3, 0, 0) /* FIXME!!! */ #else - gdk_window_shape_combine_region(windata->win->window, windata->window_region, 0, 0); + gdk_window_shape_combine_region (gtk_widget_get_window (windata->win), windata->window_region, 0, 0); #endif g_free(windata->border_points); windata->border_points = NULL; -- cgit v1.2.1