Fixed some undeclared selectors flagged by clang.

GNUstep-gui now builds correctly with clang!



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28459 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
David Chisnall 2009-08-15 21:04:08 +00:00
parent 7ae46b1f5c
commit f36a988c07
2 changed files with 7 additions and 3 deletions

View file

@ -481,7 +481,7 @@ static inline void
DPScurrentcmykcolor(GSCTXT *ctxt, float* c, float* m, float* y, float* k)
{
(ctxt->methods->DPScurrentcmykcolor____)
(ctxt, @selector(DPScurrentcmykcolor: : : : :), c, m, y, k);
(ctxt, @selector(DPScurrentcmykcolor: : : :), c, m, y, k);
}
static inline void
@ -1125,7 +1125,7 @@ static inline void
GSCurrentDevice(GSCTXT *ctxt, void** device, int* x, int* y)
{
(ctxt->methods->GSCurrentDevice___)
(ctxt, @selector(GSCurrentGCDevice: : :), device, x, y);
(ctxt, @selector(GSCurrentDevice: : :), device, x, y);
}
static inline void
@ -1139,7 +1139,7 @@ static inline void
GSSetDevice(GSCTXT *ctxt, void* device, int x, int y)
{
(ctxt->methods->GSSetDevice___)
(ctxt, @selector(GSSetGCDevice: : :), device, x, y);
(ctxt, @selector(GSSetDevice: : :), device, x, y);
}
static inline void

View file

@ -3,6 +3,10 @@
static GSSpeechServer *server;
static int clients;
@interface GSSpeechSynthesizer (Private)
+ (void)connectionDied: (NSNotification*)aNotification;
@end
@implementation GSSpeechSynthesizer
+ (void)initialize
{