[f-spot] avoid namespace collisions



commit 8e51434beb861012664bf1fba1946bb09452ee62
Author: Stephane Delcroix <stephane delcroix org>
Date:   Thu Apr 30 14:16:35 2009 +0200

    avoid namespace collisions
---
 src/Widgets/DateEdit.cs |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/Widgets/DateEdit.cs b/src/Widgets/DateEdit.cs
index 6a380d2..946389f 100644
--- a/src/Widgets/DateEdit.cs
+++ b/src/Widgets/DateEdit.cs
@@ -193,7 +193,7 @@ Console.WriteLine ("changed to {0}", value);
 		void HandleCalendarButtonClicked (object sender, EventArgs e)
 		{
 			//Temporarily grab pointer and keyboard
-			if (!GrabPointerAndKeyboard (this.Window, Global.CurrentEventTime))
+			if (!GrabPointerAndKeyboard (this.Window, Gtk.Global.CurrentEventTime))
 				return;
 
 			//select the day on the calendar
@@ -205,7 +205,7 @@ Console.WriteLine ("changed to {0}", value);
 			calendar.GrabFocus ();
 
 			//transfer the grabs to the popup
-			GrabPointerAndKeyboard (calendar_popup.Window, Global.CurrentEventTime);
+			GrabPointerAndKeyboard (calendar_popup.Window, Gtk.Global.CurrentEventTime);
 		}
 
 		void HandleDateEntryActivated (object sender, EventArgs e)
@@ -254,7 +254,7 @@ Console.WriteLine ("changed to {0}", value);
 
 		void HandlePopupButtonPressed (object sender, ButtonPressEventArgs e)
 		{
-			var child = Global.GetEventWidget (e.Event);
+			var child = Gtk.Global.GetEventWidget (e.Event);
 			if (child != calendar_popup) {
 				while (child != null) {
 					if (child == calendar_popup) {



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