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

version» Context lines:

pike.git/src/post_modules/GTK2/source/gtkrecentchooserdialog.pre:1:   /* -*- C -*- */   require gtk210;   class GTK2.RecentChooserDialog; + //!   inherit GTK2.Dialog;   inherit GTK2.RecentChooser;      void create(mapping(string:mixed)|string title, GTK2.Window|int|void parent,    array(mapping(string:int)) buttons,    GTK2.RecentManager|void manager)   //! Creates a new RecentChooserDialog. Analogous to   //! GTK2.Dialog->create().   {    pgtk2_verify_not_inited();
pike.git/src/post_modules/GTK2/source/gtkrecentchooserdialog.pre:15:    if (args) {    if (TYPEOF(Pike_sp[-args]) == PIKE_T_MAPPING) {    INIT_WITH_PROPS(GTK_TYPE_RECENT_CHOOSER_DIALOG);    } else {    struct pike_string *title;    struct object *o1,*o2=NULL;    struct array *a;    GtkWidget *gr;    int i;    -  get_all_args("create",args,"%t%O%A.%O",&title,&o1,&a,&o2); +  get_all_args(NULL,args,"%t%O%A.%O",&title,&o1,&a,&o2);    if (a==NULL)    Pike_error("Invalid number of buttons");    ref_push_string(title);    f_string_to_utf8(1);    if (o2)    gr=gtk_recent_chooser_dialog_new_for_manager(CGSTR0(Pike_sp[-1].u.string),    GTK_WINDOW(get_gobject(o1)),    GTK_RECENT_MANAGER(get_gobject(o2)),NULL,NULL);    else    gr=gtk_recent_chooser_dialog_new(CGSTR0(Pike_sp[-1].u.string),