Mercurial > pidgin
diff pidgin/gtkdnd-hints.c @ 17103:80350acaa289
Fix background color issues in the coversation tabs.
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Wed, 16 May 2007 03:46:26 +0000 |
parents | 37a664cf7f2d |
children | 44b4e8bd759b |
line wrap: on
line diff
--- a/pidgin/gtkdnd-hints.c Wed May 16 02:38:32 2007 +0000 +++ b/pidgin/gtkdnd-hints.c Wed May 16 03:46:26 2007 +0000 @@ -91,8 +91,6 @@ if (w->parent && w->parent->window == w->window) { get_widget_coords(w->parent, &ox, &oy, NULL, NULL); - ox += w->allocation.x; - oy += w->allocation.y; height = w->allocation.height; width = w->allocation.width; } @@ -174,6 +172,8 @@ gint x = 0, y = 0; get_widget_coords(widget, &x1, &y1, &x2, &y2); + x1 += widget->allocation.x; x2 += widget->allocation.x; + y1 += widget->allocation.y; y2 += widget->allocation.y; switch (horiz) {