From eed40b2b0494a15c94f90dcc456c17d1324cd687 Mon Sep 17 00:00:00 2001 From: bulia byak Date: Sun, 16 Dec 2007 06:49:59 +0000 Subject: trying to fix the unset-gradient-on-transform bug (bzr r4236) --- src/style.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/style.cpp') diff --git a/src/style.cpp b/src/style.cpp index e0cd1e947..068550878 100644 --- a/src/style.cpp +++ b/src/style.cpp @@ -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() ); } } -- cgit v1.2.3