aboutsummaryrefslogtreecommitdiffstats
path: root/capplet
diff options
context:
space:
mode:
authorRoss Burton <ross@linux.intel.com>2010-03-07 00:23:09 +0800
committerRoss Burton <ross@linux.intel.com>2010-03-16 20:24:29 +0800
commit87e865a9473cb2c7360f9122706c414d69a044f9 (patch)
tree24c49f61d11b137d25d4925ba02c64b63bb252b6 /capplet
parentaa2f45bb271beb0738a49de220ef91f6fe11a828 (diff)
downloadgsoc2013-evolution-87e865a9473cb2c7360f9122706c414d69a044f9.tar.gz
gsoc2013-evolution-87e865a9473cb2c7360f9122706c414d69a044f9.tar.zst
gsoc2013-evolution-87e865a9473cb2c7360f9122706c414d69a044f9.zip
Don't poke around a GdkWindowObject directly but use gdk_window_get_parent
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);
}
}