diff options
| author | bulia byak <buliabyak@gmail.com> | 2007-06-27 01:43:23 +0000 |
|---|---|---|
| committer | buliabyak <buliabyak@users.sourceforge.net> | 2007-06-27 01:43:23 +0000 |
| commit | 5c9fff078f61f802e1423fcc559f41dbc5486648 (patch) | |
| tree | 15637ad4da51e95bcea3d04c4d440d220f4fa0e1 /src/dialogs/stroke-style.cpp | |
| parent | unref temporary styles properly (diff) | |
| download | inkscape-5c9fff078f61f802e1423fcc559f41dbc5486648.tar.gz inkscape-5c9fff078f61f802e1423fcc559f41dbc5486648.zip | |
more unreffing temporary styles properly
(bzr r3114)
Diffstat (limited to 'src/dialogs/stroke-style.cpp')
| -rw-r--r-- | src/dialogs/stroke-style.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/dialogs/stroke-style.cpp b/src/dialogs/stroke-style.cpp index e1640e6af..ed1082e26 100644 --- a/src/dialogs/stroke-style.cpp +++ b/src/dialogs/stroke-style.cpp @@ -261,7 +261,7 @@ sp_stroke_style_paint_update (SPWidget *spw) } } - g_free (query); + sp_style_unref(query); gtk_object_set_data(GTK_OBJECT(spw), "update", GINT_TO_POINTER(FALSE)); } @@ -397,7 +397,7 @@ sp_stroke_style_paint_changed(SPPaintSelector *psel, SPWidget *spw) } vector = sp_document_default_gradient_vector(document, common_rgb); } - g_free (query); + sp_style_unref(query); for (GSList const *i = items; i != NULL; i = i->next) { if (!vector) { @@ -1469,7 +1469,7 @@ sp_stroke_style_line_update(SPWidget *spw, Inkscape::Selection *sel) sp_stroke_style_set_cap_buttons(spw, NULL); } - g_free (query); + sp_style_unref(query); if (!sel || sel->isEmpty()) return; |
