Index: propsel.c =================================================================== --- propsel.c (revision 30904) +++ propsel.c (revision 30905) @@ -70,7 +70,7 @@ pcb_props_add(ctx, name, type2TYPE_ ## type, v); \ } while(0) -static void map_attr(void *ctx, const pcb_attribute_list_t *list) +static void map_attr(void *ctx, const rnd_attribute_list_t *list) { int i, bl = 0; char small[256]; @@ -349,15 +349,15 @@ /*******************/ -static void set_attr_raw(pcb_propset_ctx_t *st, pcb_attribute_list_t *list) +static void set_attr_raw(pcb_propset_ctx_t *st, rnd_attribute_list_t *list) { const char *key = st->name+2; - const char *orig = pcb_attribute_get(list, key); + const char *orig = rnd_attribute_get(list, key); if ((orig != NULL) && (strcmp(orig, st->s) == 0)) return; - pcb_attribute_put(list, key, st->s); + rnd_attribute_put(list, key, st->s); st->set_cnt++; } @@ -479,7 +479,7 @@ if (st->is_attr) { const char *key = st->name+2; - const char *orig = pcb_attribute_get(&net->Attributes, key); + const char *orig = rnd_attribute_get(&net->Attributes, key); if ((orig != NULL) && (strcmp(orig, st->s) == 0)) return; @@ -916,9 +916,9 @@ /*******************/ -static long del_attr(void *ctx, pcb_attribute_list_t *list, const char *key) +static long del_attr(void *ctx, rnd_attribute_list_t *list, const char *key) { - if (pcb_attribute_remove(list, key)) + if (rnd_attribute_remove(list, key)) return 1; return 0; } @@ -936,7 +936,7 @@ static long del_net(pcb_propedit_t *ctx, const char *netname, const char *key) { pcb_net_t *net = pcb_net_get(ctx->pcb, &ctx->pcb->netlist[PCB_NETLIST_EDITED], netname, 0); - if ((net == NULL) || (pcb_attribute_get(&net->Attributes, key) == NULL)) + if ((net == NULL) || (rnd_attribute_get(&net->Attributes, key) == NULL)) return 0; pcb_ratspatch_append_optimize(ctx->pcb, RATP_CHANGE_ATTRIB, netname, key, NULL);