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

version» Context lines:

pike.git/src/post_modules/GTK2/source/gnomeapp.pre:132:      Gnome2.Dialog warning( string warning );   //! A not-so-important error, but still marked better than a flash   */      %{   static void replyfunc(int reply, struct signal_data *d)   {    push_int(reply);    push_svalue(&d->args); -  apply_svalue(&d->cb,2); +  safe_apply_svalue(&d->cb, 2, 1);    pop_stack();    xfree(d);   }      static void sreplyfunc(char *reply, struct signal_data *d)   {    PGTK_PUSH_GCHAR(reply);    push_svalue(&d->args); -  apply_svalue(&d->cb,2); +  safe_apply_svalue(&d->cb, 2, 1);    pop_stack();    xfree(d);    g_free( reply ); /* should we? */   }      static gdouble progressfunc(struct signal_data *d)   {    gdouble res;    push_svalue(&d->args); -  apply_svalue(&d->cb,1); +  safe_apply_svalue(&d->cb, 1, 1);    res=(gdouble)Pike_sp[-1].u.float_number;    pop_stack();    return res;   }      static void progresscancelfunc( struct signal_data *d )   {    xfree(d);   }   %}