aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
Diffstat (limited to 'mail')
-rw-r--r--mail/mail-display.c8
1 files changed, 4 insertions, 4 deletions
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);