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

version» Context lines:

pike.git/src/post_modules/GTK2/source/gtkfilechooserdialog.pre:47:    get_all_args("create",args,"%s%i%i%a",&s1,&xx,&mm,&a);    else    get_all_args("create",args,"%s%O%i%a",&s1,&o,&mm,&a);    gpa=g_ptr_array_new();    if (Pike_sp[4-1-args].type!=PIKE_T_ARRAY)    Pike_error("Wrong type of argument 4.\n");    a=Pike_sp[4-1-args].u.array;    if (a->size>5)    Pike_error("Too many buttons.\n");    for (i=0; i<a->size; i++) { -  fprintf(stderr,"i==%d\n",i); +     struct array *b;    gchar *s2;    INT_TYPE *m1;    if ((ITEM(a)+i)->type!=PIKE_T_ARRAY)    continue;    b=(ITEM(a)+i)->u.array;    if (ITEM(b)->type!=PIKE_T_STRING || (ITEM(b)+1)->type!=PIKE_T_INT)    continue;    s2=PGTK_GETSTR(ITEM(b));    g_ptr_array_add(gpa,s2);