g_object_{new,set,get} vs. class-specific function

Ka-Hing Cheung khc at hxbc.us
Sun May 20 16:49:24 EDT 2007

On Sun, 2007-05-20 at 12:04 -0500, Mark Doliner wrote:
> My biggest argument against using g_object_new() is that you lose a lot of
> compile-time checking.  What happens if you accidentally pass in "justlfy"
> instead of "justify" when creating a label?

That shouldn't be a problem if we define constants for Purple object


More information about the Devel mailing list