summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: def22d3)
raw | patch | inline | side by side (parent: def22d3)
author | keescook <keescook@users.sourceforge.net> | |
Sun, 30 Dec 2007 00:40:12 +0000 (00:40 +0000) | ||
committer | keescook <keescook@users.sourceforge.net> | |
Sun, 30 Dec 2007 00:40:12 +0000 (00:40 +0000) |
src/ui/dialog/print.cpp | patch | blob | history | |
src/ui/dialog/print.h | patch | blob | history |
index 3c6f9de4cae9b8c60310e38286714d0e9d41885a..3021b84b873ce58bac911bce01e2054e7915d766 100644 (file)
--- a/src/ui/dialog/print.cpp
+++ b/src/ui/dialog/print.cpp
Cairo::RefPtr<Cairo::ImageSurface> png = Cairo::ImageSurface::create_from_png (tmp_png);
cairo_t *cr = context->get_cairo_context ()->cobj();
// FIXME: why is the origin offset??
- cairo_set_source_surface(cr, png->cobj(), -20.0, -20.0);
+ cairo_set_source_surface(cr, png->cobj(), -16.0, -16.0);
}
context->get_cairo_context ()->paint ();
diff --git a/src/ui/dialog/print.h b/src/ui/dialog/print.h
index fb8876dc0500376fa39f87ac36db0228a586d825..ee0d97da767d063d36d06b9fa97a3a059ba54577 100644 (file)
--- a/src/ui/dialog/print.h
+++ b/src/ui/dialog/print.h
#define INKSCAPE_UI_DIALOG_PRINT_H
#include <glibmm/i18n.h>
-#include <gtkmm/printoperation.h> // GtkMM printoperation
+#include <gtkmm/printoperation.h> // GtkMM
#include <gtk/gtkprintoperation.h> // Gtk
#include "desktop.h"