From ca3b6b90672c7b7f557ef7e4e9a6686e40ecb89d Mon Sep 17 00:00:00 2001 From: Mike Kestner Date: Wed, 21 May 2008 15:52:04 +0000 Subject: [PATCH] 2008-05-21 Mike Kestner * gtk/Application.cs (CurrentEvent): use Event.GetEvent to retrieve an explicit event subclass. svn path=/trunk/gtk-sharp/; revision=103705 --- ChangeLog | 5 +++++ gtk/Application.cs | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index cf6c4e2bd..0620731a3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-05-21 Mike Kestner + + * gtk/Application.cs (CurrentEvent): use Event.GetEvent to retrieve + an explicit event subclass. + 2008-05-15 Mike Kestner * kill the makefile.win32 build system. it has been unmaintained diff --git a/gtk/Application.cs b/gtk/Application.cs index 05673afb6..46bb93244 100755 --- a/gtk/Application.cs +++ b/gtk/Application.cs @@ -145,7 +145,7 @@ namespace Gtk { public static Gdk.Event CurrentEvent { get { - return new Gdk.Event (gtk_get_current_event ()); + return Gdk.Event.GetEvent (gtk_get_current_event ()); } }