Hi to all, i don't understand how i can to handle mouse press event? i try this: in the main : g_signal_connect (player, "handle-mouse", G_CALLBACK (pressMouse), NULL); my function is pressMouse: gboolean pressMouse(SwfdecPlayer *player,gdouble x, gdouble y, gint button, gpointer user_data ) { if (button) { swfdec_player_mouse_move(player , x, y); swfdec_player_mouse_press (player, x, y, button); } else if(button==-1) { swfdec_player_mouse_move(player , x, y); swfdec_player_mouse_release (player, x , y, button); } return FALSE; } my program failed with error : Segmentation fault (core dumped) what's wrong here