aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-accounts.c
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/mail-accounts.c
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/mail-accounts.c')
-rw-r--r--mail/mail-accounts.c4
1 files changed, 2 insertions, 2 deletions
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);