Destroying a view
- From: ERDI Gergo <cactus cactus rulez org>
- To: gnome-components-list gnome org
- Subject: Destroying a view
- Date: Thu, 20 Apr 2000 20:06:45 +0200 (CEST)
How am I supposed to destroy a Bonobo view?
Here's what I'm currently doing (as you can see in bonobo-hello):
BonoboViewFrame *view = the_view_I_want_to_delete ();
gtk_container_remove (GTK_CONTAINER (component->views_hbox),
bonobo_view_frame_get_wrapper (view));
bonobo_object_unref (BONOBO_OBJECT (view));
However, this sometimes crashes, and always leaves an ugly empty rectangle
on the screen where the view was.
--
.--= ULLA! =----------------------------. finger cactus@cactus.rulez.org
\ http://cactus.rulez.org \ for PGP public key
`----------= cactus@cactus.rulez.org =--'
Vacsora nem elérhetô. (M)egszakít, (Ú)jrapróbálkozik, (P)izza
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]