From 3406336553d70c7d3ce6e0ac960b9f46b4ef9620 Mon Sep 17 00:00:00 2001 From: "Johan B. C. Engelen" Date: Thu, 26 Oct 2006 22:13:06 +0000 Subject: Renaming from SP_CGRID to INKSCAPE_CXYGRID. SPCGrid to Inkscape::CXYGrid (bzr r1869) --- src/grid-snapper.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/grid-snapper.cpp') 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); } } -- cgit v1.2.3