[aisleriot] Fix bug-buddy invocation



commit 8a919879009d94f1bbb6220720fff820c89bfead
Author: Christian Persch <chpe gnome org>
Date:   Thu Apr 14 20:45:50 2011 +0200

    Fix bug-buddy invocation
    
    The --package-ver argument doesn't exist anymore.

 src/window.c |   20 ++++++++++----------
 1 files changed, 10 insertions(+), 10 deletions(-)
---
diff --git a/src/window.c b/src/window.c
index c638882..586ab2c 100644
--- a/src/window.c
+++ b/src/window.c
@@ -1689,21 +1689,21 @@ game_exception_response_cb (GtkWidget *dialog,
     char pidstr[64];
     int fd;
     char *error_file;
-    const char * const argv[] = {
-      "bug-buddy",
-      "--package", "gnome-games",
-      "--package-ver", VERSION,
-      "--appname", "aisleriot",
-      "--pid", pidstr,
-      "--include", (const char *) error_file,
-      "--unlink-tempfile",
-      NULL
-    };
 
     g_snprintf (pidstr, sizeof (pidstr), "%d", getpid ());
 
     fd = g_file_open_tmp ("arcrashXXXXXX", &error_file, &err);
     if (fd >= 0) {
+      const char * const argv[] = {
+        "bug-buddy",
+        "--package", "gnome-games",
+        "--appname", "aisleriot",
+        "--pid", pidstr,
+        "--include", (const char *) error_file,
+        "--unlink-tempfile",
+        NULL
+      };
+
       close (fd);
 
       g_file_set_contents (error_file, error->message, strlen (error->message), NULL);



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