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

version» Context lines:

pike.git/src/post_modules/GTK2/source/gtkrecentchooserdialog.pre:16:    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),