[Telepathy-commits] [telepathy-salut/master] SalutSelf: Remove another shadowed declaration

Alban Crequy alban.crequy at collabora.co.uk
Mon Dec 15 06:51:18 PST 2008


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

diff --git a/src/salut-self.c b/src/salut-self.c
index c8d22bd..d456847 100644
--- a/src/salut-self.c
+++ b/src/salut-self.c
@@ -686,18 +686,18 @@ _set_olpc_activities_delete (gpointer key, gpointer value, gpointer user_data)
 {
   SalutOlpcActivity *activity = (SalutOlpcActivity *) value;
   struct _set_olpc_activities_ctx *data = user_data;
-  gboolean remove;
+  gboolean remove_activity;
 
   /* delete the activity service if it's not in data->room_to_act_id */
-  remove = (g_hash_table_lookup (data->room_to_act_id, key) == NULL);
+  remove_activity = (g_hash_table_lookup (data->room_to_act_id, key) == NULL);
 
-  if (remove)
+  if (remove_activity)
     {
       salut_olpc_activity_left (activity);
       salut_olpc_activity_revoke_invitations (activity);
     }
 
-  return remove;
+  return remove_activity;
 }
 
 gboolean
-- 
1.5.6.5



More information about the Telepathy-commits mailing list