aboutsummaryrefslogtreecommitdiffstats
path: root/calendar
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2010-09-03 03:48:43 +0800
committerMatthew Barnes <mbarnes@redhat.com>2010-09-03 03:48:43 +0800
commit8fc31dfe753b3fe5b5d5e0c1914ff64aec710086 (patch)
tree05ad8e79493a6d70ce601825f7cddf7c956b60b1 /calendar
parent429234ff213ba04b6d0b02a28ed68aaa8af7c02c (diff)
downloadgsoc2013-evolution-8fc31dfe753b3fe5b5d5e0c1914ff64aec710086.tar
gsoc2013-evolution-8fc31dfe753b3fe5b5d5e0c1914ff64aec710086.tar.gz
gsoc2013-evolution-8fc31dfe753b3fe5b5d5e0c1914ff64aec710086.tar.bz2
gsoc2013-evolution-8fc31dfe753b3fe5b5d5e0c1914ff64aec710086.tar.lz
gsoc2013-evolution-8fc31dfe753b3fe5b5d5e0c1914ff64aec710086.tar.xz
gsoc2013-evolution-8fc31dfe753b3fe5b5d5e0c1914ff64aec710086.tar.zst
gsoc2013-evolution-8fc31dfe753b3fe5b5d5e0c1914ff64aec710086.zip
Bug 628635 - Crash in alarm-queue.c:display_notification()
Diffstat (limited to 'calendar')
-rw-r--r--calendar/gui/alarm-notify/alarm-queue.c4
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 debbb3c8d3..9b397ca415 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;