aboutsummaryrefslogtreecommitdiffstats
path: root/composer/e-msg-composer-attachment-bar.c
diff options
context:
space:
mode:
authorRadek Doulik <rodo@helixcode.com>2000-11-08 21:06:58 +0800
committerRadek Doulik <rodo@src.gnome.org>2000-11-08 21:06:58 +0800
commitf3ec28d123a08e6e3b6b5667665dfb4bcb700346 (patch)
treec84f99f204d24615ebd01ba107c815a66ecbf1a0 /composer/e-msg-composer-attachment-bar.c
parent413284362ffbc5185e72dd2e246ba88f912ffbdb (diff)
downloadgsoc2013-evolution-f3ec28d123a08e6e3b6b5667665dfb4bcb700346.tar
gsoc2013-evolution-f3ec28d123a08e6e3b6b5667665dfb4bcb700346.tar.gz
gsoc2013-evolution-f3ec28d123a08e6e3b6b5667665dfb4bcb700346.tar.bz2
gsoc2013-evolution-f3ec28d123a08e6e3b6b5667665dfb4bcb700346.tar.lz
gsoc2013-evolution-f3ec28d123a08e6e3b6b5667665dfb4bcb700346.tar.xz
gsoc2013-evolution-f3ec28d123a08e6e3b6b5667665dfb4bcb700346.tar.zst
gsoc2013-evolution-f3ec28d123a08e6e3b6b5667665dfb4bcb700346.zip
new function (destroy): use e_msg_composer_clear_inlined_table, destroy
2000-11-08 Radek Doulik <rodo@helixcode.com> * e-msg-composer.c (e_msg_composer_clear_inlined_table): new function (destroy): use e_msg_composer_clear_inlined_table, destroy inlined_images hash table * listener.c (resolve_image_url): don't add inlined images to attachement bar * e-msg-composer.c (add_inlined_images): new function, adds inlined images to multipart (add_inlined_image): helper function, adds one image to multipart (build_message): store HTML messages with inlined images to multipart/related * e-msg-composer-attachment-bar.c (add_from_file): removed content_id arg (e_msg_composer_attachment_bar_attach): likewise * e-msg-composer-attachment.c (e_msg_composer_attachment_new): removed content_id arg svn path=/trunk/; revision=6507
Diffstat (limited to 'composer/e-msg-composer-attachment-bar.c')
-rw-r--r--composer/e-msg-composer-attachment-bar.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/composer/e-msg-composer-attachment-bar.c b/composer/e-msg-composer-attachment-bar.c
index 1b6d2232a4..85a1d4ca81 100644
--- a/composer/e-msg-composer-attachment-bar.c
+++ b/composer/e-msg-composer-attachment-bar.c
@@ -158,9 +158,9 @@ add_from_mime_part (EMsgComposerAttachmentBar *bar,
static void
add_from_file (EMsgComposerAttachmentBar *bar,
- const gchar *file_name, const gchar *content_id)
+ const gchar *file_name)
{
- add_common (bar, e_msg_composer_attachment_new (file_name, content_id));
+ add_common (bar, e_msg_composer_attachment_new (file_name));
}
static void
@@ -396,7 +396,7 @@ add_from_user (EMsgComposerAttachmentBar *bar)
file_name = e_msg_composer_select_file (composer, _("Attach a file"));
- add_from_file (bar, file_name, NULL);
+ add_from_file (bar, file_name);
g_free (file_name);
}
@@ -758,14 +758,14 @@ e_msg_composer_attachment_bar_get_num_attachments (EMsgComposerAttachmentBar *ba
void
e_msg_composer_attachment_bar_attach (EMsgComposerAttachmentBar *bar,
- const gchar *file_name, const gchar *content_id)
+ const gchar *file_name)
{
g_return_if_fail (E_IS_MSG_COMPOSER_ATTACHMENT_BAR (bar));
if (file_name == NULL)
add_from_user (bar);
else
- add_from_file (bar, file_name, content_id);
+ add_from_file (bar, file_name);
}
void