[gtk+/resizegrips] Make grip window allocation consistent



commit cae192f454d3436042a01a41cd2f1b4de4c17eed
Author: Matthias Clasen <mclasen redhat com>
Date:   Sun Oct 3 00:40:42 2010 -0400

    Make grip window allocation consistent

 gtk/gtkwindow.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkwindow.c b/gtk/gtkwindow.c
index effe9cd..f4d807a 100644
--- a/gtk/gtkwindow.c
+++ b/gtk/gtkwindow.c
@@ -5422,7 +5422,7 @@ gtk_window_get_resize_grip_area (GtkWindow *window,
   if (gtk_widget_get_direction (widget) == GTK_TEXT_DIR_LTR)
     rect->x = allocation.x + allocation.width - grip_width;
   else
-    rect->x = allocation.x + style->xthickness;
+    rect->x = allocation.x;
 
   return TRUE;
 }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]