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

version» Context lines:

pike.git/src/post_modules/GTK2/source/gtkradiobutton.pre:29:    pgtk2_verify_setup();    if (args) {    if (TYPEOF(Pike_sp[-args]) == PIKE_T_STRING) {    GtkWidget *gr;    struct pike_string *t;    struct object *o1=NULL;   /* GSList *mylist=NULL; */    GtkRadioButton *gb=NULL;    INT_TYPE nem=0;    -  get_all_args("create",args,"%T.%o%i",&t,&o1,&nem); +  get_all_args(NULL,args,"%T.%o%i",&t,&o1,&nem);   /*    if (o1)    mylist=gtk_radio_button_group(GTK_RADIO_BUTTON(get_gobject(o1)));   */    if (o1)    gb=GTK_RADIO_BUTTON(get_gobject(o1));    if (t) {    ref_push_string(t);    f_string_to_utf8(1);   /*
pike.git/src/post_modules/GTK2/source/gtkradiobutton.pre:87:   void set_group(GTK2.RadioButton groupmember)   //! the argument is another radio button to whose group this button   //! should be added to. It is prefereable to use the second argument to   //! the constructor instead, but if you for some reason want to move   //! the button to another group, use this function.   {    pgtk2_verify_inited();    {    struct object *o=NULL;    GSList *mylist; -  get_all_args("set_group", args, "%o", &o ); +  get_all_args(NULL, args, "%o", &o );       mylist=gtk_radio_button_get_group(GTK_RADIO_BUTTON(get_gobject(o)));    gtk_radio_button_set_group(GTK_RADIO_BUTTON(THIS->obj),mylist);    }    RETURN_THIS();   }      array(GTK2.RadioButton) get_group()   //! Returns an array of members in this group.   {