libgnome r3796 - in trunk: . libgnome



Author: kmaraas
Date: Thu Aug 28 11:07:04 2008
New Revision: 3796
URL: http://svn.gnome.org/viewvc/libgnome?rev=3796&view=rev

Log:
2008-08-28  Kjartan Maraas  <kmaraas gnome org>

	* libgnome/gnome-program.c: (gnome_program_init_paramv):
	Revert this since it broke the build.

Modified:
   trunk/ChangeLog
   trunk/libgnome/gnome-program.c

Modified: trunk/libgnome/gnome-program.c
==============================================================================
--- trunk/libgnome/gnome-program.c	(original)
+++ trunk/libgnome/gnome-program.c	Thu Aug 28 11:07:04 2008
@@ -2137,12 +2137,9 @@
                            int argc, char **argv,
                            guint nparams, GParameter *params)
 {
-    va_list empty_va;
-    GnomeProgram *ret;
+    va_list args;
+
+    return gnome_program_init_common (type, app_id, app_version, module_info,
+				      argc, argv, NULL, args, nparams, params);
 
-    va_start(empty_va, params);
-    ret = gnome_program_init_common(type, app_id, app_version, module_info,
-                                    argc, argv, NULL, empty_va, nparams, params);
-    va_end(empty_va);
-    return ret;
 }



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