[anjal] Fix decoration bug.
- From: Srinivasa Ragavan <sragavan src gnome org>
- To: svn-commits-list gnome org
- Subject: [anjal] Fix decoration bug.
- Date: Wed, 27 May 2009 14:25:02 -0400 (EDT)
commit d3e49a62d15decb8e63a83d85cb4b911a89d714b
Author: Srinivasa Ragavan <sragavan novell com>
Date: Thu May 28 00:00:09 2009 +0530
Fix decoration bug.
---
src/mail-decoration.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/mail-decoration.c b/src/mail-decoration.c
index a560db1..fe9678d 100644
--- a/src/mail-decoration.c
+++ b/src/mail-decoration.c
@@ -81,12 +81,12 @@ md_translate_position (GdkWindow *w, double ex, double ey, int *x, int *y, GtkWi
{
*x = (int)ex;
*y = (int)ey;
-
+
while (w != window->window) {
int cx, cy, cw, ch, cd;
gdk_window_get_geometry (w, &cx, &cy, &cw, &ch, &cd);
- x += cx;
- y += cy;
+ *x += cx;
+ *y += cy;
w = (GdkWindow *)((GdkWindowObject *)w)->parent;
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]