diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2012-12-17 05:53:41 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2012-12-17 06:03:54 +0800 |
commit | 6faf671382518db3a81af23bd67a5f5b41ab3b2e (patch) | |
tree | f05f4eb81bf648e9f8ee7ce2fffc0c91b2e2c999 /plugins | |
parent | f1ca58d40a5a005aa5fa751959edbe4ec5f2d22f (diff) | |
download | gsoc2013-evolution-6faf671382518db3a81af23bd67a5f5b41ab3b2e.tar gsoc2013-evolution-6faf671382518db3a81af23bd67a5f5b41ab3b2e.tar.gz gsoc2013-evolution-6faf671382518db3a81af23bd67a5f5b41ab3b2e.tar.bz2 gsoc2013-evolution-6faf671382518db3a81af23bd67a5f5b41ab3b2e.tar.lz gsoc2013-evolution-6faf671382518db3a81af23bd67a5f5b41ab3b2e.tar.xz gsoc2013-evolution-6faf671382518db3a81af23bd67a5f5b41ab3b2e.tar.zst gsoc2013-evolution-6faf671382518db3a81af23bd67a5f5b41ab3b2e.zip |
e-passwords: Remove unused function parameters.
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/publish-calendar/publish-calendar.c | 4 | ||||
-rw-r--r-- | plugins/publish-calendar/publish-location.c | 6 | ||||
-rw-r--r-- | plugins/publish-calendar/url-editor-dialog.c | 6 |
3 files changed, 8 insertions, 8 deletions
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)); |