*_type_register_static() and g_intern_static_string()

2007-04-27 Thread Damon Chaplin
Why do the *_type_register_static() functions use g_intern_static_string() for the type name? Should apps be using g_intern_static_string() as well? If so, the docs should mention it. There is some inconsistency as well. Some calls don't seem to use it: GtkPaperSize GtkTextIter GtkRecentInfo

Re: *_type_register_static() and g_intern_static_string()

2007-04-27 Thread Matthias Clasen
On 4/27/07, Damon Chaplin [EMAIL PROTECTED] wrote: Why do the *_type_register_static() functions use g_intern_static_string() for the type name? Should apps be using g_intern_static_string() as well? If so, the docs should mention it. It is just a small optimization. Apps are free to use