[gnome-maps] main: Correct g_critical calls



commit d5544020a444d7ec18593b2fbc32789c942a9365
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date:   Wed Feb 5 13:18:51 2014 +0000

    main: Correct g_critical calls
    
    https://bugzilla.gnome.org/show_bug.cgi?id=723065

 src/main.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/main.c b/src/main.c
index a54f784..cb53558 100644
--- a/src/main.c
+++ b/src/main.c
@@ -45,7 +45,7 @@ main (int argc, char *argv[])
                                        argc - 1, (const char**)argv + 1,
                                        &error))
     {
-      g_critical ("Failed to defined ARGV: %s", error->message);
+      g_critical ("Failed to define ARGV: %s", error->message);
       g_error_free (error);
 
       return 1;
@@ -59,7 +59,7 @@ main (int argc, char *argv[])
                          &status,
                          &error))
     {
-      g_critical (error->message);
+      g_critical ("Failed to run: %s", error->message);
       g_error_free (error);
 
       return status;


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