[maemo-commits] [maemo-commits] r16962 - in projects/haf/trunk/hildon-thumbnail: daemon thumbs
From: subversion at stage.maemo.org subversion at stage.maemo.orgDate: Mon Dec 15 17:27:46 EET 2008
- Previous message: [maemo-commits] r16961 - in projects/haf/trunk/hildon-thumbnail: . daemon/plugins
- Next message: [maemo-commits] r16963 - in projects/haf/trunk/raptor/debian: . patches
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Author: pvanhoof Date: 2008-12-15 17:27:44 +0200 (Mon, 15 Dec 2008) New Revision: 16962 Modified: projects/haf/trunk/hildon-thumbnail/daemon/hildon-thumbnail-plugin.c projects/haf/trunk/hildon-thumbnail/thumbs/hildon-thumbnail-factory.c projects/haf/trunk/hildon-thumbnail/thumbs/hildon-thumbnail-obj.c Log: ^ Modified: projects/haf/trunk/hildon-thumbnail/daemon/hildon-thumbnail-plugin.c =================================================================== --- projects/haf/trunk/hildon-thumbnail/daemon/hildon-thumbnail-plugin.c 2008-12-15 15:23:04 UTC (rev 16961) +++ projects/haf/trunk/hildon-thumbnail/daemon/hildon-thumbnail-plugin.c 2008-12-15 15:27:44 UTC (rev 16962) @@ -230,7 +230,7 @@ } if (errors) { - g_set_error (error, domain, 0, errors->str); + g_set_error (error, domain, 0, "%s", errors->str); g_string_free (errors, TRUE); } Modified: projects/haf/trunk/hildon-thumbnail/thumbs/hildon-thumbnail-factory.c =================================================================== --- projects/haf/trunk/hildon-thumbnail/thumbs/hildon-thumbnail-factory.c 2008-12-15 15:23:04 UTC (rev 16961) +++ projects/haf/trunk/hildon-thumbnail/thumbs/hildon-thumbnail-factory.c 2008-12-15 15:27:44 UTC (rev 16962) @@ -148,12 +148,12 @@ if (item->errors) { if (!error) - g_set_error (&error, FACTORY_ERROR, 0, item->errors->str); + g_set_error (&error, FACTORY_ERROR, 0, "%s", item->errors->str); else { g_string_append (item->errors, " - "); g_string_append (item->errors, error->message); g_clear_error (&error); - g_set_error (&error, FACTORY_ERROR, 0, item->errors->str); + g_set_error (&error, FACTORY_ERROR, 0, "%s", item->errors->str); } } Modified: projects/haf/trunk/hildon-thumbnail/thumbs/hildon-thumbnail-obj.c =================================================================== --- projects/haf/trunk/hildon-thumbnail/thumbs/hildon-thumbnail-obj.c 2008-12-15 15:23:04 UTC (rev 16961) +++ projects/haf/trunk/hildon-thumbnail/thumbs/hildon-thumbnail-obj.c 2008-12-15 15:27:44 UTC (rev 16962) @@ -196,7 +196,7 @@ g_string_append (r_priv->errors, " - "); g_string_append (r_priv->errors, error->message); g_clear_error (&error); - g_set_error (&error, FACTORY_ERROR, 0, r_priv->errors->str); + g_set_error (&error, FACTORY_ERROR, 0, "%s", r_priv->errors->str); } } @@ -218,12 +218,12 @@ if (r_priv->errors && !err_d) { if (!error) - g_set_error (&error, FACTORY_ERROR, 0, r_priv->errors->str); + g_set_error (&error, FACTORY_ERROR, 0, "%s", r_priv->errors->str); else { g_string_append (r_priv->errors, " - "); g_string_append (r_priv->errors, error->message); g_clear_error (&error); - g_set_error (&error, FACTORY_ERROR, 0, r_priv->errors->str); + g_set_error (&error, FACTORY_ERROR, 0, "%s", r_priv->errors->str); } }
- Previous message: [maemo-commits] r16961 - in projects/haf/trunk/hildon-thumbnail: . daemon/plugins
- Next message: [maemo-commits] r16963 - in projects/haf/trunk/raptor/debian: . patches
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]