Branch: Tag:

2007-10-14

2007-10-14 23:14:04 by Lance Dillon <riffraff169@yahoo.com>

Bug fixes

Rev: src/post_modules/GTK2/source/constants.pre:1.8
Rev: src/post_modules/GTK2/source/gtkrecentchooserdialog.pre:1.5

23:    int i;       get_all_args("create",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); +  GTK_RECENT_MANAGER(get_gobject(o2)),NULL,NULL);    else    gr=gtk_recent_chooser_dialog_new(CGSTR0(Pike_sp[-1].u.string), -  GTK_WINDOW(get_gobject(o1)),NULL); +  GTK_WINDOW(get_gobject(o1)),NULL,NULL);    pop_stack();    THIS->obj=G_OBJECT(gr);    if (a) {
47:    sv=low_mapping_string_lookup(m,_STR("text"));    if (sv==NULL)    continue; -  ref_push_string(CGSTR0(sv->u.string)); +  ref_push_string(STR0(sv->u.string));    f_string_to_utf8(1);    sv=low_mapping_string_lookup(m,_STR("id"));    response_id=PGTK_GETINT(sv);