Mercurial > hg > xemacs-beta
comparison src/menubar-x.c @ 4528:726060ee587c g++-warning-removal-2008-10-28
First draft of g++ 4.3 warning removal patch. Builds. *Needs ChangeLogs.*
author | Stephen J. Turnbull <stephen@xemacs.org> |
---|---|
date | Wed, 29 Oct 2008 04:06:33 +0900 |
parents | fc7067b7f407 |
children | 19a72041c5ed |
comparison
equal
deleted
inserted
replaced
4524:03ba50f7ecd7 | 4528:726060ee587c |
---|---|
688 shellx = shelly = 0; | 688 shellx = shelly = 0; |
689 #ifndef HAVE_WMCOMMAND | 689 #ifndef HAVE_WMCOMMAND |
690 { | 690 { |
691 Widget shell = XtParent (daddy); | 691 Widget shell = XtParent (daddy); |
692 | 692 |
693 XtSetArg (al [0], XtNx, &shellx); | 693 Xt_SET_ARG (al [0], XtNx, &shellx); |
694 XtSetArg (al [1], XtNy, &shelly); | 694 Xt_SET_ARG (al [1], XtNy, &shelly); |
695 XtGetValues (shell, al, 2); | 695 XtGetValues (shell, al, 2); |
696 } | 696 } |
697 #endif | 697 #endif |
698 XtSetArg (al [0], XtNx, &framex); | 698 Xt_SET_ARG (al [0], XtNx, &framex); |
699 XtSetArg (al [1], XtNy, &framey); | 699 Xt_SET_ARG (al [1], XtNy, &framey); |
700 XtGetValues (daddy, al, 2); | 700 XtGetValues (daddy, al, 2); |
701 btn->x_root = shellx + framex + btn->x; | 701 btn->x_root = shellx + framex + btn->x; |
702 btn->y_root = shelly + framey + btn->y; | 702 btn->y_root = shelly + framey + btn->y; |
703 btn->state = ButtonPressMask; /* all buttons pressed */ | 703 btn->state = ButtonPressMask; /* all buttons pressed */ |
704 } | 704 } |