[gnome-games] aisleriot: Make bug-buddy own the tempfile with the crash details



commit c9e7c61bb52b039c91aa936b77fc31e483d3ce9b
Author: Christian Persch <chpe gnome org>
Date:   Tue Jan 5 21:13:38 2010 +0100

    aisleriot: Make bug-buddy own the tempfile with the crash details
    
    Bug #553994.

 aisleriot/window.c |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/aisleriot/window.c b/aisleriot/window.c
index 7224bb1..e8491b8 100644
--- a/aisleriot/window.c
+++ b/aisleriot/window.c
@@ -1858,6 +1858,13 @@ game_exception_response_cb (GtkWidget *dialog,
       "--appname", "aisleriot",
       "--pid", pidstr,
       "--include", (const char *) error_file,
+#if GLIB_CHECK_VERSION (2, 20, 0)
+      /* This option was added to bug-buddy 2.25.x (bug 540150). We use the
+       * 2.26 glib version as a proxy to detect this, since there's no good
+       * other way.
+       */
+      "--unlink-tempfile",
+#endif
       NULL
     };
 



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