diff options
| author | Jon A. Cruz <jon@joncruz.org> | 2010-03-08 01:31:49 +0000 |
|---|---|---|
| committer | Jon A. Cruz <jon@joncruz.org> | 2010-03-08 01:31:49 +0000 |
| commit | e0a60a7ea64f3576bac00b84c440769c7221e1c3 (patch) | |
| tree | c47840592712bb1b5fd80c5892912dc403cc30a5 /src/gradient-context.cpp | |
| parent | Move new "NodesShow*" action to be with the existing ones on the toolbar. (diff) | |
| download | inkscape-e0a60a7ea64f3576bac00b84c440769c7221e1c3.tar.gz inkscape-e0a60a7ea64f3576bac00b84c440769c7221e1c3.zip | |
Cleanup of gradients and stops.
(bzr r9163)
Diffstat (limited to 'src/gradient-context.cpp')
| -rw-r--r-- | src/gradient-context.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gradient-context.cpp b/src/gradient-context.cpp index e78fa44a4..ed20f9b61 100644 --- a/src/gradient-context.cpp +++ b/src/gradient-context.cpp @@ -291,7 +291,7 @@ sp_gradient_context_get_stop_intervals (GrDrag *drag, GSList **these_stops, GSLi // from draggables to stops SPStop *this_stop = sp_get_stop_i (vector, d->point_i); - SPStop *next_stop = sp_next_stop (this_stop); + SPStop *next_stop = this_stop->getNextStop(); SPStop *last_stop = sp_last_stop (vector); gint fs = d->fill_or_stroke; @@ -362,7 +362,7 @@ sp_gradient_context_add_stops_between_selected_stops (SPGradientContext *rc) SPGradient *gradient = sp_item_gradient (d->item, d->fill_or_stroke); SPGradient *vector = sp_gradient_get_forked_vector_if_necessary (gradient, false); SPStop *this_stop = sp_get_stop_i (vector, d->point_i); - SPStop *next_stop = sp_next_stop (this_stop); + SPStop *next_stop = this_stop->getNextStop(); if (this_stop && next_stop) { these_stops = g_slist_prepend (these_stops, this_stop); next_stops = g_slist_prepend (next_stops, next_stop); |
