Index: trunk/src_plugins/hid_lesstif/library.c =================================================================== --- trunk/src_plugins/hid_lesstif/library.c (revision 15622) +++ trunk/src_plugins/hid_lesstif/library.c (revision 15623) @@ -64,7 +64,7 @@ { pcb_fplibrary_t *e = picks.array[last_pick]; e = &e->data.dir.children.array[cbs->item_position - 1]; - if (pcb_element_load_to_buffer(PCB_PASTEBUFFER, e->data.fp.loc_info, NULL)) + if (pcb_buffer_load_footprint(PCB_PASTEBUFFER, e->data.fp.loc_info, NULL)) pcb_crosshair_set_mode(PCB_MODE_PASTE_BUFFER); } Index: trunk/src_plugins/lib_gtk_common/dlg_library.c =================================================================== --- trunk/src_plugins/lib_gtk_common/dlg_library.c (revision 15622) +++ trunk/src_plugins/lib_gtk_common/dlg_library.c (revision 15623) @@ -284,7 +284,7 @@ fullp = entry->data.fp.loc_info; } pcb_crosshair_set_mode(PCB_MODE_ARROW); - if (pcb_element_load_to_buffer(PCB_PASTEBUFFER, name == NULL ? fullp : name, NULL)) + if (pcb_buffer_load_footprint(PCB_PASTEBUFFER, name == NULL ? fullp : name, NULL)) pcb_crosshair_set_mode(PCB_MODE_PASTE_BUFFER); /* update the preview with new symbol data */ Index: trunk/src_plugins/shand_cmd/command.c =================================================================== --- trunk/src_plugins/shand_cmd/command.c (revision 15622) +++ trunk/src_plugins/shand_cmd/command.c (revision 15623) @@ -154,7 +154,7 @@ switch (argc) { case 1: /* filename is passed in commandline */ filename = argv[0]; - if (filename && pcb_element_load_to_buffer(PCB_PASTEBUFFER, filename, NULL)) + if (filename && pcb_buffer_load_footprint(PCB_PASTEBUFFER, filename, NULL)) pcb_crosshair_set_mode(PCB_MODE_PASTE_BUFFER); break;