diff options
author | Jeffrey Stedfast <fejj@src.gnome.org> | 2002-12-13 06:47:36 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2002-12-13 06:47:36 +0800 |
commit | 1229557d373b7bc0d14fb7d8d3a9aacafb2d567b (patch) | |
tree | 5eb40e3148f88e55a8481c4d1a4acfda3b2e8bd3 /mail | |
parent | 159b10f3d9df51f2bde9172ddb532ac76ab044ac (diff) | |
download | gsoc2013-evolution-1229557d373b7bc0d14fb7d8d3a9aacafb2d567b.tar.gz gsoc2013-evolution-1229557d373b7bc0d14fb7d8d3a9aacafb2d567b.tar.zst gsoc2013-evolution-1229557d373b7bc0d14fb7d8d3a9aacafb2d567b.zip |
don't shadow a parameter
svn path=/trunk/; revision=19105
Diffstat (limited to 'mail')
-rw-r--r-- | mail/mail-accounts.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/mail/mail-accounts.c b/mail/mail-accounts.c index a10b987a8c..25a238ea0a 100644 --- a/mail/mail-accounts.c +++ b/mail/mail-accounts.c @@ -198,9 +198,9 @@ account_delete_clicked (GtkButton *button, gpointer user_data) { MailAccountsTab *prefs = user_data; const MailConfigAccount *account = NULL; - GtkWidget *confirm, *button; GtkTreeSelection *selection; GtkTreeModel *model; + GtkWidget *confirm; const GSList *list; GtkTreeIter iter; int ans; @@ -218,13 +218,13 @@ account_delete_clicked (GtkButton *button, gpointer user_data) GTK_MESSAGE_QUESTION, GTK_BUTTONS_NONE, _("Are you sure you want to delete this account?")); - button = gtk_button_new_from_stock (GTK_STOCK_YES); - gtk_button_set_label ((GtkButton *) button, _("Delete")); - gtk_dialog_add_action_widget ((GtkDialog *) confirm, button, GTK_RESPONSE_YES); + button = (GtkButton *) gtk_button_new_from_stock (GTK_STOCK_YES); + gtk_button_set_label (button, _("Delete")); + gtk_dialog_add_action_widget ((GtkDialog *) confirm, (GtkWidget *) button, GTK_RESPONSE_YES); - button = gtk_button_new_from_stock (GTK_STOCK_NO); - gtk_button_set_label ((GtkButton *) button, _("Don't delete")); - gtk_dialog_add_action_widget ((GtkDialog *) confirm, button, GTK_RESPONSE_NO); + button = (GtkButton *) gtk_button_new_from_stock (GTK_STOCK_NO); + gtk_button_set_label (button, _("Don't delete")); + gtk_dialog_add_action_widget ((GtkDialog *) confirm, (GtkWidget *) button, GTK_RESPONSE_NO); ans = gtk_dialog_run ((GtkDialog *) confirm); gtk_widget_destroy (confirm); |