Code

Remove some SP_ACTIVE_DESKTOP() calls
[inkscape.git] / src / desktop.h
index 50041543c2a2e7e98663faeb83fff56ba91e7f77..e1479d8573fd429768fd71e55edc0b3f4c717d1a 100644 (file)
@@ -290,7 +290,7 @@ struct SPDesktop : public Inkscape::UI::View::View
 
     void toggleGrids();
     void toggleSnapGlobal();
-    bool gridsEnabled() { return grids_visible; }
+    bool gridsEnabled() const { return grids_visible; };
     void showGrids(bool show, bool dirty_document = true);
 
     bool is_iconified();