Interrupts?



Hello, all.

For example, I have a window widget:

sub blablabla {
    $win_one->show();
}

sub button_close {
    $win_one->hide();
}

...and all working ok. BUT! If user closes window *NOT* by
my "Close" button (sub button_close), but by [x] button (via
windowmanager), then calling once again the sub "blablabla"
black window appears with error:

Mon Feb  5 13:46:42 2001 Gtk-LOG **: file gtkstyle.c: line 522
(gtk_style_attach): assertion `style != NULL' failed. at ./gobackup2.pl
line 2249.
Mon Feb  5 13:46:42 2001 Gtk-LOG **: file gtkstyle.c: line 1128
(gtk_style_set_background): assertion `style != NULL' failed. at
./gobackup2.pl line 2249.
Mon Feb  5 13:46:42 2001 Gtk-LOG **: file gtkstyle.c: line 3532
(gtk_paint_flat_box): assertion `style != NULL' failed. at
./gobackup2.pl line 2249.

...and my application HANGZ. :o( What I must to do? Same problem, if
user wants tu quit application
by WM [x] button, not by my "Close" -- application still working. How to
fix it?

--
Bogdan




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]