Hi -- There is a struct called OutputType in PCB. It seems to define the structure for a global variable called Output, which is used all over the place. Often, I see this kind of construct in a function:
void foo(bar) { OutputType *out . . . . out = &Output; out->window = gtk_widget_new(); baz(out->fromble); . . . . I have searched through the code to see where Output is created or defined, but without any luck. It appears to be a global which is built by many functions which add pieces to it, like above. The problem is, I don't see where Output is originally defined, newed, or malloced. I belive this has something to do with the many warnings I get when running gpcb (gtkpcb?) on my Fedora 2 & Fedora 3 boxes. I also see occasional strange pointers when running gdb on gpcb, as if I am accessing unmalloced memory. However, valgrind doesn't complain at all, so I am mystified. Any pointers on the definition and use of the variable Output would be appreciated! Stuart