aboutsummaryrefslogtreecommitdiffstats
path: root/mail/component-factory.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2001-06-29 02:46:23 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2001-06-29 02:46:23 +0800
commit37b493b8f7e7af84ac915def8d6c82168b2717ba (patch)
tree5059870a0ef93f1f1a88dfa3829ea8a8e5e92182 /mail/component-factory.c
parent418a137c3a737a1a6cc8ed3cf3ecbd2f2751466a (diff)
downloadgsoc2013-evolution-37b493b8f7e7af84ac915def8d6c82168b2717ba.tar
gsoc2013-evolution-37b493b8f7e7af84ac915def8d6c82168b2717ba.tar.gz
gsoc2013-evolution-37b493b8f7e7af84ac915def8d6c82168b2717ba.tar.bz2
gsoc2013-evolution-37b493b8f7e7af84ac915def8d6c82168b2717ba.tar.lz
gsoc2013-evolution-37b493b8f7e7af84ac915def8d6c82168b2717ba.tar.xz
gsoc2013-evolution-37b493b8f7e7af84ac915def8d6c82168b2717ba.tar.zst
gsoc2013-evolution-37b493b8f7e7af84ac915def8d6c82168b2717ba.zip
Since we have an exception variable, we might as well use it when getting
2001-06-28 Jeffrey Stedfast <fejj@ximian.com> * component-factory.c (destination_folder_handle_drop): Since we have an exception variable, we might as well use it when getting folders too. * folder-browser.c (message_list_drag_data_recieved): Call gtk_drag_finish. svn path=/trunk/; revision=10568
Diffstat (limited to 'mail/component-factory.c')
-rw-r--r--mail/component-factory.c12
1 files changed, 8 insertions, 4 deletions
diff --git a/mail/component-factory.c b/mail/component-factory.c
index fc8ba49e46..f568734921 100644
--- a/mail/component-factory.c
+++ b/mail/component-factory.c
@@ -396,9 +396,11 @@ destination_folder_handle_drop (EvolutionShellComponentDndDestinationFolder *fol
g_free (url);
break;
case ACCEPTED_DND_TYPE_MESSAGE_RFC822:
- source = mail_tool_uri_to_folder (physical_uri, NULL);
- if (!source)
+ source = mail_tool_uri_to_folder (physical_uri, &ex);
+ if (!source) {
+ camel_exception_clear (&ex);
return FALSE;
+ }
/* write the message(s) out to a CamelStream so we can use it */
stream = camel_stream_mem_new ();
@@ -422,12 +424,14 @@ destination_folder_handle_drop (EvolutionShellComponentDndDestinationFolder *fol
inptr = strchr (name, ' ');
name = g_strndup (name, inptr - name);
- source = mail_tool_get_folder_from_urlname (url, name, 0, NULL);
+ source = mail_tool_get_folder_from_urlname (url, name, 0, &ex);
g_free (name);
g_free (url);
- if (!source)
+ if (!source) {
+ camel_exception_clear (&ex);
return FALSE;
+ }
/* split the uids */
inptr++;