Ticket #18946: patch-src-main.c.diff
File patch-src-main.c.diff, 763 bytes (added by pierreetienne.meunier@…, 16 years ago) |
---|
-
main.c
old new 18 18 #include<X11/Xaw/Label.h> 19 19 #include<X11/Shell.h> 20 20 #include<X11/xpm.h> 21 #include <stdlib.h> 21 22 22 23 #include"xjump.h" 23 24 #include"record.h" … … 390 391 { 391 392 Pixmap icon,mask; 392 393 393 icon = XCreateBitmapFromData( Disp,DefaultRootWindow(Disp), icon_bits,394 icon = XCreateBitmapFromData( Disp,DefaultRootWindow(Disp),(char*)icon_bits, 394 395 icon_width,icon_height ); 395 396 396 mask = XCreateBitmapFromData( Disp,DefaultRootWindow(Disp), icon_msk_bits,397 mask = XCreateBitmapFromData( Disp,DefaultRootWindow(Disp),(char*)icon_msk_bits, 397 398 icon_msk_width,icon_msk_height ); 398 399 399 400 XtVaSetValues( Top,XtNiconPixmap,icon,XtNiconMask,mask,NULL );