summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 45ff617)
raw | patch | inline | side by side (parent: 45ff617)
author | acspike <acspike@users.sourceforge.net> | |
Mon, 24 Apr 2006 12:08:26 +0000 (12:08 +0000) | ||
committer | acspike <acspike@users.sourceforge.net> | |
Mon, 24 Apr 2006 12:08:26 +0000 (12:08 +0000) |
src/extension/internal/gdkpixbuf-input.cpp | patch | blob | history |
diff --git a/src/extension/internal/gdkpixbuf-input.cpp b/src/extension/internal/gdkpixbuf-input.cpp
index 34e6c09fd3d42ecf61c95827336f779ec7e5cd9e..eadae090fd0bb0570141933ba935364fc7852d92 100644 (file)
#include "prefs-utils.h"
#include "extension/system.h"
#include "gdkpixbuf-input.h"
+#include "selection-chemistry.h"
namespace Inkscape {
SP_DOCUMENT_ROOT(doc)->appendChildRepr(repr);
Inkscape::GC::release(repr);
gdk_pixbuf_unref(pb);
+ //alter the canvas size to fit the image size
+ fit_canvas_to_drawing(doc);
// restore undo, as now this document may be shown to the user if a bitmap was opened
sp_document_set_undo_sensitive(doc, TRUE);
} else {