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

version» Context lines:

pike.git/src/post_modules/GTK2/source/gtkcheckmenuitem.pre:22:   //! The argument, if specified, is the label of the item.   //! If no label is specified, use object->add() to add some   //! other widget (such as an pixmap or image widget)   {    pgtk2_verify_not_inited();    pgtk2_verify_setup();    if (args) {    if (TYPEOF(Pike_sp[-args]) == PIKE_T_STRING) {    struct pike_string *label;    GtkWidget *gc; -  get_all_args("create",args,"%t",&label); +  get_all_args(NULL,args,"%t",&label);    ref_push_string(label);    f_string_to_utf8(1);    gc=gtk_check_menu_item_new_with_mnemonic(CGSTR0(Pike_sp[-1].u.string));    pop_stack();    THIS->obj=G_OBJECT(gc);    } else {    INIT_WITH_PROPS(GTK_TYPE_CHECK_MENU_ITEM);    }    pgtk2_pop_n_elems(args);    } else {