From d15ae57732589b68c431b380c55dca0efe556ce1 Mon Sep 17 00:00:00 2001 From: Christopher James Lahey Date: Mon, 11 Sep 2000 17:37:08 +0000 Subject: Fixed some warnings. 2000-09-11 Christopher James Lahey * mail-display.c: Fixed some warnings. svn path=/trunk/; revision=5327 --- mail/mail-display.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'mail/mail-display.c') diff --git a/mail/mail-display.c b/mail/mail-display.c index 521d15a3dd..446ef63297 100644 --- a/mail/mail-display.c +++ b/mail/mail-display.c @@ -267,7 +267,7 @@ pixmap_press (GtkWidget *ebox, GdkEventButton *event, gpointer user_data) }; CamelMimePart *part; MailMimeHandler *handler; - int mask; + int mask = 0; if (event->button != 3) return FALSE; @@ -398,8 +398,8 @@ on_object_requested (GtkHTML *html, GtkHTMLEmbedded *eb, gpointer data) * destruction path that we have to balance out to * prevent problems. */ - bonobo_object_ref (bonobo_widget_get_client_site ( - BONOBO_WIDGET (embedded))); + bonobo_object_ref (BONOBO_OBJECT(bonobo_widget_get_client_site ( + BONOBO_WIDGET (embedded)))); } else embedded = bonobo_widget_new_control (component->iid, NULL); CORBA_free (component); @@ -550,7 +550,7 @@ static void redisplay (MailDisplay *md, gboolean unscroll) { GtkAdjustment *adj; - gfloat oldv; + gfloat oldv = 0; if (!unscroll) { adj = e_scroll_frame_get_vadjustment (md->scroll); -- cgit v1.2.3