Data Fields | |
| gchar * | key |
| MetaPreference | pref |
| GConfEnumStringPair * | symtab |
| gpointer | target |
We could have done this other ways. One particularly attractive possibility would have been to represent the entire symbol table as a space-separated string literal in the list of symtabs, so the focus mode enums could have been represented simply by "click sloppy mouse". However, the simplicity gained would have been outweighed by the bugs caused when the ordering of the enum strings got out of sync with the actual enum statement. Also, there is existing library code to use this kind of symbol tables.
Other things we might consider doing to clean this up in the future include:
Definition at line 243 of file prefs.c.
| gchar* MetaEnumPreference::key |
Definition at line 245 of file prefs.c.
Referenced by handle_preference_init_enum(), and handle_preference_update_enum().
| GConfEnumStringPair* MetaEnumPreference::symtab |
Definition at line 247 of file prefs.c.
Referenced by handle_preference_init_enum(), and handle_preference_update_enum().
| gpointer MetaEnumPreference::target |
Definition at line 248 of file prefs.c.
Referenced by handle_preference_init_enum(), and handle_preference_update_enum().
1.5.5