[evolution/gnome-3-18] Bug 598037 - Crash in safe_toggle_activate() at e-source-selector.c
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/gnome-3-18] Bug 598037 - Crash in safe_toggle_activate() at e-source-selector.c
- Date: Mon, 9 Nov 2015 13:23:59 +0000 (UTC)
commit fe690cb472b358d7d1d45704575c4719c910587e
Author: Milan Crha <mcrha redhat com>
Date: Mon Nov 9 14:21:27 2015 +0100
Bug 598037 - Crash in safe_toggle_activate() at e-source-selector.c
e-util/e-source-selector.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/e-util/e-source-selector.c b/e-util/e-source-selector.c
index cb53789..731f7d7 100644
--- a/e-util/e-source-selector.c
+++ b/e-util/e-source-selector.c
@@ -133,7 +133,7 @@ safe_toggle_activate (GtkCellRenderer *cell,
{
gboolean point_in_cell_area = TRUE;
- if (event->type == GDK_BUTTON_PRESS && cell_area != NULL) {
+ if (event && event->type == GDK_BUTTON_PRESS && cell_area != NULL) {
cairo_region_t *region;
region = cairo_region_create_rectangle (cell_area);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]