Lines Matching defs:new_value
373 ptr_shared<char> new_value=ptr_shared<char>();
375 new_value = share_string(cleaned_value);
376 tracker.set<DebugSetAttribute>(*this, key, new_value);
379 set_rest(ref, MutableList<AttributeRecord>(AttributeRecord(key, new_value)));
381 _attributes = MutableList<AttributeRecord>(AttributeRecord(key, new_value));
384 existing->value = new_value;
398 if ( new_value != old_value && (!old_value || !new_value || strcmp(old_value, new_value))) {
399 _document->logger()->notifyAttributeChanged(*this, key, old_value, new_value);
400 _observers.notifyAttributeChanged(*this, key, old_value, new_value);
401 //g_warning( "setAttribute notified: %s: %s: %s: %s", name, element.c_str(), old_value, new_value );
565 void attr_changed(Node *node, gchar const *name, gchar const *old_value, gchar const *new_value, bool /*is_interactive*/, void *data) {
566 reinterpret_cast<NodeObserver *>(data)->notifyAttributeChanged(*node, g_quark_from_string(name), Util::share_unsafe((const char *)old_value), Util::share_unsafe((const char *)new_value));