[banshee/gtk3] Notification: Update obsolete reference to GdkWindow



commit 455c28f36db9e018f31b00899a02d39ed9dad499
Author: Bertrand Lorentz <bertrand lorentz gmail com>
Date:   Fri Jul 22 22:45:40 2011 +0200

    Notification: Update obsolete reference to GdkWindow

 .../Notifications/Notification.cs                  |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/Extensions/Banshee.NotificationArea/Notifications/Notification.cs b/src/Extensions/Banshee.NotificationArea/Notifications/Notification.cs
index aa5a0e2..23cbc95 100644
--- a/src/Extensions/Banshee.NotificationArea/Notifications/Notification.cs
+++ b/src/Extensions/Banshee.NotificationArea/Notifications/Notification.cs
@@ -258,7 +258,7 @@ namespace Notifications {
 		public void AttachToWidget (Gtk.Widget widget) {
 			int x, y;
 
-			widget.GdkWindow.GetOrigin (out x, out y);
+			widget.Window.GetOrigin (out x, out y);
 
 			if (widget.GetType() != typeof (Gtk.Window) || ! widget.GetType().IsSubclassOf(typeof (Gtk.Window))) {
 				x += widget.Allocation.X;



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