diff options
-rw-r--r-- | widgets/ChangeLog | 7 | ||||
-rw-r--r-- | widgets/misc/e-attachment-bar.c | 6 |
2 files changed, 11 insertions, 2 deletions
diff --git a/widgets/ChangeLog b/widgets/ChangeLog index e91c2fad99..002d4bd31a 100644 --- a/widgets/ChangeLog +++ b/widgets/ChangeLog @@ -1,3 +1,10 @@ +2005-07-28 Mengjie Yu <meng-jie.yu@sun.com> + + * misc/e-attachment-bar.c: (update_remote_file): + Void function should not return value. + + Fixes #311837 + 2005-07-21 Srinivasa Ragavan <sragavan@novell.com> * menus/gal-define-views-dialog.c: (etable_selection_change_forall_cb) diff --git a/widgets/misc/e-attachment-bar.c b/widgets/misc/e-attachment-bar.c index 024d5bd8c7..c403285cca 100644 --- a/widgets/misc/e-attachment-bar.c +++ b/widgets/misc/e-attachment-bar.c @@ -419,8 +419,10 @@ update_remote_file (EAttachment *attachment, EAttachmentBar *bar) char *msg, *base; priv = bar->priv; - if (attachment->percentage == -1) - return update (bar); + if (attachment->percentage == -1) { + update (bar); + return; + } base = g_path_get_basename(attachment->file_name); msg = g_strdup_printf("%s (%d\%)", base, attachment->percentage); |