*_type_register_static() and g_intern_static_string()
- From: Damon Chaplin <damon karuna eclipse co uk>
- To: Gtk+ Developers <gtk-devel-list gnome org>
- Subject: *_type_register_static() and g_intern_static_string()
- Date: Fri, 27 Apr 2007 10:56:59 +0100
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" "GtkIconSource"
"GtkWidget" "GtkIconViewAccessible" "GtkIconViewAccessibleFactory"
"GtkAssistantAccessible" "GtkAssistantAccessibleFactory"
Damon
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]