[evolution/wip/webkit2] 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/wip/webkit2] Bug 598037 - Crash in safe_toggle_activate() at e-source-selector.c
- Date: Wed, 2 Mar 2016 15:19:22 +0000 (UTC)
commit a75e5fc4957f0644bc23eb5a48d89d922743e841
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 43a732a..b8dab71 100644
--- a/e-util/e-source-selector.c
+++ b/e-util/e-source-selector.c
@@ -137,7 +137,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]