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

version» Context lines:

pike.git/src/post_modules/GTK2/source/gtkfilechooserbutton.pre:17:   //! Create a new file-selecting button widget.   //! action is one of CONST(GTK_FILE_CHOOSER_ACTION_)   {    pgtk2_verify_not_inited();    pgtk2_verify_setup();    {    if (TYPEOF(Pike_sp[-args]) == PIKE_T_STRING) {    struct pike_string *title;    INT_TYPE action;    GtkWidget *gf; -  get_all_args("create",args,"%t%i",&title,&action); +  get_all_args(NULL,args,"%t%i",&title,&action);    ref_push_string(title);    f_string_to_utf8(1);    gf=gtk_file_chooser_button_new(CGSTR0(Pike_sp[-1].u.string),action);    pop_stack();    THIS->obj=G_OBJECT(gf);    } else {    INIT_WITH_PROPS(GTK_TYPE_FILE_CHOOSER_BUTTON);    }    pgtk2_pop_n_elems(args);    }