comparison lwlib/lwlib-Xlw.c @ 402:5a2589c672dc r21-2-31

Import from CVS: tag r21-2-31
author cvs
date Mon, 13 Aug 2007 11:14:58 +0200
parents 74fd4e045ea6
children 697ef44129c6
comparison
equal deleted inserted replaced
401:e0a2a2be14bf 402:5a2589c672dc
534 void 534 void
535 xlw_update_one_widget (widget_instance* instance, Widget widget, 535 xlw_update_one_widget (widget_instance* instance, Widget widget,
536 widget_value* val, Boolean deep_p) 536 widget_value* val, Boolean deep_p)
537 { 537 {
538 WidgetClass class = XtClass (widget); 538 WidgetClass class = XtClass (widget);
539 /* Update up global arg values. */
540 if (val->args && val->args->nargs)
541 XtSetValues (widget, val->args->args, val->args->nargs);
542 539
543 if (0) 540 if (0)
544 ; 541 ;
545 #ifdef LWLIB_MENUBARS_LUCID 542 #ifdef LWLIB_MENUBARS_LUCID
546 else if (class == xlwMenuWidgetClass) 543 else if (class == xlwMenuWidgetClass)
565 else if (class == tabsWidgetClass) 562 else if (class == tabsWidgetClass)
566 { 563 {
567 xlw_update_tab_control (instance, widget, val); 564 xlw_update_tab_control (instance, widget, val);
568 } 565 }
569 #endif 566 #endif
567 /* Lastly update our global arg values. */
568 if (val->args && val->args->nargs)
569 XtSetValues (widget, val->args->args, val->args->nargs);
570 } 570 }
571 571
572 void 572 void
573 xlw_update_one_value (widget_instance* instance, Widget widget, 573 xlw_update_one_value (widget_instance* instance, Widget widget,
574 widget_value* val) 574 widget_value* val)