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

version» Context lines:

pike.git/src/post_modules/GTK2/source/gtkassistant.pre:15:   //! <p>   //! int content-padding   //! int header-padding      signal apply;   signal cancel;   signal close;   signal prepare;      %{ - int pgtk2_assistant_callback(gint cur_page, struct signal_data *d) { -  int res; + gint pgtk2_assistant_callback(gint cur_page, struct signal_data *d) { +  gint res;    push_svalue(&d->args);    apply_svalue(&d->cb,2); -  res=Pike_sp[-1].u.integer; +  res=(gint)Pike_sp[-1].u.integer;    pop_stack();    return res;   }      %}      //! A GTK2.Assistant is a widget used to represent a generally complex   //! operation splitted in several steps, guiding the user through its pages   //! and controlling the page flow to collect the necessary data.   
pike.git/src/post_modules/GTK2/source/gtkassistant.pre:132:   {    struct svalue *sv1,*sv2;    struct signal_data *sd;       get_all_args("set_forward_page_func",args,"%*%*",&sv1,&sv2);    sd=(struct signal_data *)g_malloc(sizeof(struct signal_data));    if (sd==NULL)    SIMPLE_OUT_OF_MEMORY_ERROR("set_forward_page_func",sizeof(struct signal_data));    assign_svalue_no_free(&sd->cb,sv1);    assign_svalue_no_free(&sd->args,sv2); -  gtk_assistant_set_forward_page_func(GTK_ASSISTANT(THIS->obj),pgtk2_assistant_callback,sd,(GtkDestroyNotify)pgtk2_free_signal_data); +  gtk_assistant_set_forward_page_func(GTK_ASSISTANT(THIS->obj),(GtkAssistantPageFunc)pgtk2_assistant_callback,sd,(GtkDestroyNotify)pgtk2_free_signal_data);    RETURN_THIS();   }         endrequire;