edit-calendar-page: Silence warning
This commit is contained in:
@@ -299,7 +299,7 @@ gcal_edit_calendar_page_get_title (GcalCalendarManagementPage *page)
|
|||||||
{
|
{
|
||||||
GcalEditCalendarPage *self = GCAL_EDIT_CALENDAR_PAGE (page);
|
GcalEditCalendarPage *self = GCAL_EDIT_CALENDAR_PAGE (page);
|
||||||
|
|
||||||
return gcal_calendar_get_name (self->calendar);
|
return self->calendar ? gcal_calendar_get_name (self->calendar) : "";
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|||||||
Reference in New Issue
Block a user