Gnome panel problem



All,

Everytime I try to launch panel properies, the panel crashes on me with the
following errors:

** ERROR **: sigsegv caught
 
Gdk-WARNING **: GdkWindow 0x1c00020 unexpectedly destroyed
 
Gdk-WARNING **: GdkWindow 0x1c0000b unexpectedly destroyed
 
Gdk-WARNING **: GdkWindow 0x1800008 unexpectedly destroyed
 
[1] +  Done(1)                 panel&


I didn't have any problems compiling gnome-core except for this error while
compiling in the gnome-core-0.30/capplets/screensaver-properties directory:

callbacks.c: In function `insert_text_callback':
callbacks.c:91: warning: subscript has type `char'
callbacks.c: In function `sig_child':
callbacks.c:159: storage size of `status' isn't known
callbacks.c:159: warning: unused variable `status'
make: *** [callbacks.o] Error 1
 
Here is the c code that is causing the error:
 
callbacks.c:

sig_child(int sig)
{
        int pid;
        union wait status;
        while ( (pid = wait3(&status, WNOHANG, (struct rusage *) 0)) > 0)
                ;
}

I just changed "union wait status" to "int status" and it compiled okay.
Other than that everything else seemed to compile okay, including GTK.

Any ideas?

Thanks

Jon Hayden



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]