summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Huddleston Sequoia <jeremyhu@apple.com>2021-03-17 22:18:33 -0700
committerJeremy Huddleston Sequoia <jeremyhu@apple.com>2021-03-17 22:18:33 -0700
commit3201c8d0dc1a9fc839280ce6c7bc4d604a75d022 (patch)
treea0cd569f5da0376dcf43e262aad6979d409cec66
parent99e043d46363a19c07a1e42e5132bb879817b0e6 (diff)
XtoqImageRep: Remove imageUnfilteredTypesHEADmaster
It is dead code and doesn't compile cleanly due to nullability errors. Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
-rw-r--r--src/xtoq/XtoqImageRep.h6
-rw-r--r--src/xtoq/XtoqImageRep.m6
2 files changed, 0 insertions, 12 deletions
diff --git a/src/xtoq/XtoqImageRep.h b/src/xtoq/XtoqImageRep.h
index 7e2ad3f..6adbd31 100644
--- a/src/xtoq/XtoqImageRep.h
+++ b/src/xtoq/XtoqImageRep.h
@@ -46,12 +46,6 @@
- (float)imageY;
/**
- * Return an NSArray of supported file types, currently nil
- * @return An array of supported image file types.
- */
-- (NSArray *)imageUnfilteredTypes;
-
-/**
* Return Yes if the xcb_image_t it is passed is not null, else No.
* @param imageData The image from the Xserver that you want drawn
* @return No if image from the xserver is null else Yes
diff --git a/src/xtoq/XtoqImageRep.m b/src/xtoq/XtoqImageRep.m
index bad8ce9..249a976 100644
--- a/src/xtoq/XtoqImageRep.m
+++ b/src/xtoq/XtoqImageRep.m
@@ -31,12 +31,6 @@
@implementation XtoqImageRep
-- (NSArray *)imageUnfilteredTypes
-{
- imageTypes = [[NSArray alloc] initWithObjects:nil];
- return imageTypes;
-}
-
- (BOOL)canInitWithData:(xcb_image_t *)imageData
{
if (imageData == NULL) {