mirror of
https://github.com/gnustep/libs-back.git
synced 2025-04-22 15:31:14 +00:00
Silence warnings
This commit is contained in:
parent
8e6a546d05
commit
354f323344
3 changed files with 15 additions and 2 deletions
|
@ -31,6 +31,9 @@
|
|||
#include "headlesslib/HeadlessFontEnumerator.h"
|
||||
#include "headlesslib/HeadlessFontInfo.h"
|
||||
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wobjc-method-access"
|
||||
|
||||
@implementation HeadlessFontEnumerator
|
||||
|
||||
+ (Class) faceInfoClass
|
||||
|
@ -48,3 +51,5 @@
|
|||
}
|
||||
|
||||
@end
|
||||
|
||||
#pragma GCC diagnostic pop
|
||||
|
|
|
@ -55,11 +55,16 @@
|
|||
[self subclassResponsibility:_cmd];
|
||||
}
|
||||
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wmismatched-return-types"
|
||||
|
||||
- (cairo_surface_t *) surface
|
||||
{
|
||||
return _surface;
|
||||
}
|
||||
|
||||
#pragma GCC diagnostic pop
|
||||
|
||||
- (void) handleExposeRect: (NSRect)rect
|
||||
{
|
||||
}
|
||||
|
|
|
@ -89,12 +89,12 @@ void __objc_xgcontextwindow_linking (void)
|
|||
|
||||
/*
|
||||
* The next two functions derived from WindowMaker by Alfredo K. Kojima
|
||||
*/
|
||||
static unsigned char*PropGetCheckProperty(Display *dpy, Window window, Atom hint, Atom type,
|
||||
int format, int count, int *retCount)
|
||||
{
|
||||
return NULL;
|
||||
}
|
||||
*/
|
||||
|
||||
/*
|
||||
* Setting Motif Hints for Window Managers (Nicola Pero, July 2000)
|
||||
|
@ -411,7 +411,10 @@ Bool _get_next_prop_new_event(Display *display, XEvent *event, char *arg)
|
|||
{
|
||||
}
|
||||
|
||||
- (NSInteger) window: (NSRect)frame : (NSBackingStoreType)type : (unsigned int)style : (int)screen
|
||||
- (NSInteger) window: (NSRect)frame
|
||||
: (NSBackingStoreType)type
|
||||
: (unsigned int)style
|
||||
: (int)screen
|
||||
{
|
||||
gswindow_device_t *window;
|
||||
|
||||
|
|
Loading…
Reference in a new issue