summaryrefslogtreecommitdiff
path: root/lwlib
diff options
context:
space:
mode:
authorPavel Janík <Pavel@Janik.cz>2002-01-27 18:18:38 +0000
committerPavel Janík <Pavel@Janik.cz>2002-01-27 18:18:38 +0000
commitabf0cb2192c8cd6f3d22ee7360b8a4ba763a09ed (patch)
tree934bdee227de93c0d06af2dc3c7d1446510149df /lwlib
parentcc351ed49713cb64759283c0513d43ec4effcdbf (diff)
downloademacs-abf0cb2192c8cd6f3d22ee7360b8a4ba763a09ed.tar.gz
(xaw_update_scrollbar, xaw_scrollbar_scroll)
(xaw_scrollbar_jump): Put whole functions in #if 0.
Diffstat (limited to 'lwlib')
-rw-r--r--lwlib/lwlib-Xaw.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/lwlib/lwlib-Xaw.c b/lwlib/lwlib-Xaw.c
index d08051376f0..b93ee0beb36 100644
--- a/lwlib/lwlib-Xaw.c
+++ b/lwlib/lwlib-Xaw.c
@@ -53,13 +53,13 @@ lw_xaw_widget_p (widget)
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 @@ xaw_update_scrollbar (instance, widget, val)
if (new_shown != widget_shown || new_topOfThumb != widget_topOfThumb)
XawScrollbarSetThumb (widget, new_topOfThumb, new_shown);
}
-#endif
}
+#endif
void
xaw_update_one_widget (instance, widget, val, deep_p)
@@ -540,13 +540,13 @@ wm_delete_window (shell, closure, call_data)
/* 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 @@ xaw_scrollbar_scroll (widget, closure, call_data)
if (instance->info->pre_activate_cb)
instance->info->pre_activate_cb (widget, id, (XtPointer) &event_data);
-#endif
}
+#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 @@ xaw_scrollbar_jump (widget, closure, call_data)
if (instance->info->pre_activate_cb)
instance->info->pre_activate_cb (widget, id, (XtPointer) &event_data);
-#endif
}
+#endif
static Widget
xaw_create_scrollbar (instance)