summaryrefslogtreecommitdiffstats
path: root/src/inkview.cpp
diff options
context:
space:
mode:
authorJabier Arraiza Cenoz <jabier.arraiza@marker.es>2015-03-18 18:07:14 +0000
committerJabiertxof <jtx@jtx.marker.es>2015-03-18 18:07:14 +0000
commite77956b4dbd029c9f6949f81fe083606f995c624 (patch)
tree74adda4df8986d65f70efb341c6235277361fd35 /src/inkview.cpp
parentupdated code to work on 0.92 code (diff)
parentLatvian translation update (diff)
downloadinkscape-e77956b4dbd029c9f6949f81fe083606f995c624.tar.gz
inkscape-e77956b4dbd029c9f6949f81fe083606f995c624.zip
update to trunk
(bzr r12588.1.39)
Diffstat (limited to 'src/inkview.cpp')
-rw-r--r--src/inkview.cpp9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/inkview.cpp b/src/inkview.cpp
index 2969bb140..2c667237e 100644
--- a/src/inkview.cpp
+++ b/src/inkview.cpp
@@ -47,7 +47,7 @@
#include <gdk/gdkkeysyms.h>
#include <gtk/gtk.h>
-#include "gc-core.h"
+#include "inkgc/gc-core.h"
#include "preferences.h"
#include <glibmm/i18n.h>
@@ -60,9 +60,7 @@
#include "io/inkjar.h"
#endif
-#include "inkscape-private.h"
-
-InkscapeApplication *inkscape;
+#include "inkscape.h"
#include <iostream>
@@ -232,7 +230,8 @@ main (int argc, const char **argv)
ss.view = NULL;
ss.fullscreen = false;
- inkscape = (InkscapeApplication *)g_object_new (SP_TYPE_INKSCAPE, NULL);
+ Inkscape::Application::create(argv[0], true);
+ //Inkscape::Application &inkscape = Inkscape::Application::instance();
// starting at where the commandline options stopped parsing because
// we want all the files to be in the list