X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;f=lwlib%2Fxlwradio.c;h=cfb0e5497dfded433588a9cd65f3fc4889b72b94;hb=35a46b890bfd96a72831943c7c715886343ea727;hp=a6430b9fcf31f4b390865e4349a7416690044d44;hpb=59eec5f21669e81977b5b1fe9bf717cab49cf7fb;p=chise%2Fxemacs-chise.git.1 diff --git a/lwlib/xlwradio.c b/lwlib/xlwradio.c index a6430b9..cfb0e54 100644 --- a/lwlib/xlwradio.c +++ b/lwlib/xlwradio.c @@ -305,13 +305,6 @@ RadioExpose (Widget w, * but it bears thinking on. */ - /* Command widget may sometimes override the label GC in order - * to draw inverse video. We don't use inverse video, so we need - * to restore the label's normal GC. - */ - rw->label.normal_GC = rw->command.normal_GC ; - - /* Let label widget draw the label. If there was an lbm_x * field, we could let Label draw the bitmap too. But there * isn't, so we need to temporarily remove the bitmap and @@ -328,10 +321,10 @@ RadioExpose (Widget w, { /* TODO: handle pixmaps */ XCopyPlane(dpy, left_bitmap, win, gc, - 0,0, rw->label.lbm_width, rw->label.lbm_height, - (int) rw->label.internal_width*2 + bs(rw), - (int) rw->label.internal_height + rw->label.lbm_y, - (u_long) 1L) ; + 0,0, rw->label.lbm_width, rw->label.lbm_height, + (int) rw->label.internal_width*2 + bs(rw), + (int) rw->label.internal_height + rw->label.lbm_y, + 1UL) ; } /* Finally, the button itself */