RE: drawing with glade



 If you created them using Glade (The fucntion handler GUI Interface part), it
will automatically name the callback function based on your widget name (From
the function name, it seems that you used glade.). It seems that you created
the handler twice.

 You will have to manually edit callbacks.c and callbacks.h and remove the
duplicate.

 If that happens again. go to your glade GUI, click on the drawingarea1 widget
and take a look at the handler. Make sure you remove that unwated ones from
there too.

 Hope this helps.


--- martyn 2 russell bt com wrote:
But unfortunatelly, when I try to compile this errors appear: 

callbacks.c:594: conflicting types for `on_drawingarea1_motion_event'
callbacks.h:138: previous declaration of 
`on_drawingarea1_motion_event'
 
Does anyone have any idea or tip to solve this problem ????

it sounds like you have it declared twice, e.g.

int a()

/* code */
int a()
{
}

.
.
.
.

void a()
{
}

Regards,
Martyn
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list


__________________________________________________
Do you Yahoo!?
Yahoo! Web Hosting - establish your business online
http://webhosting.yahoo.com



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]