[empathy] rename 'location' to 'loc' to fix shadow declaration



commit a8260d4f1de4ab185922be3b7713c15f55f1f0a3
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date:   Wed Jan 6 15:25:39 2010 +0000

    rename 'location' to 'loc' to fix shadow declaration

 libempathy-gtk/empathy-contact-widget.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/libempathy-gtk/empathy-contact-widget.c b/libempathy-gtk/empathy-contact-widget.c
index 8b1522d..7a3c04e 100644
--- a/libempathy-gtk/empathy-contact-widget.c
+++ b/libempathy-gtk/empathy-contact-widget.c
@@ -1366,9 +1366,9 @@ contact_widget_location_update (EmpathyContactWidget *information)
   value = g_hash_table_lookup (location, EMPATHY_LOCATION_TIMESTAMP);
   if (value == NULL)
     {
-      gchar *location = g_strdup_printf ("<b>%s</b>", _("Location"));
-      gtk_label_set_markup (GTK_LABEL (information->label_location), location);
-      g_free (location);
+      gchar *loc = g_strdup_printf ("<b>%s</b>", _("Location"));
+      gtk_label_set_markup (GTK_LABEL (information->label_location), loc);
+      g_free (loc);
     }
   else
     {



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]