summaryrefslogtreecommitdiffstats
path: root/src/ui/dialog/filedialog.cpp
diff options
context:
space:
mode:
authorMaximilian Albert <maximilian.albert@gmail.com>2009-08-09 16:43:39 +0000
committercilix42 <cilix42@users.sourceforge.net>2009-08-09 16:43:39 +0000
commit9289c1726bbd97cb2befcfa19f21a79dd6a45d78 (patch)
treef122f098fb7d42731b63a57896bb58e3dc450ef2 /src/ui/dialog/filedialog.cpp
parentCleanup (remove unused variable; use generic function to determine the file e... (diff)
downloadinkscape-9289c1726bbd97cb2befcfa19f21a79dd6a45d78.tar.gz
inkscape-9289c1726bbd97cb2befcfa19f21a79dd6a45d78.zip
Put #ifdefs around all code related to the so-called "new" ExportDialog (whatever that is)
(bzr r8456)
Diffstat (limited to 'src/ui/dialog/filedialog.cpp')
-rw-r--r--src/ui/dialog/filedialog.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ui/dialog/filedialog.cpp b/src/ui/dialog/filedialog.cpp
index 8e372c394..68c0926aa 100644
--- a/src/ui/dialog/filedialog.cpp
+++ b/src/ui/dialog/filedialog.cpp
@@ -166,6 +166,8 @@ void FileSaveDialog::appendExtension(Glib::ustring& path, Inkscape::Extension::O
//# F I L E E X P O R T
//########################################################################
+#ifdef NEW_EXPORT_DIALOG
+
/**
* Public factory method. Used in file.cpp
*/
@@ -179,6 +181,8 @@ FileExportDialog *FileExportDialog::create(Gtk::Window& parentWindow,
return dialog;
}
+#endif // NEW_EXPORT_DIALOG
+
} //namespace Dialog
} //namespace UI