aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-meeting-time-sel.c
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2010-10-29 20:29:23 +0800
committerMilan Crha <mcrha@redhat.com>2010-10-29 20:29:23 +0800
commite3b41081da24d7fb1cc945fd4ab2daef413e66bc (patch)
treec7084bc50cd4c2c3c808b7d6bbf590d1d532a87e /calendar/gui/e-meeting-time-sel.c
parent0b899d3bc0d1e14d8c20d6f52c18adc203be4c00 (diff)
downloadgsoc2013-evolution-e3b41081da24d7fb1cc945fd4ab2daef413e66bc.tar
gsoc2013-evolution-e3b41081da24d7fb1cc945fd4ab2daef413e66bc.tar.gz
gsoc2013-evolution-e3b41081da24d7fb1cc945fd4ab2daef413e66bc.tar.bz2
gsoc2013-evolution-e3b41081da24d7fb1cc945fd4ab2daef413e66bc.tar.lz
gsoc2013-evolution-e3b41081da24d7fb1cc945fd4ab2daef413e66bc.tar.xz
gsoc2013-evolution-e3b41081da24d7fb1cc945fd4ab2daef413e66bc.tar.zst
gsoc2013-evolution-e3b41081da24d7fb1cc945fd4ab2daef413e66bc.zip
Bug #632769 - EMeetingTimeSelector can be unrealized in express mode
Diffstat (limited to 'calendar/gui/e-meeting-time-sel.c')
-rw-r--r--calendar/gui/e-meeting-time-sel.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/calendar/gui/e-meeting-time-sel.c b/calendar/gui/e-meeting-time-sel.c
index 5041565a84..ae82b8cdf8 100644
--- a/calendar/gui/e-meeting-time-sel.c
+++ b/calendar/gui/e-meeting-time-sel.c
@@ -1447,7 +1447,8 @@ e_meeting_time_selector_refresh_cb (gpointer data)
cursor = gdk_cursor_new (GDK_LEFT_PTR);
window = gtk_widget_get_window (GTK_WIDGET (mts));
- gdk_window_set_cursor (window, cursor);
+ if (window)
+ gdk_window_set_cursor (window, cursor);
gdk_cursor_unref (cursor);
mts->last_cursor_set = GDK_LEFT_PTR;