summaryrefslogtreecommitdiffstats
path: root/src/desktop-style.cpp
diff options
context:
space:
mode:
authorMaximilian Albert <maximilian.albert@gmail.com>2007-12-13 20:08:06 +0000
committercilix42 <cilix42@users.sourceforge.net>2007-12-13 20:08:06 +0000
commit49308ff2f6ca0d4c640bc584b1b87a3ee6e31e97 (patch)
treeb02d64329cded4890fb01b7f9dd33a49f274eec7 /src/desktop-style.cpp
parentImproved tango icons by Michael Grossberg. (diff)
downloadinkscape-49308ff2f6ca0d4c640bc584b1b87a3ee6e31e97.tar.gz
inkscape-49308ff2f6ca0d4c640bc584b1b87a3ee6e31e97.zip
If necessary, split up perspectives when applying transformations to boxes; moreover, fix crash caused by listening to already destroyed perspectives
(bzr r4227)
Diffstat (limited to 'src/desktop-style.cpp')
-rw-r--r--src/desktop-style.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/desktop-style.cpp b/src/desktop-style.cpp
index eaa4ee6a7..d0cecda03 100644
--- a/src/desktop-style.cpp
+++ b/src/desktop-style.cpp
@@ -167,10 +167,8 @@ sp_desktop_set_style(SPDesktop *desktop, SPCSSAttr *css, bool change, bool write
for (const GSList *i = desktop->selection->itemList(); i != NULL; i = i->next) {
/* last used styles for 3D box faces are stored separately */
if (SP_IS_BOX3D_SIDE (i->data)) {
- //const char * descr = SP_OBJECT_REPR (G_OBJECT (i->data))->attribute ("inkscape:box3dside");
const char * descr = box3d_side_axes_string(SP_BOX3D_SIDE(i->data));
if (descr != NULL) {
- g_print ("################ Box3DSide description found.\n");
gchar *style_grp = g_strconcat ("desktop.", descr, NULL);
sp_repr_css_change(inkscape_get_repr(INKSCAPE, style_grp), css_write, "style");
g_free (style_grp);