[Thunar-dev] Double declarations with use of G_DEFINE_TYPE

Benedikt Meurer benedikt.meurer at unix-ag.uni-siegen.de
Mon Jun 6 09:44:18 CEST 2005


Jeff Franks schrieb:
> Benny,
> 
> I noticed that you declare init and class_init functions, and a 
> parent_class variable in class_init, when you use G_DEFINE_TYPE. This 
> define declares these functions and variable for you.

I know, that's intentional. I prefer to explicitly declare all static 
functions, to make it easier to read the code later.

> Jeff.

greets,
Benedikt



More information about the Thunar-dev mailing list