aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mail/ChangeLog6
-rw-r--r--mail/mail-summary.c8
2 files changed, 11 insertions, 3 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index f8e6a86b14..165ddfa3a8 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,9 @@
+2001-01-27 Iain Holmes <iain@ximian.com>
+
+ * mail-summary.c (create_summary_view): Applied patch from John R Sheets
+ to fix some warnings.
+ (idle_check): Fixed the prototype to fix some warnngs as well.
+
2001-01-26 Ettore Perazzoli <ettore@ximian.com>
* mail-display.c (get_embedded_for_component): Try a control
diff --git a/mail/mail-summary.c b/mail/mail-summary.c
index 35620cefea..dbe3151d21 100644
--- a/mail/mail-summary.c
+++ b/mail/mail-summary.c
@@ -416,8 +416,10 @@ get_property (BonoboPropertyBag *bag,
/* Check that we can generate a new summary
and keep coming back until we can. */
static gboolean
-idle_check (MailSummary *summary)
+idle_check (gpointer data)
{
+ MailSummary *summary = (MailSummary *) data;
+
if (summary->in_summary == TRUE)
return TRUE;
@@ -457,8 +459,8 @@ BonoboObject *
create_summary_view (ExecutiveSummaryComponentFactory *_factory,
void *closure)
{
- GNOME_Evolution_Storage *corba_local_objref;
- GNOME_Evolution_StorageListener *corba_object;
+ GNOME_Evolution_Storage corba_local_objref;
+ GNOME_Evolution_StorageListener corba_object;
CORBA_Environment ev;
BonoboObject *component, *view;
BonoboPropertyBag *bag;