diff --git a/src/inkview.cpp b/src/inkview.cpp
index cd9d5524bdcd1376dc3d77ad479a0185eef1b06b..5cfde2c814a793d1365d32549300ff58394f4902 100644 (file)
--- a/src/inkview.cpp
+++ b/src/inkview.cpp
LIBXML_TEST_VERSION
Inkscape::GC::init();
- Inkscape::Preferences *prefs = Inkscape::Preferences::get();
+ Inkscape::Preferences::get(); // ensure preferences are initialized
gtk_init (&argc, (char ***) &argv);