diff options
| author | Johan B. C. Engelen <jbc.engelen@swissonline.ch> | 2006-10-26 22:13:06 +0000 |
|---|---|---|
| committer | johanengelen <johanengelen@users.sourceforge.net> | 2006-10-26 22:13:06 +0000 |
| commit | 3406336553d70c7d3ce6e0ac960b9f46b4ef9620 (patch) | |
| tree | e51cb8ed9b4a94291eb8e43213fa54aa58e95e41 /src/grid-snapper.cpp | |
| parent | Bug fix in set_gridtype (diff) | |
| download | inkscape-3406336553d70c7d3ce6e0ac960b9f46b4ef9620.tar.gz inkscape-3406336553d70c7d3ce6e0ac960b9f46b4ef9620.zip | |
Renaming from SP_CGRID to INKSCAPE_CXYGRID. SPCGrid to Inkscape::CXYGrid
(bzr r1869)
Diffstat (limited to 'src/grid-snapper.cpp')
| -rw-r--r-- | src/grid-snapper.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/grid-snapper.cpp b/src/grid-snapper.cpp index 2d6e8e2e3..c6a802a54 100644 --- a/src/grid-snapper.cpp +++ b/src/grid-snapper.cpp @@ -48,15 +48,15 @@ Inkscape::GridSnapper::_getSnapLines(NR::Point const &p) const return s; } - SPCGrid *griditem = NULL; + CXYGrid *griditem = NULL; for (GSList *l = _named_view->gridviews; l != NULL; l = l->next) { // FIXME : this is a hack since there is only one view for now // but when we'll handle multiple views, snapping should // must be rethought and maybe only the current view // should give back it's SHOWN lines to snap to - // For now, the last SPCGrid in _named_view->gridviews will be used. - if ( SP_IS_CGRID(GTK_OBJECT(l->data)) ) { - griditem = SP_CGRID(l->data); + // For now, the last CXYGrid in _named_view->gridviews will be used. + if ( INKSCAPE_IS_CXYGRID(GTK_OBJECT(l->data)) ) { + griditem = INKSCAPE_CXYGRID(l->data); } } |
