[SOLVED] Re: C/GTK - Packing GtkImage inside GtkEventBox loses reference
- From: Marcus Reis <marcus lanhelp com br>
- To: gtk-app-devel-list gnome org
- Subject: [SOLVED] Re: C/GTK - Packing GtkImage inside GtkEventBox loses reference
- Date: Sat, 19 Nov 2005 16:43:41 -0200
static void movimento_do_jogador(GtkWidget *widget, GtkWidget *image)
This is a wrong prototype for a "button-press-event"
callback, see
http://developer.gnome.org/doc/API/2.0/gtk/GtkWidget.html#GtkWidget-button-press-event
The callback gets the event as its second argument (which
you try to use it as a widget).
BIG Thanks.
_______________________________________________________
Yahoo! Acesso Grátis: Internet rápida e grátis.
Instale o discador agora!
http://br.acesso.yahoo.com/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]