summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2019-05-31 13:21:37 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2019-05-31 13:21:37 -0700
commitc84cd5c224e20e51cee89bf12e07d7c70b75938f (patch)
tree86daac94c47462f48be878008ae86fa0cc0bbd6f
parentbda000d1619d18aeeb37e84eda090341f38e81ea (diff)
Delete unused function Name() from tkfuncs.c
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r--man.h1
-rw-r--r--tkfuncs.c17
2 files changed, 0 insertions, 18 deletions
diff --git a/man.h b/man.h
index 45e7bc1..5d85187 100644
--- a/man.h
+++ b/man.h
@@ -289,4 +289,3 @@ void MakeSearchWidget(ManpageGlobals * man_globals, Widget parent);
int Width(Widget);
int Height(Widget);
int BorderWidth(Widget);
-char *Name(Widget);
diff --git a/tkfuncs.c b/tkfuncs.c
index 4ad0877..8f183aa 100644
--- a/tkfuncs.c
+++ b/tkfuncs.c
@@ -78,20 +78,3 @@ BorderWidth(Widget w)
{
return ((int) w->core.border_width);
}
-
-/*
- * These functions have got to be able to get at the widget tree, I don't see
- * any way around this one.
- */
-
-/* Function Name: Name
- * Description: This function returns the correct popup child
- * Arguments: w - widget
- * Returns: the popup child.
- */
-
-char *
-Name(Widget w)
-{
- return (w->core.name);
-}