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

version» Context lines:

pike.git/src/post_modules/GTK2/source/gtkexpander.pre:22:   //! Create a new GTK2.Expander. Set mnemonic to 1   //! for a mnemonic expander, otherwise omitting it   //! creates a regular expander.   {    pgtk2_verify_not_inited();    pgtk2_verify_setup();    {    if (TYPEOF(Pike_sp[-args]) == PIKE_T_STRING) {    struct pike_string *label;    GtkWidget *ge; -  get_all_args("create",args,"%t",&label); +  get_all_args(NULL,args,"%t",&label);    ref_push_string(label);    f_string_to_utf8(1);    ge=gtk_expander_new_with_mnemonic(CGSTR0(Pike_sp[-1].u.string));    pop_stack();    THIS->obj=G_OBJECT(ge);    } else {    INIT_WITH_PROPS(GTK_TYPE_EXPANDER);    }    pgtk2_pop_n_elems(args);    }