Re: [gtk-list] Re: Gtk programming style/advice
- From: Tomi Ollila <Tomi Ollila tfi net>
- To: Tomi Ollila tfi net
- Cc: gtk-list redhat com
- Subject: Re: [gtk-list] Re: Gtk programming style/advice
- Date: Mon, 11 Oct 1999 12:35:44 +0300 (EET DST)
Monday Oct 11 12:26:50 +0300 1999 Tomi Ollila <Tomi.Ollila@tfi.net> wrote:
> Monday Oct 11 10:15:26 +0000 1999 Andy Connor <amc50@eng.cam.ac.uk> wrote:
> >
> > int main(int argc, char *argv[]){
> > AllWidgets *everything;
> >
> > gtk_init(&argc,&argv);
> >
> > CreateMainWindow(everything);
> > CreateTable(everything);
> > gtk_main();
> >
> > return 0;
> > }
>
> Where is the space for the structure everything points allocated !!! ?
I mean, add line
everything = g_new0(AllWidgets, 1); at the beginning of the code.
>
> Tomi
Sorry for wasting bandwidth w/ my previous mail.
Tomi
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]