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

version» Context lines:

pike.git/src/post_modules/GTK2/source/gtkcheckbutton.pre:14:   //! int indicator-spacing      void create(string|mapping|void label_or_props, ?int mnemonic)   //! 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 (Pike_sp[-args].type==PIKE_T_STRING) { +  if (TYPEOF(Pike_sp[-args]) == PIKE_T_STRING) {    struct pike_string *t;    GtkWidget *gcb;    INT_TYPE nem=0;       get_all_args("create",args,"%T.%i",&t,&nem);    if (t) {    ref_push_string(t);    f_string_to_utf8(1);    if (nem)    gcb=gtk_check_button_new_with_mnemonic(CGSTR0(Pike_sp[-1].u.string));