aboutsummaryrefslogtreecommitdiffstats
path: root/capplet
diff options
context:
space:
mode:
Diffstat (limited to 'capplet')
-rw-r--r--capplet/settings/mail-decoration.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/capplet/settings/mail-decoration.c b/capplet/settings/mail-decoration.c
index 689bb83285..9b8bc37886 100644
--- a/capplet/settings/mail-decoration.c
+++ b/capplet/settings/mail-decoration.c
@@ -91,7 +91,7 @@ md_translate_position (GdkWindow *w, double ex, double ey, int *x, int *y, GtkWi
gdk_window_get_geometry (w, &cx, &cy, &cw, &ch, &cd);
*x += cx;
*y += cy;
- w = (GdkWindow *)((GdkWindowObject *)w)->parent;
+ w = gdk_window_get_parent (w);
}
}