soylent r141 - trunk/src



Author: treitter
Date: Thu Apr 17 04:20:40 2008
New Revision: 141
URL: http://svn.gnome.org/viewvc/soylent?rev=141&view=rev

Log:
un-hardcode package and version values

Modified:
   trunk/src/soylent.c

Modified: trunk/src/soylent.c
==============================================================================
--- trunk/src/soylent.c	(original)
+++ trunk/src/soylent.c	Thu Apr 17 04:20:40 2008
@@ -39,12 +39,11 @@
   textdomain (GETTEXT_PACKAGE);
   */
 
-  context = g_option_context_new (" - Soylent people browser");
+  context = g_option_context_new (PACKAGE);
   g_option_context_add_group (context, gtk_get_option_group (TRUE));
   g_option_context_parse (context, &argc, &argv, NULL);
 
-  /* FIXME - fill in the first two arguments via autotools */
-  gnome_program_init ("Soylent people browser", "0.0", LIBGNOME_MODULE, argc,
+  gnome_program_init (PACKAGE, VERSION, LIBGNOME_MODULE, argc,
                       argv, GNOME_PARAM_GOPTION_CONTEXT, context,
                       GNOME_PARAM_NONE);
 



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