aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2009-10-22 00:23:09 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2009-10-22 17:43:50 +0800
commitdd2c71fd1667a2237981f937230f7a2022fc6eac (patch)
tree557b53c390fdf0a527b510dd58956bfc3406a40d
parent812da360eeda6ed787ad3e15a740f9936371d5b9 (diff)
downloadgsoc2013-empathy-dd2c71fd1667a2237981f937230f7a2022fc6eac.tar
gsoc2013-empathy-dd2c71fd1667a2237981f937230f7a2022fc6eac.tar.gz
gsoc2013-empathy-dd2c71fd1667a2237981f937230f7a2022fc6eac.tar.bz2
gsoc2013-empathy-dd2c71fd1667a2237981f937230f7a2022fc6eac.tar.lz
gsoc2013-empathy-dd2c71fd1667a2237981f937230f7a2022fc6eac.tar.xz
gsoc2013-empathy-dd2c71fd1667a2237981f937230f7a2022fc6eac.tar.zst
gsoc2013-empathy-dd2c71fd1667a2237981f937230f7a2022fc6eac.zip
empathy-contact-widget.c: fix shadow declarations
-rw-r--r--libempathy-gtk/empathy-contact-widget.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/libempathy-gtk/empathy-contact-widget.c b/libempathy-gtk/empathy-contact-widget.c
index d6f806360..17bed7298 100644
--- a/libempathy-gtk/empathy-contact-widget.c
+++ b/libempathy-gtk/empathy-contact-widget.c
@@ -496,19 +496,19 @@ save_avatar_menu_activate_cb (GtkWidget *widget,
if (!empathy_avatar_save_to_file (avatar, filename, &error))
{
/* Save error */
- GtkWidget *dialog;
+ GtkWidget *error_dialog;
- dialog = gtk_message_dialog_new (NULL, 0,
+ error_dialog = gtk_message_dialog_new (NULL, 0,
GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE,
_("Unable to save avatar"));
gtk_message_dialog_format_secondary_text (
- GTK_MESSAGE_DIALOG (dialog), "%s", error->message);
+ GTK_MESSAGE_DIALOG (error_dialog), "%s", error->message);
- g_signal_connect (dialog, "response",
+ g_signal_connect (error_dialog, "response",
G_CALLBACK (gtk_widget_destroy), NULL);
- gtk_window_present (GTK_WINDOW (dialog));
+ gtk_window_present (GTK_WINDOW (error_dialog));
g_clear_error (&error);
}
@@ -1356,12 +1356,12 @@ contact_widget_location_update (EmpathyContactWidget *information)
gchar *user_date;
gchar *text;
gint64 stamp;
- time_t time;
+ time_t time_;
stamp = g_value_get_int64 (value);
- time = stamp;
+ time_ = stamp;
- user_date = empathy_time_to_string_relative (time);
+ user_date = empathy_time_to_string_relative (time_);
text = g_strconcat ( _("<b>Location</b>, "), user_date, NULL);
gtk_label_set_markup (GTK_LABEL (information->label_location), text);
@@ -1410,10 +1410,10 @@ contact_widget_location_update (EmpathyContactWidget *information)
}
else if (G_VALUE_TYPE (gvalue) == G_TYPE_INT64)
{
- time_t time;
+ time_t time_;
- time = g_value_get_int64 (value);
- svalue = empathy_time_to_string_utc (time, _("%B %e, %Y at %R UTC"));
+ time_ = g_value_get_int64 (value);
+ svalue = empathy_time_to_string_utc (time_, _("%B %e, %Y at %R UTC"));
}
if (svalue != NULL)