aboutsummaryrefslogtreecommitdiffstats
path: root/executive-summary
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@helixcode.com>2001-01-23 06:36:36 +0800
committerChris Lahey <clahey@src.gnome.org>2001-01-23 06:36:36 +0800
commitcdf4ac3653a47da1f9566e33f9dc7abbfeb79299 (patch)
tree3f8887dffc09f97bc24a6cb87770763c82811435 /executive-summary
parent92403a5b3ab4410e235415b1b36f37a1ff281e0e (diff)
downloadgsoc2013-evolution-cdf4ac3653a47da1f9566e33f9dc7abbfeb79299.tar
gsoc2013-evolution-cdf4ac3653a47da1f9566e33f9dc7abbfeb79299.tar.gz
gsoc2013-evolution-cdf4ac3653a47da1f9566e33f9dc7abbfeb79299.tar.bz2
gsoc2013-evolution-cdf4ac3653a47da1f9566e33f9dc7abbfeb79299.tar.lz
gsoc2013-evolution-cdf4ac3653a47da1f9566e33f9dc7abbfeb79299.tar.xz
gsoc2013-evolution-cdf4ac3653a47da1f9566e33f9dc7abbfeb79299.tar.zst
gsoc2013-evolution-cdf4ac3653a47da1f9566e33f9dc7abbfeb79299.zip
Change the callbacks in this file to match the callback function types.
2001-01-22 Christopher James Lahey <clahey@helixcode.com> * component/e-summary-url.c: Change the callbacks in this file to match the callback function types. Fixes warnings. svn path=/trunk/; revision=7723
Diffstat (limited to 'executive-summary')
-rw-r--r--executive-summary/ChangeLog5
-rw-r--r--executive-summary/component/e-summary-url.c6
2 files changed, 9 insertions, 2 deletions
diff --git a/executive-summary/ChangeLog b/executive-summary/ChangeLog
index 82341fb131..e247e6d6ff 100644
--- a/executive-summary/ChangeLog
+++ b/executive-summary/ChangeLog
@@ -1,3 +1,8 @@
+2001-01-22 Christopher James Lahey <clahey@helixcode.com>
+
+ * component/e-summary-url.c: Change the callbacks in this file to
+ match the callback function types. Fixes warnings.
+
2001-01-12 Ettore Perazzoli <ettore@helixcode.com>
* component/component-factory.c (factory_fn): Pass NULL as the
diff --git a/executive-summary/component/e-summary-url.c b/executive-summary/component/e-summary-url.c
index ab7dacc52d..2c405b8664 100644
--- a/executive-summary/component/e-summary-url.c
+++ b/executive-summary/component/e-summary-url.c
@@ -102,8 +102,9 @@ typedef struct _DownloadInfo DownloadInfo;
static void
close_callback (GnomeVFSAsyncHandle *handle,
GnomeVFSResult result,
- DownloadInfo *info)
+ gpointer data)
{
+ DownloadInfo *info = data;
if (info->error) {
gtk_html_stream_close (info->stream, GTK_HTML_STREAM_ERROR);
} else {
@@ -121,8 +122,9 @@ read_callback (GnomeVFSAsyncHandle *handle,
gpointer buffer,
GnomeVFSFileSize bytes_requested,
GnomeVFSFileSize bytes_read,
- DownloadInfo *info)
+ gpointer data)
{
+ DownloadInfo *info = data;
if (result != GNOME_VFS_OK && result != GNOME_VFS_ERROR_EOF) {
g_warning ("Read error");
info->error = TRUE;