[Kde-bindings] playground/bindings/kimono/qyoto
Richard Dale
Richard_Dale at tipitina.demon.co.uk
Thu Aug 24 13:55:20 UTC 2006
SVN commit 576650 by rdale:
* Added the remainder of Arno Rehn's patch for fixing the qyoto 'crash on exit' bug
CCMAIL: kde-bindings at kde.org
M +3 -1 QApplication.cs
M +3 -0 Qyoto.cs
--- trunk/playground/bindings/kimono/qyoto/QApplication.cs #576649:576650
@@ -416,7 +416,9 @@
}
[SmokeMethod("exec()")]
public static new int Exec() {
- return StaticQApplication().Exec();
+ int ret = StaticQApplication().Exec();
+ Qyoto.DeleteQApp();
+ return ret;
}
[SmokeMethod("setQuitOnLastWindowClosed(bool)")]
public static void SetQuitOnLastWindowClosed(bool quit) {
--- trunk/playground/bindings/kimono/qyoto/Qyoto.cs #576649:576650
@@ -12,6 +12,9 @@
public class Qyoto : System.Object
{
[DllImport("libqyoto", CharSet=CharSet.Ansi)]
+ public static extern void DeleteQApp();
+
+ [DllImport("libqyoto", CharSet=CharSet.Ansi)]
public static extern void Init_qyoto();
[DllImport("libqyoto", CharSet=CharSet.Ansi)]
More information about the Kde-bindings
mailing list