Reference counting advice needed



Hi,

I need some advice on reference counting. Is it right that when your using objects which derive from GObject, unlike GtkObject, its safe to use the object returned from gtk_x_new without calling gtk_x_ref. Only calling gtk_x_unref when your finished, e.g. GtkStyle.

Thanks,

Jeff.






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