Re: Creating new widgets with gtk2.0



Mikael Hermansson <mikeh bahnhof se> writes: 
> Use g_param_* instead of gtkarg
> Use g_signal_new* instead of gtk_signal_new*

Yes, do that.
 
> shouldn't the g_param_* be used here instead of the old
> gtk_object_add_arg_type?
> 

g_param_* etc. didn't exist when I wrote all the text widget code; and
g_signal_new() just appeared a couple days ago. I wanted to get it to
run without segfaulting before launching into the port to native
GObject, which has just now become possible for objects with signals.

Havoc





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