1
0
mirror of https://github.com/irssi/irssi.git synced 2024-12-04 14:46:39 -05:00
irssi/src/core/window-item-rec.h
Timo Sirainen 3fb7a4115d added destroy() function to WI_ITEM_REC. This fixes a potential crash when
"window item destroy" signal was being used.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1655 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-26 01:49:08 +00:00

18 lines
356 B
C

/* WI_ITEM_REC definition, used for inheritance */
int type; /* module_get_uniq_id("CHANNEL/QUERY/xxx", 0) */
int chat_type; /* chat_protocol_lookup(xx) */
GHashTable *module_data;
void *window;
STRUCT_SERVER_REC *server;
char *name;
time_t createtime;
int data_level;
char *hilight_color;
void (*destroy)(WI_ITEM_REC *item);
#undef STRUCT_SERVER_REC