aboutsummaryrefslogtreecommitdiffstats
path: root/widgets
diff options
context:
space:
mode:
authorSrinivasa Ragavan <sragavan@novell.com>2005-08-16 13:26:17 +0800
committerSrinivasa Ragavan <sragavan@src.gnome.org>2005-08-16 13:26:17 +0800
commit7966598a85a8121e068b8da5442c4247f09741a1 (patch)
tree316b576d75b9a88aff3a54a4e6cf666c73bc31ec /widgets
parente3fea53621faf6336f6308b7f2c4837a4c9e7a9c (diff)
downloadgsoc2013-evolution-7966598a85a8121e068b8da5442c4247f09741a1.tar.gz
gsoc2013-evolution-7966598a85a8121e068b8da5442c4247f09741a1.tar.zst
gsoc2013-evolution-7966598a85a8121e068b8da5442c4247f09741a1.zip
Fixed few warnings
2005-08-16 Srinivasa Ragavan <sragavan@novell.com> * e-attachment.c (download_to_local_path) (e_attachment_edit): Fixed few warnings svn path=/trunk/; revision=30128
Diffstat (limited to 'widgets')
-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,