From 7966598a85a8121e068b8da5442c4247f09741a1 Mon Sep 17 00:00:00 2001 From: Srinivasa Ragavan Date: Tue, 16 Aug 2005 05:26:17 +0000 Subject: Fixed few warnings 2005-08-16 Srinivasa Ragavan * e-attachment.c (download_to_local_path) (e_attachment_edit): Fixed few warnings svn path=/trunk/; revision=30128 --- widgets/misc/ChangeLog | 5 +++++ widgets/misc/e-attachment.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) (limited to 'widgets') diff --git a/widgets/misc/ChangeLog b/widgets/misc/ChangeLog index b98d79c8e3..46deeb8969 100644 --- a/widgets/misc/ChangeLog +++ b/widgets/misc/ChangeLog @@ -1,3 +1,8 @@ +2005-08-16 Srinivasa Ragavan + + * e-attachment.c (download_to_local_path) (e_attachment_edit): Fixed + few warnings + 2005-08-16 Srinivasa Ragavan * e-attachment.c (finalise) (e_attachment_new) (e_attachment_build_remote_file) 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, -- cgit v1.2.3