# HG changeset patch # User Pavel Jank # Date 1012155518 0 # Node ID 0dd2c7d849f59c991f0553681ad6e195b8f23e07 # Parent 144c91651228c716136ac9c21f1acdd837d31ff7 (xaw_update_scrollbar, xaw_scrollbar_scroll) (xaw_scrollbar_jump): Put whole functions in #if 0. diff -r 144c91651228 -r 0dd2c7d849f5 lwlib/lwlib-Xaw.c --- a/lwlib/lwlib-Xaw.c Sun Jan 27 18:14:55 2002 +0000 +++ b/lwlib/lwlib-Xaw.c Sun Jan 27 18:18:38 2002 +0000 @@ -53,13 +53,13 @@ XtIsSubclass (widget, dialogWidgetClass)); } +#if 0 static void xaw_update_scrollbar (instance, widget, val) widget_instance *instance; Widget widget; widget_value *val; { -#if 0 if (val->scrollbar_data) { scrollbar_values *data = val->scrollbar_data; @@ -115,8 +115,8 @@ if (new_shown != widget_shown || new_topOfThumb != widget_topOfThumb) XawScrollbarSetThumb (widget, new_topOfThumb, new_shown); } +} #endif -} void xaw_update_one_widget (instance, widget, val, deep_p) @@ -540,13 +540,13 @@ /* Scrollbars */ +#if 0 static void xaw_scrollbar_scroll (widget, closure, call_data) Widget widget; XtPointer closure; XtPointer call_data; { -#if 0 widget_instance *instance = (widget_instance *) closure; LWLIB_ID id; scroll_event event_data; @@ -565,16 +565,16 @@ if (instance->info->pre_activate_cb) instance->info->pre_activate_cb (widget, id, (XtPointer) &event_data); +} #endif -} +#if 0 static void xaw_scrollbar_jump (widget, closure, call_data) Widget widget; XtPointer closure; XtPointer call_data; { -#if 0 widget_instance *instance = (widget_instance *) closure; LWLIB_ID id; scroll_event event_data; @@ -596,8 +596,8 @@ if (instance->info->pre_activate_cb) instance->info->pre_activate_cb (widget, id, (XtPointer) &event_data); +} #endif -} static Widget xaw_create_scrollbar (instance)