summaryrefslogtreecommitdiffstats
path: root/src/file.cpp
diff options
context:
space:
mode:
authorBruno Dilly <bruno.dilly@gmail.com>2007-08-20 04:09:10 +0000
committerbdilly <bdilly@users.sourceforge.net>2007-08-20 04:09:10 +0000
commitd7058c7958074675024481f48c09437b3726f61c (patch)
tree0582c09602c7872d7a43f87d8ba4ecfa125c348c /src/file.cpp
parentfix 1777084 (diff)
downloadinkscape-d7058c7958074675024481f48c09437b3726f61c.tar.gz
inkscape-d7058c7958074675024481f48c09437b3726f61c.zip
merge of dialog and impl classes of ocaldialogs
(bzr r3546)
Diffstat (limited to 'src/file.cpp')
-rw-r--r--src/file.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/file.cpp b/src/file.cpp
index e8e9af9d3..0e8a084e3 100644
--- a/src/file.cpp
+++ b/src/file.cpp
@@ -1206,7 +1206,7 @@ sp_file_export_to_ocal_dialog(Gtk::Window &parentWindow)
// Show the Export To OCAL dialog
if (!exportDialogInstance)
- exportDialogInstance = Inkscape::UI::Dialog::FileExportToOCALDialog::create(
+ exportDialogInstance = new Inkscape::UI::Dialog::FileExportToOCALDialog(
parentWindow,
Inkscape::UI::Dialog::EXPORT_TYPES,
(char const *) _("Select file to export to")
@@ -1253,7 +1253,7 @@ sp_file_export_to_ocal_dialog(Gtk::Window &parentWindow)
if(!gotSuccess)
{
if (!exportPasswordDialogInstance)
- exportPasswordDialogInstance = Inkscape::UI::Dialog::FileExportToOCALPasswordDialog::create(
+ exportPasswordDialogInstance = new Inkscape::UI::Dialog::FileExportToOCALPasswordDialog(
parentWindow,
(char const *) _("Open Clip Art Login"));
success = exportPasswordDialogInstance->show();
@@ -1320,8 +1320,8 @@ sp_file_import_from_ocal(Gtk::Window &parentWindow)
static Inkscape::UI::Dialog::FileImportFromOCALDialog *importDialogInstance = NULL;
if (!importDialogInstance) {
- importDialogInstance =
- Inkscape::UI::Dialog::FileImportFromOCALDialog::create(
+ importDialogInstance = new
+ Inkscape::UI::Dialog::FileImportFromOCALDialog(
parentWindow,
import_path,
Inkscape::UI::Dialog::IMPORT_TYPES,