summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 6cf4fe0)
raw | patch | inline | side by side (parent: 6cf4fe0)
author | bryce <bryce@users.sourceforge.net> | |
Sat, 5 Jan 2008 09:30:33 +0000 (09:30 +0000) | ||
committer | bryce <bryce@users.sourceforge.net> | |
Sat, 5 Jan 2008 09:30:33 +0000 (09:30 +0000) |
index 3126f10f1ebd3a05b1de001073a382d0dc683b0d..74301a609b2cef7109e717f5edbf355f44be3e1f 100644 (file)
--- a/src/debug/simple-event.h
+++ b/src/debug/simple-event.h
#include <stdarg.h>
#include <vector>
-#include <glib/gtestutils.h>
+#include <glib.h> // g_assert()
#include <glib/gstrfuncs.h>
#include <glib/gmessages.h>
index 95b1a5eb1bbb8b34cae049079b7b082cb05d06df..3a9aa415fe70a796259c1f0819f954e2482a7864 100644 (file)
# include <ieeefp.h>
#endif
-#include <glib/gtestutils.h>
+#include <glib.h> // g_assert()
#include <glib/gmessages.h>
#include <glib/gmem.h>
#include "bezier-utils.h"
diff --git a/src/extension/init.cpp b/src/extension/init.cpp
index 852b7ce7031a756670b81cd39e528d70a59e7e6e..3fe3115c0fdb6b5e96eface4e492952076705c29 100644 (file)
--- a/src/extension/init.cpp
+++ b/src/extension/init.cpp
void
init()
{
+ printf("Initting inputs\n");
+
/* TODO: Change to Internal */
Internal::Svg::init();
Internal::Svgz::init();
Internal::CairoPsOutput::init();
#endif
#ifdef HAVE_POPPLER
+ printf("Initting PdfInput for poppler");
Internal::PdfInput::init();
#endif
#ifdef HAVE_POPPLER_GLIB
+ printf("We have POPPLER GLIB\n");
if (1) {
+ printf("Initting PdfInputCairo\n");
Internal::PdfInputCairo::init();
}
#endif
index e17c690aa5017acf07d257e5c24b917e49892d9f..5c8f8d57f26614cfc2ef30abd6032696330c8085 100644 (file)
--- a/src/extension/input.cpp
+++ b/src/extension/input.cpp
extension = NULL;
filetypename = NULL;
filetypetooltip = NULL;
- output_extension = NULL;
+ output_extension = NULL;
+
+ printf("Input::Input\n");
if (repr != NULL) {
Inkscape::XML::Node * child_repr;
SPDocument *
Input::open (const gchar *uri)
{
+ printf("Input::open\n");
+
if (!loaded()) {
set_state(Extension::STATE_LOADED);
}
diff --git a/src/extension/internal/pdf-input-cairo.cpp b/src/extension/internal/pdf-input-cairo.cpp
index 90ac9294b5071c67ce5898bd0d89b4123a1bd4ce..8069f9cf3e0929ad1e7031526ddbe822d4129ea7 100644 (file)
SPDocument *
PdfInputCairo::open(Inkscape::Extension::Input * mod, const gchar * uri) {
+ printf("Attempting to open using PdfInputCairo\n");
+
gchar* filename_uri = g_filename_to_uri(uri, NULL, NULL);
PopplerDocument* document = poppler_document_new_from_file(filename_uri, NULL, NULL);
diff --git a/src/libnr/nr-matrix.h b/src/libnr/nr-matrix.h
index 0205ab04f44438c2043229a77f2d415a0c16bf82..f4164d3e786496f4b876cc780809549df4f632db 100644 (file)
--- a/src/libnr/nr-matrix.h
+++ b/src/libnr/nr-matrix.h
* This code is in public domain.
*/
-#include <glib/gtestutils.h>
+#include <glib.h> // g_assert()
#include <glib/gmessages.h>
#include "libnr/nr-coord.h"