Hi, i have a button that is connected to a function called restartApp(GtkWidget *widget, Tabuleiro *tabuleiro) .
(Tabuleiro is a static cast of a drawing area). When the button is clicked the restartApp is called and executes the following line tabuleiro->paint(); the function paint() has the following content: void Tabuleiro::paint(){ gdk_draw_rectangle(this->window, this->style->white_gc, true, 0, 0, 100, 100); ... } when i click the button i get segmentation fault when it tries to do the gdk_draw_rectangle. It gets in Tabuleiro::paint(), but it doesn't do the gdk_draw_rectangle. Does anyone know what is the problem with this signal? i use Tabuleiro::paint on other ocasions and it works... Afonso _______________________________________________ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list