summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: f11265c)
raw | patch | inline | side by side (parent: f11265c)
| author | johanengelen <johanengelen@users.sourceforge.net> | |
| Sun, 2 Mar 2008 15:48:34 +0000 (15:48 +0000) | ||
| committer | johanengelen <johanengelen@users.sourceforge.net> | |
| Sun, 2 Mar 2008 15:48:34 +0000 (15:48 +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 9f3360bab0f95febfa06992cb0ef7a9c3f0a9a75..943300c9ef85a0fad0de6dfb8061b0dc724e4da6 100644 (file)
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, saved);
} else {
printf("GdkPixbuf loader failed\n");
}
+ // restore undo, as now this document may be shown to the user if a bitmap was opened
+ sp_document_set_undo_sensitive(doc, saved);
+
return doc;
}