X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=src%2Fgis-viewer.c;h=38c820718b0bcdf333c90a587a9d6e3b1b633571;hb=f3b5111c3bfb35c470d9db6ff9ea7f3ef3ceb521;hp=8679ff990104d4a79758a41c8f5491689a0e631c;hpb=4d9d0eb76317c97b94f44a745ffecde29de0454d;p=grits diff --git a/src/gis-viewer.c b/src/gis-viewer.c index 8679ff9..38c8207 100644 --- a/src/gis-viewer.c +++ b/src/gis-viewer.c @@ -482,21 +482,21 @@ void gis_viewer_clear_height_func(GisViewer *viewer) /** * gis_viewer_set_height_func: * @viewer: the viewer - * @tile: the area to set the height function for + * @bounds: the area to set the height function for * @height_func: the height function * @user_data: user data to pass to the height function - * @update: %TRUE if the heights inside the tile should be updated. + * @update: %TRUE if the heights inside the bounds should be updated. * * Set the height function to be used for a given part of the surface.. */ -void gis_viewer_set_height_func(GisViewer *viewer, GisTile *tile, +void gis_viewer_set_height_func(GisViewer *viewer, GisBounds *bounds, GisHeightFunc height_func, gpointer user_data, gboolean update) { GisViewerClass *klass = GIS_VIEWER_GET_CLASS(viewer); if (!klass->set_height_func) g_warning("GisViewer: set_height_func - Unimplemented"); - klass->set_height_func(viewer, tile, height_func, user_data, update); + klass->set_height_func(viewer, bounds, height_func, user_data, update); } /**