diff 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
line wrap: on
line diff
--- a/lwlib/lwlib-Xlw.c	Mon Aug 13 11:33:40 2007 +0200
+++ b/lwlib/lwlib-Xlw.c	Mon Aug 13 11:35:02 2007 +0200
@@ -536,9 +536,6 @@
 		       widget_value* val, Boolean deep_p)
 {
   WidgetClass class = XtClass (widget);
-  /* Update up global arg values. */
-  if (val->args && val->args->nargs)
-    XtSetValues (widget, val->args->args, val->args->nargs);
 
   if (0)
     ;
@@ -567,6 +564,9 @@
       xlw_update_tab_control (instance, widget, val);
     }
 #endif
+  /* Lastly update our global arg values. */
+  if (val->args && val->args->nargs)
+    XtSetValues (widget, val->args->args, val->args->nargs);
 }
 
 void