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

version» Context lines:

pike.git/src/post_modules/GTK2/source/gtktogglebutton.pre:24:   //! Otherwise, use ->add(widget) to create the contents of the button.   {    pgtk2_verify_not_inited();    pgtk2_verify_setup();    if (args) {    struct pike_string *t;    GtkWidget *gt;    INT_TYPE nem=0;       if (TYPEOF(Pike_sp[-1]) == PIKE_T_STRING) { -  get_all_args("create",args,"%T.%i",&t,&nem); +  get_all_args(NULL,args,"%T.%i",&t,&nem);    if (t) {    ref_push_string(t);    f_string_to_utf8(1);    if (nem)    gt=gtk_toggle_button_new_with_mnemonic(CGSTR0(Pike_sp[-1].u.string));    else    gt=gtk_toggle_button_new_with_label(CGSTR0(Pike_sp[-1].u.string));    pop_stack();    } else    gt=gtk_toggle_button_new();