pike.git / src / post_modules / GTK2 / source / gtkadjustment.pre

version» Context lines:

pike.git/src/post_modules/GTK2/source/gtkadjustment.pre:51:   //! All values are optional, they default to 0.0.   //! For most widgets the unit is pixels.   {    pgtk_verify_not_inited();    pgtk_verify_setup();    if (args) {    GtkObject *ga;    if (Pike_sp[-args].type==PIKE_T_FLOAT) {    FLOAT_TYPE val,lower,upper,step_inc,page_inc,page_size;    val=lower=upper=step_inc=page_inc=page_size=0.0; - /* -  if (args==6) -  get_all_args("create",args,"%f%f%f%f%f%f",&val,&lower,&upper, -  &step_inc,&page_inc,&page_size); -  else if (args==5) -  get_all_args("create",args,"%f%f%f%f%f",&val,&lower,&upper, -  &step_inc,&page_inc); -  else if (args==4) -  get_all_args("create",args,"%f%f%f%f",&val,&lower,&upper,&step_inc); -  else if (args==3) -  get_all_args("create",args,"%f%f%f",&val,&lower,&upper); -  else if (args==2) -  get_all_args("create",args,"%f%f",&val,&lower); -  else -  get_all_args("create",args,"%f",&val); - */ +     get_all_args("create",args,"%f.%f%f%f%f%f",&val,&lower,&upper,    &step_inc,&page_inc,&page_size);    ga=gtk_adjustment_new(val,lower,upper,step_inc,page_inc,page_size);    THIS->obj=G_OBJECT(ga);    } else {    INIT_WITH_PROPS(GTK_TYPE_ADJUSTMENT);    }    my_pop_n_elems(args);    } else {    GtkObject *ga;