[Telepathy-commits] [telepathy-salut/master] salut-self: fix build errors

Guillaume Desmottes guillaume.desmottes at collabora.co.uk
Mon Dec 22 07:37:39 PST 2008


---
 src/salut-self.c |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/salut-self.c b/src/salut-self.c
index d456847..ff417e6 100644
--- a/src/salut-self.c
+++ b/src/salut-self.c
@@ -772,7 +772,8 @@ salut_self_set_olpc_current_activity (SalutSelf *self,
   if (!SALUT_SELF_GET_CLASS (self)->update_current_activity (self, room_name,
         &err))
     {
-      g_set_error (error, TP_ERRORS, TP_ERROR_NETWORK_ERROR, err->message);
+      g_set_error (error, TP_ERRORS, TP_ERROR_NETWORK_ERROR, "%s",
+          err->message);
       g_error_free (err);
       return FALSE;
     }
@@ -850,7 +851,8 @@ salut_self_set_olpc_properties (SalutSelf *self,
   if (!SALUT_SELF_GET_CLASS (self)->set_olpc_properties (self, key, color, jid,
         &err))
     {
-      g_set_error (error, TP_ERRORS, TP_ERROR_NETWORK_ERROR, err->message);
+      g_set_error (error, TP_ERRORS, TP_ERROR_NETWORK_ERROR, "%s",
+          err->message);
       g_error_free (err);
       return FALSE;
     }
-- 
1.5.6.5




More information about the Telepathy-commits mailing list