From d7058c7958074675024481f48c09437b3726f61c Mon Sep 17 00:00:00 2001 From: Bruno Dilly Date: Mon, 20 Aug 2007 04:09:10 +0000 Subject: merge of dialog and impl classes of ocaldialogs (bzr r3546) --- src/file.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/file.cpp') 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, -- cgit v1.2.3