summaryrefslogtreecommitdiff
path: root/src/themes/standard
diff options
context:
space:
mode:
authorinfirit <[email protected]>2015-07-28 14:13:48 +0200
committerinfirit <[email protected]>2015-07-28 20:02:12 +0200
commitc47626fceef2faf0f09ca61a5e6934a06517332b (patch)
tree3217671a2c427d01c2c84e121f26a1f9e4812be7 /src/themes/standard
parenta0fb3a8910cf0c9d4d2ec7d24faba5a68109da32 (diff)
downloadmate-notification-daemon-c47626fceef2faf0f09ca61a5e6934a06517332b.tar.bz2
mate-notification-daemon-c47626fceef2faf0f09ca61a5e6934a06517332b.tar.xz
Use accessor functions instead of direct access
Diffstat (limited to 'src/themes/standard')
-rw-r--r--src/themes/standard/theme.c2
1 files changed, 1 insertions, 1 deletions
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;