Re: GObject instantiation hopelessly overcomplicated??

On Sun, 2004-07-18 at 14:10 +0200, Sven Neumann wrote:

> You almost never use base_init() and your tutorial would better tell
> people to use class_init() which is what almost all of the code out
> there is doing (disclaimer: I didn't read your tutorial). I haven't
> yet seen any code that uses base_init() so I can't tell you what it's
> good for.

GStreamer plugins use it to set things which only need to be set once
for each class, like the pad templates and element details.


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