Mercurial > hg > xemacs-beta
comparison lwlib/lwlib-Xlw.c @ 442:abe6d1db359e r21-2-36
Import from CVS: tag r21-2-36
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:35:02 +0200 |
parents | 84b14dcb0985 |
children | 1ccc32a20af4 |
comparison
equal
deleted
inserted
replaced
441:72a7cfa4a488 | 442:abe6d1db359e |
---|---|
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) |