summaryrefslogtreecommitdiff
path: root/tikzit/src/gtk/Surface.h
diff options
context:
space:
mode:
Diffstat (limited to 'tikzit/src/gtk/Surface.h')
-rw-r--r--tikzit/src/gtk/Surface.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/tikzit/src/gtk/Surface.h b/tikzit/src/gtk/Surface.h
index 449721f..b6d8d2e 100644
--- a/tikzit/src/gtk/Surface.h
+++ b/tikzit/src/gtk/Surface.h
@@ -33,7 +33,7 @@ typedef enum {
@protocol Surface;
-@protocol RenderDelegate
+@protocol RenderDelegate <NSObject>
- (void) renderWithContext:(id<RenderContext>)context onSurface:(id<Surface>)surface;
@end
@@ -47,7 +47,7 @@ typedef enum {
* The surface should send a "SurfaceSizeChanged" notification
* when the width or height changes.
*/
-@protocol Surface
+@protocol Surface <NSObject>
/**
* The width of the surface, in surface units