You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
- /* Synched up with: Tabs.c 1.27.
+ /* Synched up with: Tabs.c 1.27.
#### This file contains essential XEmacs related fixes to the original
verison of the Tabs widget. Be VERY careful about syncing if you ever
tab =
(TabsConstraints) (*childP)->core.
constraints;
+ SXE_SET_UNUSED(tab);
bw = (*childP)->core.border_width;
/* Don't do anything if we can't see any of the child. */
if (ch >= bw * 2 && ch > 0 && cw >= bw * 2
int n = snprintf(line, sizeof(line),
"XawTabsSetTop: widget \"%.64s\" is not the child of a tabs widget.",
XtName(w));
- assert(n >= 0 && n < sizeof(line));
+ assert(n >= 0 && (size_t)n < sizeof(line));
XtAppWarning(XtWidgetToApplicationContext(w), line);
return;
}