summaryrefslogtreecommitdiff
path: root/tikzit/src/gtk/InputDelegate.h
diff options
context:
space:
mode:
Diffstat (limited to 'tikzit/src/gtk/InputDelegate.h')
-rw-r--r--tikzit/src/gtk/InputDelegate.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/tikzit/src/gtk/InputDelegate.h b/tikzit/src/gtk/InputDelegate.h
index 1e35223..9f9b426 100644
--- a/tikzit/src/gtk/InputDelegate.h
+++ b/tikzit/src/gtk/InputDelegate.h
@@ -38,7 +38,8 @@ typedef enum {
ScrollRight = 4,
} ScrollDirection;
-@interface NSObject (InputDelegate)
+@protocol InputDelegate <NSObject>
+@optional
/**
* A mouse button was pressed.
*/