Code

Remove double unreffing of pointer in pdf-cairo.cpp. Fixes Bug #178985 with the...
[inkscape.git] / src / context-fns.h
index beb132ca92f5196839ad3d31e19023977097e132..e295f85294f759c3296dcb18abf5844408f0e505 100644 (file)
@@ -1,6 +1,8 @@
 #include <gdk/gdkevents.h>
 struct SPDesktop;
 
+const double goldenratio = 1.61803398874989484820; // golden ratio
+
 namespace Inkscape
 {
 
@@ -9,7 +11,7 @@ class MessageStack;
 
 extern bool have_viable_layer(SPDesktop *desktop, MessageContext *message);
 extern bool have_viable_layer(SPDesktop *desktop, MessageStack *message);
-NR::Rect snap_rectangular_box(SPDesktop const *desktop, SPItem *item,
+::NR::Rect snap_rectangular_box(SPDesktop const *desktop, SPItem *item,
                               NR::Point const &pt, NR::Point const &center, int state);
 NR::Point setup_for_drag_start(SPDesktop *desktop, SPEventContext* ec, GdkEvent *ev);