0
0
mirror of https://github.com/vim/vim.git synced 2025-09-29 04:34:16 -04:00

Remove unused code.

This commit is contained in:
Bram Moolenaar
2010-08-08 16:38:42 +02:00
parent 83687a7215
commit 09092155a6
31 changed files with 15 additions and 714 deletions

View File

@@ -1335,18 +1335,11 @@ gui_mch_add_menu_item(menu, idx)
else
wid = 4;
#if 0
/* We better use a FormWidget here, since it's far more
* flexible in terms of size. */
type = xmFormWidgetClass;
XtSetArg(args[n], XmNwidth, wid); n++;
#else
type = xmSeparatorWidgetClass;
XtSetArg(args[n], XmNwidth, wid); n++;
XtSetArg(args[n], XmNminWidth, wid); n++;
XtSetArg(args[n], XmNorientation, XmVERTICAL); n++;
XtSetArg(args[n], XmNseparatorType, XmSHADOW_ETCHED_IN); n++;
#endif
}
else
{
@@ -2947,17 +2940,6 @@ gui_mch_compute_footer_height()
return (int) height + top + bottom + (shadow << 1);
}
#if 0 /* not used */
void
gui_mch_set_footer_pos(h)
int h; /* textArea height */
{
XtVaSetValues(footer,
XmNtopOffset, h + 7,
NULL);
}
#endif
void
gui_mch_enable_footer(showit)
int showit;