From a883506dfc9b0f30197d82354d5332446e4325ba Mon Sep 17 00:00:00 2001 From: Bryce Harrington Date: Tue, 20 Feb 2007 07:28:05 +0000 Subject: Moving functions from svg_preview_cache.h to a new .cpp (bzr r2402) --- src/dialogs/stroke-style.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/dialogs/stroke-style.cpp') diff --git a/src/dialogs/stroke-style.cpp b/src/dialogs/stroke-style.cpp index bab57b679..0dedcfe4c 100644 --- a/src/dialogs/stroke-style.cpp +++ b/src/dialogs/stroke-style.cpp @@ -588,7 +588,6 @@ sp_marker_prev_new(unsigned psize, gchar const *mname, // Find object's bbox in document NR::Matrix const i2doc(sp_item_i2doc_affine(SP_ITEM(object))); - NR::Rect const dbox = SP_ITEM(object)->invokeBbox(i2doc); if (dbox.isEmpty()) { @@ -600,7 +599,7 @@ sp_marker_prev_new(unsigned psize, gchar const *mname, GdkPixbuf* pixbuf = render_pixbuf(root, sf, dbox, psize); // Create widget - GtkWidget *pb = gtk_image_new_from_pixbuf(get_pixbuf(pixbuf)); + GtkWidget *pb = gtk_image_new_from_pixbuf(pixbuf); return pb; } -- cgit v1.2.3