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

version» Context lines:

pike.git/src/post_modules/GTK2/source/gtkfilechooserbutton.pre:11:      void create(string|mapping(string:mixed) title_or_props, ?int action)   //! Create a new file-selecting button widget.   //! action is one of CONST(GTK_FILE_CHOOSER_ACTION_)   {    pgtk_verify_not_inited();    pgtk_verify_setup();    {    if (Pike_sp[-args].type==PIKE_T_STRING) {    char *title; -  int action; +  INT_TYPE action;    GtkWidget *gf;    get_all_args("create",args,"%s%i",&title,&action);    gf=gtk_file_chooser_button_new(title,action);    THIS->obj=G_OBJECT(gf);    } else {    INIT_WITH_PROPS(GTK_TYPE_FILE_CHOOSER_BUTTON);    }    my_pop_n_elems(args);    }    pgtk__init_this_object();