aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/groupwise-features/gw-ui.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/groupwise-features/gw-ui.c')
-rw-r--r--plugins/groupwise-features/gw-ui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/groupwise-features/gw-ui.c b/plugins/groupwise-features/gw-ui.c
index c1146ff4d1..41529b5d41 100644
--- a/plugins/groupwise-features/gw-ui.c
+++ b/plugins/groupwise-features/gw-ui.c
@@ -384,7 +384,7 @@ update_cal_entries_cb (EShellView *shell_view, gpointer user_data)
ECalendarViewEvent *event = (ECalendarViewEvent *) selected->data;
const gchar *uri;
- uri = event->comp_data ? e_cal_get_uri (event->comp_data->client) : NULL;
+ uri = is_comp_data_valid (event) ? e_cal_get_uri (event->comp_data->client) : NULL;
if (uri && g_ascii_strncasecmp (uri, "groupwise://", 12) == 0) {
visible = e_cal_util_component_has_attendee (event->comp_data->icalcomp);