projects
/
platform
/
upstream
/
evolution-data-server.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f90b590
)
The 'operation' in camel_mime_filter_progress_new can be NULL
author
Milan Crha
<mcrha@redhat.com>
Mon, 26 Apr 2010 17:28:42 +0000
(19:28 +0200)
committer
Milan Crha
<mcrha@redhat.com>
Mon, 26 Apr 2010 17:28:42 +0000
(19:28 +0200)
camel/camel-mime-filter-progress.c
patch
|
blob
|
history
diff --git
a/camel/camel-mime-filter-progress.c
b/camel/camel-mime-filter-progress.c
index
ccf4ba7
..
6cdb3ce
100644
(file)
--- a/
camel/camel-mime-filter-progress.c
+++ b/
camel/camel-mime-filter-progress.c
@@
-133,7
+133,7
@@
camel_mime_filter_progress_new (CamelOperation *operation,
CamelMimeFilter *filter;
CamelMimeFilterProgressPrivate *priv;
- g_return_val_if_fail (operation != NULL, NULL);
+ /* 'operation' can be NULL, then it means an active thread's operation */
filter = g_object_new (CAMEL_TYPE_MIME_FILTER_PROGRESS, NULL);
priv = CAMEL_MIME_FILTER_PROGRESS_GET_PRIVATE (filter);