Code

trying to fix the unset-gradient-on-transform bug
authorbuliabyak <buliabyak@users.sourceforge.net>
Sun, 16 Dec 2007 06:49:59 +0000 (06:49 +0000)
committerbuliabyak <buliabyak@users.sourceforge.net>
Sun, 16 Dec 2007 06:49:59 +0000 (06:49 +0000)
src/style.cpp

index e0cd1e947d07e7c678f7760dfd5c1097cbabf67b..06855087808622d96ab168070dca9cf02c3a455b 100644 (file)
@@ -3597,7 +3597,7 @@ sp_style_write_ipaint(gchar *b, gint const len, gchar const *const key,
         }
 
         if ( !css.str().empty() ) {
-            retval = g_snprintf( b, len, "%s:%s;", key, css.gcharp() );
+            retval = g_snprintf( b, len, "%s:%s;", key, css.str().c_str() );
         }
     }