code cleanup:
authorCampbell Barton <ideasman42@gmail.com>
Sun, 10 Mar 2013 06:40:19 +0000 (06:40 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Sun, 10 Mar 2013 06:40:19 +0000 (06:40 +0000)
commit02ecd9f84279acab5d5fdc26c3db467164b6542d
treeb858d000d0cdbe57ac0191acb04b3ad4a77c683e
parentf9f707033665dc737f1011e82406a12fafa78326
code cleanup:

- remove unused block from before blender was opensourced (BKE_library_make_local)
  noticed by Lawrence D'Oliveiro (ldo)
- remove text_idbutton() unused function.
- test_idbutton(name) was taking (name + 2), then checking 2 bytes before the pointer, this is error prone so better just take the name including the ID prefix.
source/blender/blenkernel/BKE_library.h
source/blender/blenkernel/intern/library.c
source/blender/editors/space_outliner/outliner_draw.c
source/blender/makesrna/intern/rna_ID.c