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

version» Context lines:

pike.git/src/post_modules/GTK2/source/gtkassistant.pre:126:   //! One situation where it can be necessary to call this function is when   //! changing a value on the current page affects the future page flow of the   //! assistant.      void set_forward_page_func(function f, mixed data)   //! Set the forward page function.   {    struct svalue *sv1,*sv2;    struct signal_data *sd;    -  get_all_args("set_forward_page_func",args,"%*%*",&sv1,&sv2); +  get_all_args(NULL,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),(GtkAssistantPageFunc)pgtk2_assistant_callback,sd,(GtkDestroyNotify)pgtk2_free_signal_data);    RETURN_THIS();   }         endrequire;