[Glade-users] segfault on gnome_app_set_contents
- From: damon karuna uklinux net (Damon Chaplin)
- Subject: [Glade-users] segfault on gnome_app_set_contents
- Date: 14 May 2003 20:33:10 +0100
On Tue, 2003-05-13 at 14:32, Xavier Bestel wrote:
Hello,
I don't understand why I have a segfault.
My .glade file (attached) has 3 main windows:
- a GnomeApp without content
- a dummy window containing a widget hierarchy in a GtkVBox "vbox1"
- a dummy window containing a simple GtkLabel "dummylabel"
I instantiate the GnomeApp, and if I do:
gnome_app_set_contents(GNOME_APP(appwindow),
glade_xml_get_widget(glade_xml_new("xav.glade", "dummylabel", NULL),
"dummylabel"));
everything works. But if I replace "dummylabel" with "vbox1", I get a
segfault (pasted at the end of the mail).
I don't understand why the GtkVBox causes a segfault. Is there something
special to do to the hierarchy ?
You should remove vbox1 from its original position first, before adding
it to the GnomeApp. I'd guess that is causing the problem.
Damon
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]