aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@helixcode.com>2000-09-12 01:37:08 +0800
committerChris Lahey <clahey@src.gnome.org>2000-09-12 01:37:08 +0800
commitd15ae57732589b68c431b380c55dca0efe556ce1 (patch)
treed46024a1e9dff1aaa725deea117996a4f631bc0b
parent040ff5ad09c54d215f0bced2d748e01675cc337a (diff)
downloadgsoc2013-evolution-d15ae57732589b68c431b380c55dca0efe556ce1.tar
gsoc2013-evolution-d15ae57732589b68c431b380c55dca0efe556ce1.tar.gz
gsoc2013-evolution-d15ae57732589b68c431b380c55dca0efe556ce1.tar.bz2
gsoc2013-evolution-d15ae57732589b68c431b380c55dca0efe556ce1.tar.lz
gsoc2013-evolution-d15ae57732589b68c431b380c55dca0efe556ce1.tar.xz
gsoc2013-evolution-d15ae57732589b68c431b380c55dca0efe556ce1.tar.zst
gsoc2013-evolution-d15ae57732589b68c431b380c55dca0efe556ce1.zip
Fixed some warnings.
2000-09-11 Christopher James Lahey <clahey@helixcode.com> * mail-display.c: Fixed some warnings. svn path=/trunk/; revision=5327
-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);