[maemo-commits] [maemo-commits] r11124 - projects/haf/trunk/hildon-fm/hildon-fm

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Wed Apr 18 15:58:57 EEST 2007
Author: marivoll
Date: 2007-04-18 15:58:56 +0300 (Wed, 18 Apr 2007)
New Revision: 11124

Modified:
   projects/haf/trunk/hildon-fm/hildon-fm/hildon-file-system-info.c
Log:
	* hildon-fm/hildon-file-system-info.c (sync_callback): Only copy
	error when it is non-NULL.  Thanks to Joergen Scheibengruber!


Modified: projects/haf/trunk/hildon-fm/hildon-fm/hildon-file-system-info.c
===================================================================
--- projects/haf/trunk/hildon-fm/hildon-fm/hildon-file-system-info.c	2007-04-18 12:44:09 UTC (rev 11123)
+++ projects/haf/trunk/hildon-fm/hildon-fm/hildon-file-system-info.c	2007-04-18 12:58:56 UTC (rev 11124)
@@ -325,7 +325,7 @@
 {
   sync_data *c = data;
 
-  g_propagate_error (c->error, g_error_copy (error));
+  g_propagate_error (c->error, error ? g_error_copy (error) : NULL);
 
   if (info)
     info->free_after_callback = FALSE;


More information about the maemo-commits mailing list