diff options
Diffstat (limited to 'src/perl/common/Window.xs')
-rw-r--r-- | src/perl/common/Window.xs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/perl/common/Window.xs b/src/perl/common/Window.xs index 5f082d74..027289cc 100644 --- a/src/perl/common/Window.xs +++ b/src/perl/common/Window.xs @@ -4,11 +4,9 @@ void windows() PREINIT: GSList *tmp; - HV *stash; PPCODE: - stash = gv_stashpv("Irssi::Window", 0); for (tmp = windows; tmp != NULL; tmp = tmp->next) { - push_bless(tmp->data, stash); + XPUSHs(sv_2mortal(plain_bless(tmp->data, "Irssi::Window"))); } |