changeset 42999:0dd2c7d849f5

(xaw_update_scrollbar, xaw_scrollbar_scroll) (xaw_scrollbar_jump): Put whole functions in #if 0.
author Pavel Janík <Pavel@Janik.cz>
date Sun, 27 Jan 2002 18:18:38 +0000
parents 144c91651228
children c16f32068114
files lwlib/lwlib-Xaw.c
diffstat 1 files changed, 6 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- 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)