# HG changeset patch # User bsmith@81767d24-ef19-dc11-ae90-00e081727c95 # Date 1321174061 0 # Node ID 44f8a846f3c16ceb40a53b00de512b8a473f2f49 # Parent 5e2ec37d16803f9cadc465444547e8d773ebcfa2 A couple minor code cleanups on Mac. diff -r 5e2ec37d1680 -r 44f8a846f3c1 mac/dw.m --- a/mac/dw.m Sun Nov 13 08:16:36 2011 +0000 +++ b/mac/dw.m Sun Nov 13 08:47:41 2011 +0000 @@ -6274,6 +6274,8 @@ [cont selectRowIndexes:selected byExtendingSelection:YES]; [selected release]; [cont scrollRowToVisible:x]; + DW_MUTEX_UNLOCK; + return; } } DW_MUTEX_UNLOCK; @@ -6301,6 +6303,7 @@ if((textcomp && thistext && strcmp(thistext, text) == 0) || (!textcomp && thistext == text)) { [cont removeRow:x]; + DW_MUTEX_UNLOCK; return; } } @@ -6318,10 +6321,6 @@ DW_MUTEX_LOCK; DWContainer *cont = handle; [cont optimize]; -#if 0 - /* All resizable columns should expand */ - [cont setColumnAutoresizingStyle:NSTableViewUniformColumnAutoresizingStyle]; -#endif DW_MUTEX_UNLOCK; }