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

version» Context lines:

pike.git/src/post_modules/GTK2/source/gtkspinbutton.pre:61:   //! The climb_rate argument take a value between 0.0 and 1.0 and   //! indicates the amount of acceleration that the Spin Button has. The   //! digits argument specifies the number of decimal places to which   //! the value will be displayed.   {    pgtk2_verify_not_inited();    pgtk2_verify_setup();    if (TYPEOF(Pike_sp[-args]) == PIKE_T_FLOAT) {    FLOAT_TYPE min,max,step;    GtkWidget *gs; -  get_all_args("create",args,"%f%f%f",&min,&max,&step); +  get_all_args(NULL,args,"%f%f%f",&min,&max,&step);    gs=gtk_spin_button_new_with_range(min,max,step);    THIS->obj=G_OBJECT(gs);    } else if (TYPEOF(Pike_sp[-args]) == PIKE_T_OBJECT) {    struct object *o1;    FLOAT_TYPE climb;    INT_TYPE prec;    GtkWidget *gs; -  get_all_args("create",args,"%o%f%i",&o1,&climb,&prec); +  get_all_args(NULL,args,"%o%f%i",&o1,&climb,&prec);    gs=gtk_spin_button_new(GTK_ADJUSTMENT(get_gobject(o1)),climb,prec);    THIS->obj=G_OBJECT(gs);    } else {    INIT_WITH_PROPS(GTK_TYPE_SPIN_BUTTON);    }    pgtk2_pop_n_elems(args);    pgtk2__init_this_object();   }      void configure(GTK2.Adjustment range, float climb_rate, int precision);