aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--widgets/misc/ChangeLog5
-rw-r--r--widgets/misc/e-attachment.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/widgets/misc/ChangeLog b/widgets/misc/ChangeLog
index b98d79c8e3..46deeb8969 100644
--- a/widgets/misc/ChangeLog
+++ b/widgets/misc/ChangeLog
@@ -1,5 +1,10 @@
2005-08-16 Srinivasa Ragavan <sragavan@novell.com>
+ * e-attachment.c (download_to_local_path) (e_attachment_edit): Fixed
+ few warnings
+
+2005-08-16 Srinivasa Ragavan <sragavan@novell.com>
+
* e-attachment.c (finalise) (e_attachment_new) (e_attachment_build_remote_file)
(e_attachment_new_from_mime_part) (ok_cb): Maintain the filename of the
attachment in the structure and free it in finalize.
diff --git a/widgets/misc/e-attachment.c b/widgets/misc/e-attachment.c
index a5082cc6c2..91f5bb8d27 100644
--- a/widgets/misc/e-attachment.c
+++ b/widgets/misc/e-attachment.c
@@ -359,7 +359,7 @@ download_to_local_path (GnomeVFSURI *source_uri, GnomeVFSURI *target_uri, Down
GNOME_VFS_XFER_ERROR_MODE_ABORT, /* error_mode */
GNOME_VFS_XFER_OVERWRITE_MODE_REPLACE, /* overwrite_mode */
GNOME_VFS_PRIORITY_DEFAULT, /* priority */
- async_progress_update_cb, /* progress_update_callback */
+ (GnomeVFSAsyncXferProgressCallback) async_progress_update_cb, /* progress_update_callback */
download_info, /* update_callback_data */
NULL, /* progress_sync_callback */
NULL); /* sync_callback_data */
@@ -718,7 +718,7 @@ e_attachment_edit (EAttachment *attachment, GtkWidget *parent)
}
connect_widget (editor_gui, "dialog", "response", (GCallback)response_cb, dialog_data);
-#warning "signal connect while alive"
+
/* make sure that when the parent gets hidden/closed that our windows also close */
parent = gtk_widget_get_toplevel (parent);
gtk_signal_connect_while_alive (GTK_OBJECT (parent), "destroy", (GCallback)close_cb, dialog_data,