diff options
author | rowanbeentje <rowan@beent.je> | 2012-03-17 17:56:04 +0000 |
---|---|---|
committer | rowanbeentje <rowan@beent.je> | 2012-03-17 17:56:04 +0000 |
commit | e26e22d9d6a6641cfc0a35e8ae31c12aee8bea5b (patch) | |
tree | bb9bcc0ff8ba2e685fcb0fac775b616d9fde2baf /Source/SPDatabaseViewController.m | |
parent | ac8ebfe4bba6d7da6edad87c75b174156d919621 (diff) | |
download | sequelpro-e26e22d9d6a6641cfc0a35e8ae31c12aee8bea5b.tar.gz sequelpro-e26e22d9d6a6641cfc0a35e8ae31c12aee8bea5b.tar.bz2 sequelpro-e26e22d9d6a6641cfc0a35e8ae31c12aee8bea5b.zip |
- Remove the GPL-licensed Colloquy-sourced NSNotificationAdditions category from the project, and replace with an MIT-licensed TCMPortMapper sources NSNotificationCenterThreadingAdditions category. This should fix method clashes in the SP_REFACTOR project, so remove behavioural/namespacing switches.
Diffstat (limited to 'Source/SPDatabaseViewController.m')
-rw-r--r-- | Source/SPDatabaseViewController.m | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/Source/SPDatabaseViewController.m b/Source/SPDatabaseViewController.m index 41e95a38..7fb6b794 100644 --- a/Source/SPDatabaseViewController.m +++ b/Source/SPDatabaseViewController.m @@ -320,11 +320,7 @@ #endif // Notify listeners of the table change -#ifndef SP_REFACTOR [[NSNotificationCenter defaultCenter] postNotificationOnMainThreadWithName:SPTableChangedNotification object:self]; -#else - [[NSNotificationCenter defaultCenter] sequelProPostNotificationOnMainThreadWithName:SPTableChangedNotification object:self]; -#endif return; } @@ -467,11 +463,8 @@ if (changeEncoding) [mySQLConnection restoreStoredEncoding]; // Notify listeners of the table change now that the state is fully set up. -#ifndef SP_REFACTOR - [[NSNotificationCenter defaultCenter] postNotificationOnMainThreadWithName:SPTableChangedNotification object:self]; -#else - [[NSNotificationCenter defaultCenter] sequelProPostNotificationOnMainThreadWithName:SPTableChangedNotification object:self]; -#endif + [[NSNotificationCenter defaultCenter] postNotificationOnMainThreadWithName:SPTableChangedNotification object:self]; + #ifndef SP_REFACTOR /* [spHistoryControllerInstance restoreViewStates] */ // Restore view states as appropriate |