VikMapTypePrivate *priv = VIK_MAP_TYPE_PRIVATE(self);
g_return_if_fail (self != NULL);
- return (priv->map_type.mapcoord_to_center_coord)(src, dest);
+ (priv->map_type.mapcoord_to_center_coord)(src, dest);
}
static int
map_type_download_handle_cleanup (VikMapSource * self, void * handle)
{
VikMapTypePrivate *priv = VIK_MAP_TYPE_PRIVATE(self);
- g_return_val_if_fail (priv != NULL, 0);
+ g_return_if_fail ( priv != NULL );
- return (priv->map_type.download_handle_cleanup)(handle);
+ (priv->map_type.download_handle_cleanup)(handle);
}