[SOLVED] Re: C/GTK - Packing GtkImage inside GtkEventBox loses reference



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]