GWeather.Location.get_parent

### Method

# GWeather Locationget_parent

#### Declaration [src]

    GWeatherLocation*
    gweather_location_get_parent (
      GWeatherLocation* loc
    )

#### Description [src]

Gets the location’s parent.

#### Return value

Type: `GWeatherLocation`

The location’s parent.

The caller of the method takes ownership of the returned data, and is responsible for freeing it.
The return value can be `NULL`.