[gtk+] window: allocation x/y is 0,0
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] window: allocation x/y is 0,0
- Date: Thu, 17 Jan 2013 19:56:44 +0000 (UTC)
commit e84ed710a229edda498e5bdcac675b5885073057
Author: Benjamin Otte <otte redhat com>
Date: Thu Jan 17 20:52:50 2013 +0100
window: allocation x/y is 0,0
This was incorrect in 97ba4b1b8eb82563f13762a4bd8cfe9beb8a121c.
gtk/gtkwindow.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkwindow.c b/gtk/gtkwindow.c
index e0c21a9..0984886 100644
--- a/gtk/gtkwindow.c
+++ b/gtk/gtkwindow.c
@@ -7171,7 +7171,8 @@ gtk_window_move_resize (GtkWindow *window)
&new_geometry,
new_flags);
- gdk_window_get_position (gdk_window, &allocation.x, &allocation.y);
+ allocation.x = 0;
+ allocation.y = 0;
allocation.width = gdk_window_get_width (gdk_window);
allocation.height = gdk_window_get_height (gdk_window);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]