summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 7b1deb8)
raw | patch | inline | side by side (parent: 7b1deb8)
author | joncruz <joncruz@users.sourceforge.net> | |
Sat, 23 Feb 2008 19:11:51 +0000 (19:11 +0000) | ||
committer | joncruz <joncruz@users.sourceforge.net> | |
Sat, 23 Feb 2008 19:11:51 +0000 (19:11 +0000) |
src/file.cpp | patch | blob | history | |
src/ui/dialog/ocaldialogs.cpp | patch | blob | history |
diff --git a/src/file.cpp b/src/file.cpp
index b41d61426f831c51ba496679f2f8a87b52320904..4a10bb4c95a00e3cc16194f62db4c66de839bcb7 100644 (file)
--- a/src/file.cpp
+++ b/src/file.cpp
static bool gotSuccess = false;
Inkscape::XML::Node *repr = sp_document_repr_root(doc);
+ (void)repr;
if (!doc->uri && !doc->isModifiedSinceSave())
return false;
index 7d56470a8441e05af63206d2ba46a9b0638ec414..e9ef6344369ec8910b73402a0d1a02a27576c372 100644 (file)
/* Set our dialog type (save, export, etc...)*/
dialogType = fileTypes;
Gtk::VBox *vbox = get_vbox();
-
+
Gtk::Label *fileLabel = new Gtk::Label(_("File"));
fileNameEntry = new Gtk::Entry();
@@ -192,7 +192,7 @@ FileExportToOCALPasswordDialog::FileExportToOCALPasswordDialog(Gtk::Window &pare
passBox.pack_start(*passLabel);
passBox.pack_start(*passwordEntry, Gtk::PACK_EXPAND_WIDGET, 3);
vbox->pack_start(passBox);
-
+
add_button(Gtk::Stock::CANCEL, Gtk::RESPONSE_CANCEL);
set_default(*add_button(Gtk::Stock::OK, Gtk::RESPONSE_OK));
/*
* Callback for row activated
*/
-void FileListViewText::on_row_activated(const Gtk::TreeModel::Path& path, Gtk::TreeViewColumn* column)
+void FileListViewText::on_row_activated(const Gtk::TreeModel::Path& /*path*/, Gtk::TreeViewColumn* /*column*/)
{
this->on_cursor_changed();
myButton->activate();
// create the resulting xml document tree
// this initialize the library and test mistakes between compiled and shared library used
- LIBXML_TEST_VERSION
+ LIBXML_TEST_VERSION
xmlDoc *doc = NULL;
xmlNode *root_element = NULL;
g_warning("Failed to parse %s\n", uri.c_str());
return;
}
-
+
// get the root element node
root_element = xmlDocGetRootElement(doc);
// free the global variables that may have been allocated by the parser
xmlCleanupParser();
return;
-#endif
+#endif
}
/**
- * Prints the names of the all the xml elements
+ * Prints the names of the all the xml elements
* that are siblings or children of a given xml node
*/
void FileImportFromOCALDialog::print_xml_element_names(xmlNode * a_node)
/**
* Constructor. Not called directly. Use the factory.
*/
-FileImportFromOCALDialog::FileImportFromOCALDialog(Gtk::Window& parentWindow,
- const Glib::ustring &dir,
- FileDialogType fileTypes,
- const Glib::ustring &title) :
- FileDialogOCALBase(title, parentWindow)
+FileImportFromOCALDialog::FileImportFromOCALDialog(Gtk::Window& parentWindow,
+ const Glib::ustring &/*dir*/,
+ FileDialogType fileTypes,
+ const Glib::ustring &title) :
+ FileDialogOCALBase(title, parentWindow)
{
// Initalize to Autodetect
extension = NULL;