One of the comments at the top of src/fe-gtk/tabs.c (Release 2.4.1) says
/* keep this code generic, don't include xchat.h! */
I was looking at the code, and wondered how would I retrieve any of the user-preferences (struct prefs) in tabs.c . From what I've found, this would involve #include of file(s) in src/common/ .
Now the query:
Would retrieval of a user preference attribute in the above way mean that the code would no longer be generic? If yes, is there any other way to achieve retrieval of a particular prefs attribute within functions of tabs.c ?
Thanks.