mirror of
https://github.com/irssi/irssi.git
synced 2024-11-03 04:27:19 -05:00
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
This commit is contained in:
parent
2ae679be08
commit
21865aa8de
@ -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)
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user