diff options
author | Timo Sirainen <cras@irssi.org> | 2001-01-01 17:07:08 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2001-01-01 17:07:08 +0000 |
commit | 21865aa8de9237b73adfbbf85513d13fc808e9dc (patch) | |
tree | be0a0031e61cf3d2fd079915cb319923e684bcc5 | |
parent | 2ae679be088b0c726bf1c482fd22ee3231c94349 (diff) | |
download | irssi-21865aa8de9237b73adfbbf85513d13fc808e9dc.zip |
MODULE_DATA(item) -> window_item_window(item) - forgot to change these
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1042 dbcabf3a-b0e7-0310-adc4-f8d773084564
-rw-r--r-- | src/fe-common/core/fe-windows.c | 2 | ||||
-rw-r--r-- | src/fe-common/core/window-items.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/fe-common/core/fe-windows.c b/src/fe-common/core/fe-windows.c index 5e1b785e..1e754347 100644 --- a/src/fe-common/core/fe-windows.c +++ b/src/fe-common/core/fe-windows.c @@ -308,7 +308,7 @@ WINDOW_REC *window_find_item(SERVER_REC *server, const char *name) if (item == NULL) return 0; - return MODULE_DATA(item); + return window_item_window(item); } int window_refnum_prev(int refnum, int wrap) diff --git a/src/fe-common/core/window-items.c b/src/fe-common/core/window-items.c index 3d820dda..c24b111a 100644 --- a/src/fe-common/core/window-items.c +++ b/src/fe-common/core/window-items.c @@ -90,7 +90,7 @@ void window_item_change_server(WI_ITEM_REC *item, void *server) g_return_if_fail(item != NULL); - window = MODULE_DATA(item); + window = window_item_window(item); item->server = server; signal_emit("window item server changed", 2, window, item); |