Propertybox Apply handler called twice??



Hi everyone,

I have used the following code to connect the apply button of a propertybox to its signal handler.
gtk_signal_connect (GTK_OBJECT (propertybox2), "apply",
                    GTK_SIGNAL_FUNC (on_propertybox2_apply),
                    NULL);

However, I have a simple print statement inside the handler, and it is evident that the handler is getting
called TWICE every time apply is pressed. (This is also the same for okay).

Can anyone help?

Why is this happening?

Thanks,
Andrew.





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]