[Goodies-commits] r3625 - in ristretto/trunk: . src

Stephan Arts stephan at xfce.org
Fri Nov 23 22:57:00 CET 2007


Author: stephan
Date: 2007-11-23 21:57:00 +0000 (Fri, 23 Nov 2007)
New Revision: 3625

Modified:
   ristretto/trunk/ChangeLog
   ristretto/trunk/src/main.c
Log:
Fix segfault when running ristretto with unknown cli-options



Modified: ristretto/trunk/ChangeLog
===================================================================
--- ristretto/trunk/ChangeLog	2007-11-23 07:56:00 UTC (rev 3624)
+++ ristretto/trunk/ChangeLog	2007-11-23 21:57:00 UTC (rev 3625)
@@ -1,3 +1,7 @@
+xxxx-xx-xx: 
+	* src/main.c:
+	  - Fix segfault when running ristretto with unknown cli-options
+
 2007-11-17: Release 0.0.12
 	* src/picture_viewer.c:
 	  - Fix High CPU-usage

Modified: ristretto/trunk/src/main.c
===================================================================
--- ristretto/trunk/src/main.c	2007-11-23 07:56:00 UTC (rev 3624)
+++ ristretto/trunk/src/main.c	2007-11-23 21:57:00 UTC (rev 3625)
@@ -63,7 +63,7 @@
     textdomain (GETTEXT_PACKAGE);
     #endif
 
-    if(!gtk_init_with_args(&argc, &argv, _(""), entries, PACKAGE, NULL))
+    if(!gtk_init_with_args(&argc, &argv, _(""), entries, PACKAGE, &cli_error))
     {
         if (cli_error != NULL)
         {




More information about the Goodies-commits mailing list