Re: Assertion failed unexpectedly

2008-02-25 Thread Markku Vire
Hi, The problem behind changing parameters is that you are attaching wrong type of singal handler to signal (i.e. the number/type of parameters don't match). I didn't actually try your code, but at least you cannot connect callback_do_test (3 parameters) to clicked signal (2 parameters). This

Re: Assertion failed unexpectedly

2008-02-25 Thread Jakov
Oh my God! I didn't realize that for a long time! This morning after such a stupid prob, I removed maemo 4.0 and installed Maemo 3.2. Not tested yet, but I think it should have the same params counts as you say. I'll tell you the result soon. Just a quick msg now to say thank you! Thanks so much,

Re: Assertion failed unexpectedly OR BUG in maemo 3.x?

2008-02-25 Thread Jakov
Yes, that's so. The number of param passing depends on detailed signal which is invoked. For instance, clicked is a signal that invokes void user_function (GtkButton *button, gpointer user_data) : Run First / Action so my func should be void callback_do_test (GtkButton *button, gpointer

Assertion failed unexpectedly

2008-02-24 Thread Jakov
Hi, I have a very simple app running on Maemo 4.0 with a textbox and a button. As I click on the button, a callback function is invoked to show the content of the textbox. I don't know why the data pointer which is passed to callback function is sometimes NULL: - if I click on the textbox (a