Jesdisciple
April 10th, 2009, 01:05 AM
I recently began adapting my CLI program to GTK and finally narrowed my compile-time bugs to these:
interface.c: In function ‘start’:
interface.c:367: error: ‘delete_event’ undeclared (first use in this function)
interface.c:367: error: (Each undeclared identifier is reported only once
interface.c:367: error: for each function it appears in.)
interface.c:372: error: ‘destroy’ undeclared (first use in this function)interface.c does import <gtk/gtk.h>; what else might I be missing? Are these handlers obsolete, by any chance?
EDIT: I'm sorry, this was a stupid question. I'm supposed to define the callbacks... I thought they were predefined.
Thanks!
interface.c: In function ‘start’:
interface.c:367: error: ‘delete_event’ undeclared (first use in this function)
interface.c:367: error: (Each undeclared identifier is reported only once
interface.c:367: error: for each function it appears in.)
interface.c:372: error: ‘destroy’ undeclared (first use in this function)interface.c does import <gtk/gtk.h>; what else might I be missing? Are these handlers obsolete, by any chance?
EDIT: I'm sorry, this was a stupid question. I'm supposed to define the callbacks... I thought they were predefined.
Thanks!