summaryrefslogtreecommitdiff
path: root/src/Paned.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/Paned.c')
-rw-r--r--src/Paned.c29
1 files changed, 0 insertions, 29 deletions
diff --git a/src/Paned.c b/src/Paned.c
index 107355d..7aa1feb 100644
--- a/src/Paned.c
+++ b/src/Paned.c
@@ -1840,13 +1840,7 @@ Cardinal *num_args;
*/
void
-#if NeedFunctionPrototypes
XawPanedSetMinMax(Widget widget, int min, int max)
-#else
-XawPanedSetMinMax(widget, min, max)
-Widget widget;
-int min, max;
-#endif
{
Pane pane = PaneInfo(widget);
@@ -1863,13 +1857,7 @@ int min, max;
*/
void
-#if NeedFunctionPrototypes
XawPanedGetMinMax(Widget widget, int *min, int *max)
-#else
-XawPanedGetMinMax(widget, min, max)
-Widget widget;
-int *min, *max;
-#endif
{
Pane pane = PaneInfo(widget);
@@ -1886,18 +1874,12 @@ int *min, *max;
*/
void
-#if NeedFunctionPrototypes
XawPanedSetRefigureMode(Widget w,
#if NeedWidePrototypes
int mode)
#else
Boolean mode)
#endif
-#else
-XawPanedSetRefigureMode(w, mode)
-Widget w;
-Boolean mode;
-#endif
{
((PanedWidget) w)->paned.refiguremode = mode;
RefigureLocationsAndCommit( w );
@@ -1910,12 +1892,7 @@ Boolean mode;
*/
int
-#if NeedFunctionPrototypes
XawPanedGetNumSub(Widget w)
-#else
-XawPanedGetNumSub(w)
-Widget w;
-#endif
{
return ((PanedWidget)w)->paned.num_panes;
}
@@ -1928,18 +1905,12 @@ Widget w;
*/
void
-#if NeedFunctionPrototypes
XawPanedAllowResize(Widget widget,
#if NeedWidePrototypes
int allow_resize)
#else
Boolean allow_resize)
#endif
-#else
-XawPanedAllowResize(widget, allow_resize)
-Widget widget;
-Boolean allow_resize;
-#endif
{
PaneInfo(widget)->allow_resize = allow_resize;
}