Re: [gtk-list] gtk+970925 with solaris x11r6



Jens-Ulrik Holger Petersen <petersen@kurims.kyoto-u.ac.jp> writes:

> Eg when I run "gtk/testgtk" and press on "text" and then press "close" 
> on the window "test" of "text", I get a core dump:

 You should note that this is written to test gtk, hence the name, and
is not written to be a production program and as such at times things
are just hacked together, the GTK_* macro's aren't used and error
values aren't checked. Saying that I haven't had it coredump.

> Also in "testgtk" (nice program!), "pixmap" gives some warning
> messages:
>   ** WARNING **: file ../../gtk/gtkpixmap.c: line 81 (gtk_pixmap_new): "val != NULL"
> 
>   ** WARNING **: file ../../gtk/gtkbox.c: line 377 (gtk_box_add): "widget != NULL"
> 
>   ** WARNING **: file ../../gtk/gtkwidget.c: line 937 (gtk_widget_show): "widget != NULL"
> 

 This is because there isn't a file test.xpm in the local dir, and the
return value from gtk_pixmap_create_from_xpm isn't checked (as it
isn't production). This isn't a fault of gtk.

> Closing "color selection" outputs
> 
>   ** WARNING **: XShmAttach failed!

 This also isn't a problem gtk tries to use shared memory if it can,
this message will only appear once per every time you start it. Use
the --no-xshm argument to testgtk or your programs to stop this
message appearing at all.

-- 
/* James Antill ** http://www.and.org/ */ main(){int h[3][3]=
{{44680,57949,51424},{60552,41941,18576},{44782,57757,12000}};
int i=-1,j;while(i++<2){j^=j;while(j<3){int k=16;while(--k>=0)
putchar(h[i][j]&(1<<k)?'x':' ');++j;}putchar('\n');}exit(0);}



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