From d0577e001f78913a6bc31aaf93ef33c05d8fcd36 Mon Sep 17 00:00:00 2001 From: Wolfgang Sourdeau Date: Wed, 1 Sep 2010 20:53:50 +0000 Subject: [PATCH] Monotone-Parent: efb4cad1d07472e5ed5121c7bb6c6545f37d2f0e Monotone-Revision: e36d8d24bc74c3d965cac3d3370bd3d5681f3ffc Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2010-09-01T20:53:50 Monotone-Branch: ca.inverse.sogo --- ChangeLog | 2 ++ Tests/Unit/SOGoTest.m | 5 +++++ 2 files changed, 7 insertions(+) diff --git a/ChangeLog b/ChangeLog index 8a7aa578c..2ae09f965 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2010-09-01 Wolfgang Sourdeau + * Tests/Unit/SOGoTest.m (-run): fixed build on GNUstep >= 1.20. + * UI/MailerUI/UIxMailView.m (-sendMDNAction): new action for sending an MDN from the confirmation dialog. diff --git a/Tests/Unit/SOGoTest.m b/Tests/Unit/SOGoTest.m index 3574ac1b1..1d548543e 100644 --- a/Tests/Unit/SOGoTest.m +++ b/Tests/Unit/SOGoTest.m @@ -164,7 +164,12 @@ static NSString *SOGoTestAssertException = @"SOGoTestAssertException"; int count, max; SEL testMethod; +#if ((GNUSTEP_BASE_MAJOR_VERSION > 1) \ + || ((GNUSTEP_BASE_MAJOR_VERSION == 1) && (GNUSTEP_BASE_MINOR_VERSION >= 20))) methods = GSObjCMethodNames (self, NO); +#else + methods = GSObjCMethodNames (self); +#endif max = [methods count]; for (count = 0; count < max; count++) {