[Gtk-sharp-list] Gtk.Application patch
Lee Mallabone
gnome@fonicmonkey.net
12 Apr 2003 19:46:16 +0100
--=-Q4kwxodl/XsAGXTmWFTO
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
Hi,
There's a patch to Gtk.Application from Mathias Hasselmann attached to
bug #40169 (and this mail).
It applies and builds cleanly on my local copy.
Okay if I commit it on his behalf?
Lee.
--=-Q4kwxodl/XsAGXTmWFTO
Content-Disposition: attachment; filename=Application.cs.diff
Content-Type: text/plain; name=Application.cs.diff; charset=ANSI_X3.4-1968
Content-Transfer-Encoding: 7bit
? Application.cs.diff
? ColorSelection.custom.diff
Index: Application.cs
===================================================================
RCS file: /cvs/public/gtk-sharp/gtk/Application.cs,v
retrieving revision 1.11
diff -u -r1.11 Application.cs
--- Application.cs 25 Mar 2003 16:57:05 -0000 1.11
+++ Application.cs 12 Apr 2003 16:57:23 -0000
@@ -173,5 +173,13 @@
return null;
}
}
+
+ [DllImport("libgtk-win32-2.0-0.dll")]
+ static extern uint gtk_get_current_event_time ();
+
+ public static uint CurrentEventTime
+ {
+ get { return gtk_get_current_event_time (); }
+ }
}
}
--=-Q4kwxodl/XsAGXTmWFTO--