[hyena/gtk3] BaseWidgetAccessible: Use Widget.Window instead of obsolete GdkWindow



commit 6f54bc403de6800c749b9980cd1b7c3302191225
Author: Bertrand Lorentz <bertrand lorentz gmail com>
Date:   Sun Jul 3 17:07:57 2011 +0200

    BaseWidgetAccessible: Use Widget.Window instead of obsolete GdkWindow

 Hyena.Gui/Hyena.Gui/BaseWidgetAccessible.cs |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/Hyena.Gui/Hyena.Gui/BaseWidgetAccessible.cs b/Hyena.Gui/Hyena.Gui/BaseWidgetAccessible.cs
index 194961f..bbb7596 100644
--- a/Hyena.Gui/Hyena.Gui/BaseWidgetAccessible.cs
+++ b/Hyena.Gui/Hyena.Gui/BaseWidgetAccessible.cs
@@ -154,7 +154,7 @@ namespace Hyena.Gui
             } else {
                 x = 0;
                 y = 0;
-                window = widget.GdkWindow;
+                window = widget.Window;
             }
 
             int x_window, y_window;
@@ -163,7 +163,7 @@ namespace Hyena.Gui
             y += y_window;
 
             if (coordType == Atk.CoordType.Window) {
-                window = widget.GdkWindow.Toplevel;
+                window = widget.Window.Toplevel;
                 int x_toplevel, y_toplevel;
                 window.GetOrigin (out x_toplevel, out y_toplevel);
 
@@ -220,7 +220,7 @@ namespace Hyena.Gui
 
             if (coordType == CoordType.Window) {
                 int x_off, y_off;
-                widget.GdkWindow.GetOrigin (out x_off, out y_off);
+                widget.Window.GetOrigin (out x_off, out y_off);
                 x += x_off;
                 y += y_off;
 



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