[four-in-a-row] trivial: use APPNAME macro in g_set_prgname



commit ba69d5502653f9ec41ba2f5ce8ddaf3ab230a6b6
Author: Michael Catanzaro <mcatanzaro gnome org>
Date:   Sat Oct 5 16:30:13 2013 -0500

    trivial: use APPNAME macro in g_set_prgname

 src/main.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/main.c b/src/main.c
index d4071e9..f7aa688 100644
--- a/src/main.c
+++ b/src/main.c
@@ -1352,7 +1352,7 @@ main (int argc, char *argv[])
    * Required because the binary doesn't match the desktop file.
    * Has to be before the call to g_option_context_parse.
    */
-  g_set_prgname ("gnect");
+  g_set_prgname (APPNAME);
 
   context = g_option_context_new (NULL);
   g_option_context_add_group (context, gtk_get_option_group (TRUE));


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