callback's user_data and Glade



Hi,

In Glade <1.0 I was using numbers in field "Object" in data. Putting
there GINT_TO_POINTER(num) was an easy way to handle events from many
buttons, menus etc.

In interface.c made by Glade 1.1.3 an "object" is put into G_OBJECT
macro, so my program crashes.

Why this field couldn't be left unchecked? Is there easy way to handle
event from many widgets in one function?

bajcik
-- 
.----- Krzysztof Garus ----- http://kolos.math.uni.lodz.pl/~bajcik/ --.
| Projekcik: http://kolos.math.uni.lodz.pl/~bajcik/duskc.html         |



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