Branch: Tag:

2008-01-19

2008-01-19 17:01:23 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Added missing initializer.

Rev: src/post_modules/GTK2/source/gtkfilechooserdialog.pre:1.11
Rev: src/post_modules/GTK2/source/gtkrecentchooserdialog.pre:1.7

39:    if (a) {    for (i=0; i<a->size; i++) {    struct pike_string *text; -  int response_id; +  int response_id = 0;    struct svalue *sv;    struct mapping *m;   
52:    ref_push_string(sv->u.string);    f_string_to_utf8(1);    sv=low_mapping_string_lookup(m,_STR("id")); +  if (sv)    response_id=PGTK_GETINT(sv);    gtk_dialog_add_button(GTK_DIALOG(THIS->obj),CGSTR0(Pike_sp[-1].u.string),response_id);    pop_stack();