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

version» Context lines:

pike.git/src/post_modules/GTK2/source/gtkfilechooserwidget.pre:11:   void create(int|mapping(string:mixed) action_or_props)   //! Create a new file chooser widget.   //! action is one of CONST(GTK_FILE_CHOOSER_ACTION)   {    pgtk2_verify_not_inited();    pgtk2_verify_setup();    {    if (TYPEOF(Pike_sp[-args]) == PIKE_T_INT) {    INT_TYPE action;    GtkWidget *gf; -  get_all_args("create",args,"%i",&action); +  get_all_args(NULL,args,"%i",&action);    gf=gtk_file_chooser_widget_new(action);    THIS->obj=G_OBJECT(gf);    } else {    INIT_WITH_PROPS(GTK_TYPE_FILE_CHOOSER_WIDGET);    }    pgtk2_pop_n_elems(args);    }    pgtk2__init_this_object();   }      endrequire;