Re: segfualt when creating mainwindow (GTK2)
- From: Harring Figueiredo <harringf yahoo com>
- To: Thijs Assies <thijs_a gmx net>, GTK -app-devel <gtk-app-devel-list gnome org>
- Subject: Re: segfualt when creating mainwindow (GTK2)
- Date: Fri, 8 Nov 2002 14:08:13 -0800 (PST)
--- Thijs Assies <thijs_a gmx net> wrote:
Hi, im porting my program to GTK2, and when i start it, it chrashes. gdb
tells me it is in this line:
mainwindow = gtk_window_new(GTK_WINDOW_TOPLEVEL);
whith mainwindow:
GtkWidget *mainwindow;
i dont know what could be wrong. When it compiled it sais:
got_topics.c: In function `main':
got_topics.c:69: warning: passing arg 2 of `CORBA_ORB_init' from
incompatible pointer type
rule 69 is:
o = CORBA_ORB_init(0, "hottopic", NULL,&ev);
whith o and ev:
CORBA_ORB o;
CORBA_Environment ev;
does anyone have an idea?
thx
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
This is not a GTK problem -- It is a ORBit initialisation problem
o = CORBA_ORB_init(0, "orbit-local-orb", NULL,&ev);
Try initializing it with:
orb = CORBA_ORB_init (&argc, argv, "orbit-local-orb", &ev);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
__________________________________________________
Do you Yahoo!?
U2 on LAUNCH - Exclusive greatest hits videos
http://launch.yahoo.com/u2
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]