From 6faf671382518db3a81af23bd67a5f5b41ab3b2e Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Sun, 16 Dec 2012 16:53:41 -0500 Subject: e-passwords: Remove unused function parameters. --- plugins/publish-calendar/publish-calendar.c | 4 ++-- plugins/publish-calendar/publish-location.c | 6 +++--- plugins/publish-calendar/url-editor-dialog.c | 6 +++--- 3 files changed, 8 insertions(+), 8 deletions(-) (limited to 'plugins') diff --git a/plugins/publish-calendar/publish-calendar.c b/plugins/publish-calendar/publish-calendar.c index 00afe6be17..95fa1553c7 100644 --- a/plugins/publish-calendar/publish-calendar.c +++ b/plugins/publish-calendar/publish-calendar.c @@ -325,7 +325,7 @@ ask_password (GMountOperation *op, g_return_if_fail (soup_uri != NULL); username = soup_uri_get_user (soup_uri); - password = e_passwords_get_password (NULL, ms->uri->location); + password = e_passwords_get_password (ms->uri->location); req_pass = ((username && *username) && !(ms->uri->service_type == TYPE_ANON_FTP && @@ -335,7 +335,7 @@ ask_password (GMountOperation *op, gboolean remember = FALSE; password = e_passwords_ask_password ( - _("Enter password"), NULL, + _("Enter password"), ms->uri->location, message, E_PASSWORDS_REMEMBER_FOREVER | E_PASSWORDS_SECRET | diff --git a/plugins/publish-calendar/publish-location.c b/plugins/publish-calendar/publish-location.c index f84d589287..79eddfc4f7 100644 --- a/plugins/publish-calendar/publish-location.c +++ b/plugins/publish-calendar/publish-location.c @@ -77,11 +77,11 @@ migrateURI (const gchar *xml, uri->publish_frequency = atoi ((gchar *) frequency); uri->publish_format = URI_PUBLISH_AS_FB; - password = e_passwords_get_password (NULL, (gchar *) location); + password = e_passwords_get_password ((gchar *) location); if (password) { - e_passwords_forget_password (NULL, (gchar *) location); + e_passwords_forget_password ((gchar *) location); e_passwords_add_password (uri->location, password); - e_passwords_remember_password (NULL, uri->location); + e_passwords_remember_password (uri->location); } for (p = root->children; p != NULL; p = p->next) { diff --git a/plugins/publish-calendar/url-editor-dialog.c b/plugins/publish-calendar/url-editor-dialog.c index 5f8a68e693..c672e94de3 100644 --- a/plugins/publish-calendar/url-editor-dialog.c +++ b/plugins/publish-calendar/url-editor-dialog.c @@ -471,7 +471,7 @@ url_editor_dialog_construct (UrlEditorDialog *dialog) gtk_combo_box_set_active (GTK_COMBO_BOX (dialog->publish_frequency), uri->publish_frequency); gtk_combo_box_set_active (GTK_COMBO_BOX (dialog->type_selector), uri->publish_format); - uri->password = e_passwords_get_password (NULL, uri->location); + uri->password = e_passwords_get_password (uri->location); if (uri->password) { if (strlen (uri->password) != 0) { gtk_entry_set_text (GTK_ENTRY (dialog->password_entry), uri->password); @@ -601,9 +601,9 @@ url_editor_dialog_run (UrlEditorDialog *dialog) if (gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (dialog->remember_pw))) { e_passwords_add_password (dialog->uri->location, dialog->uri->password); - e_passwords_remember_password (NULL, dialog->uri->location); + e_passwords_remember_password (dialog->uri->location); } else { - e_passwords_forget_password (NULL, dialog->uri->location); + e_passwords_forget_password (dialog->uri->location); } l = e_source_selector_get_selection (E_SOURCE_SELECTOR (dialog->events_selector)); -- cgit v1.2.3