EDataCal.CalBackend.list_views

### Method

# EDataCal CalBackendlist_views

since: 3.8

#### Declaration [src]

    GList*
    e_cal_backend_list_views (
      ECalBackend* backend
    )

#### Description [src]

Returns a list of `EDataCalView` instances added with e_cal_backend_add_view().

The views returned in the list are referenced for thread-safety. They must each be unreferenced with `g_object_unref()` when finished with them. Free the returned list itself with g_list_free().

An easy way to free the list properly in one step is as follows:

      g_list_free_full (list, g_object_unref);

Available since: 3.8

#### Return value

Type: A list of `EDataCalView*`

A list of cal views.

The caller of the method takes ownership of the returned data, and is responsible for freeing it.