[evolution] Bug 628635 - Crash in alarm-queue.c:display_notification()
- From: Matthew Barnes <mbarnes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution] Bug 628635 - Crash in alarm-queue.c:display_notification()
- Date: Thu, 2 Sep 2010 19:51:24 +0000 (UTC)
commit 8fc31dfe753b3fe5b5d5e0c1914ff64aec710086
Author: Matthew Barnes <mbarnes redhat com>
Date: Thu Sep 2 15:48:43 2010 -0400
Bug 628635 - Crash in alarm-queue.c:display_notification()
calendar/gui/alarm-notify/alarm-queue.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/calendar/gui/alarm-notify/alarm-queue.c b/calendar/gui/alarm-notify/alarm-queue.c
index debbb3c..9b397ca 100644
--- a/calendar/gui/alarm-notify/alarm-queue.c
+++ b/calendar/gui/alarm-notify/alarm-queue.c
@@ -1536,7 +1536,9 @@ display_notification (time_t trigger, CompQueuedAlarms *cqa,
if (!config_data_get_notify_with_tray ()) {
tray_blink_id = -1;
open_alarm_dialog (tray_data);
- gtk_window_stick (GTK_WINDOW (alarm_notifications_dialog->dialog));
+ if (alarm_notifications_dialog)
+ gtk_window_stick (GTK_WINDOW (
+ alarm_notifications_dialog->dialog));
} else {
if (tray_blink_id == -1) {
tray_blink_countdown = 30;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]