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

version» Context lines:

pike.git/src/post_modules/GTK2/source/gtkbutton.pre:49:    if (args) {    if (Pike_sp[-args].type==PIKE_T_STRING) {    struct pike_string *t;    GtkWidget *gb;    GtkStockItem item;    int i;       get_all_args("create",args,"%T",&t);    if (t) {    if (t->size_shift==0) -  t=gtk_stock_lookup(CGSTR0(t),&item); -  -  /* FIXME: i hasn't been initialized yet!!!!!!!!!!!! */ +  i=gtk_stock_lookup(CGSTR0(t),&item);    if (i)    gb=gtk_button_new_from_stock(CGSTR0(t));    else {    ref_push_string(t);    f_string_to_utf8(1);       gb=gtk_button_new_with_label(CGSTR0(Pike_sp[-1].u.string));    pop_stack();    }    } else