From e3b41081da24d7fb1cc945fd4ab2daef413e66bc Mon Sep 17 00:00:00 2001 From: Milan Crha Date: Fri, 29 Oct 2010 14:29:23 +0200 Subject: Bug #632769 - EMeetingTimeSelector can be unrealized in express mode --- calendar/gui/e-meeting-time-sel.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'calendar/gui/e-meeting-time-sel.c') 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; -- cgit