diff options
-rw-r--r-- | libmateweather/location-entry.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libmateweather/location-entry.c b/libmateweather/location-entry.c index f6ce624..5da2fcd 100644 --- a/libmateweather/location-entry.c +++ b/libmateweather/location-entry.c @@ -466,6 +466,7 @@ mateweather_location_entry_build_model (MateWeatherLocationEntry *entry, { GtkTreeStore *store = NULL; + g_return_if_fail (MATEWEATHER_IS_LOCATION_ENTRY (entry)); entry->top = mateweather_location_ref (top); store = gtk_tree_store_new (4, G_TYPE_STRING, G_TYPE_POINTER, G_TYPE_STRING, G_TYPE_STRING); |