Branch: Tag:

2006-01-14

2006-01-14 01:11:30 by Martin Nilsson <mani@lysator.liu.se>

Use low_.._lookup(m,pike_string*) instead of simple_..._lookup(m,char*)

Rev: src/post_modules/GTK2/source/gdkpixbuf.pre:1.11
Rev: src/post_modules/GTK2/source/gtkactiongroup.pre:1.4
Rev: src/post_modules/GTK2/source/gtkcolorselection.pre:1.6
Rev: src/post_modules/GTK2/source/gtkfilechooserdialog.pre:1.9
Rev: src/post_modules/GTK2/source/gtksourcebuffer.pre:1.4
Rev: src/post_modules/GTK2/source/gtksourcelanguage.pre:1.5
Rev: src/post_modules/GTK2/source/gtksourcetag.pre:1.4

160:    if ((ITEM(a)+i)->type!=PIKE_T_MAPPING)    continue;    m=(ITEM(a)+i)->u.mapping; -  sv=simple_mapping_string_lookup(m,"text"); +  sv=low_mapping_string_lookup(m,_STR("text"));    if (sv==NULL)    continue;    text=(char *)STR0(sv->u.string); -  sv=simple_mapping_string_lookup(m,"id"); +  sv=low_mapping_string_lookup(m,_STR("id"));    response_id=PGTK_GETINT(sv);    gtk_dialog_add_button(GTK_DIALOG(THIS->obj),text,response_id);    }