aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@src.gnome.org>2002-03-29 07:57:30 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2002-03-29 07:57:30 +0800
commitf40295c6269f18922437a1bc9ece343871162b8b (patch)
tree27f5b05d25e2bfe6858bf3820b4f357968b56289 /mail
parent93c35349cf39a820d6a41b2da99c2ac19c00ef93 (diff)
downloadgsoc2013-evolution-f40295c6269f18922437a1bc9ece343871162b8b.tar
gsoc2013-evolution-f40295c6269f18922437a1bc9ece343871162b8b.tar.gz
gsoc2013-evolution-f40295c6269f18922437a1bc9ece343871162b8b.tar.bz2
gsoc2013-evolution-f40295c6269f18922437a1bc9ece343871162b8b.tar.lz
gsoc2013-evolution-f40295c6269f18922437a1bc9ece343871162b8b.tar.xz
gsoc2013-evolution-f40295c6269f18922437a1bc9ece343871162b8b.tar.zst
gsoc2013-evolution-f40295c6269f18922437a1bc9ece343871162b8b.zip
(account_cursor_change): Make sure that event is non-NULL here.
svn path=/trunk/; revision=16279
Diffstat (limited to 'mail')
-rw-r--r--mail/ChangeLog1
-rw-r--r--mail/mail-accounts.c4
2 files changed, 3 insertions, 2 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 67a3c77463..438a9b490e 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -4,6 +4,7 @@
reason the etable was getting into some infinite resize loop or
something. I probably did something wrong but I can't figure out
what so I'm using a clist for now.
+ (account_cursor_change): Make sure that event is non-NULL here.
2002-03-27 Ettore Perazzoli <ettore@ximian.com>
diff --git a/mail/mail-accounts.c b/mail/mail-accounts.c
index 39458858de..370bbbcc11 100644
--- a/mail/mail-accounts.c
+++ b/mail/mail-accounts.c
@@ -362,7 +362,7 @@ account_double_click (ETable *table, int row, int col, GdkEvent *event, gpointer
}
#else
static void
-account_cursor_change (GtkCList *table, int row, int column, GdkEvent *event, gpointer user_data)
+account_cursor_change (GtkCList *table, int row, int column, GdkEventButton *event, gpointer user_data)
{
MailAccountsTab *prefs = user_data;
@@ -380,7 +380,7 @@ account_cursor_change (GtkCList *table, int row, int column, GdkEvent *event, gp
gtk_widget_set_sensitive (GTK_WIDGET (prefs->mail_default), TRUE);
gtk_widget_set_sensitive (GTK_WIDGET (prefs->mail_able), TRUE);
- if (event->type == GDK_2BUTTON_PRESS)
+ if (event && event->type == GDK_2BUTTON_PRESS)
account_edit_clicked (NULL, user_data);
} else {
gtk_widget_set_sensitive (GTK_WIDGET (prefs->mail_edit), FALSE);