Changed build system to Automake. Split Glk code off into a GTK widget.
[rodin/chimara.git] / src / first.c
index a80314941e8f8370e24ae9d9ee5ab95cc97a4cac..3f6beccffea3bbe755d076b4407f2883820b3eee 100644 (file)
@@ -62,17 +62,10 @@ static void verb_unscript(void);
 static void verb_save(void);
 static void verb_restore(void);
 
-void handler(void)
-{
-       fprintf(stderr, "I'm the interrupt handler!\n");
-}
-
 /* The glk_main() function is called by the Glk system; it's the main entry
     point for your program. */
 void glk_main(void)
-{
-       glk_set_interrupt_handler(&handler);
-       
+{      
     /* Open the main window. */
     mainwin = glk_window_open(0, 0, 0, wintype_TextBuffer, 1);
     if (!mainwin) {