glade2 / libglade broken ?
- From: Sebastien Delestaing <sebastien delestaing wanadoo fr>
- To: gnome-devel list <gnome-devel-list gnome org>
- Cc: gnome-2-snapshots <gnome-2-snapshots ximian com>
- Subject: glade2 / libglade broken ?
- Date: 04 Aug 2002 22:46:39 +0200
Hi,
I have a problem with glade-2/libglade:
- create a new gnome project in glade
- add a gnome app window
- save the project "test.glade"
- then I do the following:
int main(int argc, char *argv[])
{
int i, j;
GladeXML *xml;
gtk_init(&argc, &argv);
glade_init();
xml = glade_xml_new("glade//test.glade", NULL, NULL);
}
and it just segfaults after a couple of warnings:
(gweled_main:2308): GLib-GObject-WARNING **: invalid cast from (NULL)
pointer to `GObject'
(gweled_main:2308): GLib-GObject-CRITICAL **: file gobject.c: line 972
(g_object_get): assertion `G_IS_OBJECT (object)' failed
(gweled_main:2308): GLib-GObject-WARNING **: invalid cast from (NULL)
pointer to `GObject'
(gweled_main:2308): GLib-GObject-CRITICAL **: file gobject.c: line 972
(g_object_get): assertion `G_IS_OBJECT (object)' failed
Segmentation fault
what puzzles me is that it was working before today RC snapshots. I'm
still not sure that it's a glade bug though. Maybe I'm using it the
wrong way. Any ideas ?
Thank you for any help.
Seb
--
Sebastien Delestaing <sebastien delestaing wanadoo fr>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]