Lines Matching refs:current
1417 SPGradient *current = SP_GRADIENT(ps);
1419 //g_message("hrefcount %d count %d\n", current->hrefcount, count_gradient_hrefs(item, current));
1421 if (!current->isSwatch()
1422 && (current->hrefcount == 1 ||
1423 current->hrefcount == count_gradient_hrefs(item, current))) {
1425 // current is private and it's either used once, or all its uses are by children of item;
1428 if ( current != gr && current->getVector() != gr ) {
1430 sp_gradient_repr_set_link(current->getRepr(), gr);
1433 return current;
1439 SPGradient *normalized = sp_gradient_fork_private_if_necessary(current, gr, type, item);
1443 if (normalized != current) {
1561 // if o doesn't use flat color, then take current color of the desktop.