diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2010-10-21 12:20:57 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2010-10-21 12:24:46 +0800 |
commit | 18447890ffbbcb3667056a554116f97b65d106b6 (patch) | |
tree | d54839b8d813b54996f2d3f196e1acf086b1bc89 /widgets/misc | |
parent | 4a08257b83512cc32b73d732ccc53266a22b917c (diff) | |
download | gsoc2013-evolution-18447890ffbbcb3667056a554116f97b65d106b6.tar.gz gsoc2013-evolution-18447890ffbbcb3667056a554116f97b65d106b6.tar.zst gsoc2013-evolution-18447890ffbbcb3667056a554116f97b65d106b6.zip |
ESignatureList cleanups.
Diffstat (limited to 'widgets/misc')
-rw-r--r-- | widgets/misc/e-signature-editor.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/widgets/misc/e-signature-editor.c b/widgets/misc/e-signature-editor.c index effbf8bc30..68bd3a323f 100644 --- a/widgets/misc/e-signature-editor.c +++ b/widgets/misc/e-signature-editor.c @@ -175,10 +175,9 @@ action_save_and_close_cb (GtkAction *action, return; } - /* Don't overwrite an existing signature of the same name. - * XXX ESignatureList misuses const. */ - same_name = (ESignature *) e_signature_list_find ( - signature_list, E_SIGNATURE_FIND_NAME, signature_name); + /* Don't overwrite an existing signature of the same name. */ + same_name = + e_signature_list_find_by_name (signature_list, signature_name); if (same_name != NULL && !e_signature_is_equal (signature, same_name)) { e_alert_submit ( GTK_WIDGET (editor), |