diff options
author | Ross Burton <ross@linux.intel.com> | 2010-03-07 00:23:09 +0800 |
---|---|---|
committer | Ross Burton <ross@linux.intel.com> | 2010-03-16 20:24:29 +0800 |
commit | 87e865a9473cb2c7360f9122706c414d69a044f9 (patch) | |
tree | 24c49f61d11b137d25d4925ba02c64b63bb252b6 | |
parent | aa2f45bb271beb0738a49de220ef91f6fe11a828 (diff) | |
download | gsoc2013-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
-rw-r--r-- | capplet/settings/mail-decoration.c | 2 |
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); } } |