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

version» Context lines:

pike.git/src/post_modules/GTK2/source/gtkradiomenuitem.pre:23:   {    pgtk2_verify_not_inited();    pgtk2_verify_setup();    if (args) {    GtkWidget *gr;    if (TYPEOF(Pike_sp[-args]) == PIKE_T_STRING) {    GSList *mylist = NULL;    char *label=NULL;    struct object *o1=NULL;    -  get_all_args("create",args,"%s.%o",&label,&o1); +  get_all_args(NULL,args,"%s.%o",&label,&o1);       if (o1) {   #ifdef HAVE_GTK24    if (label) {    gr=gtk_radio_menu_item_new_with_label_from_widget(    GTK_RADIO_MENU_ITEM(get_gobject(o1)),label);    } else {    gr=gtk_radio_menu_item_new_from_widget(    GTK_RADIO_MENU_ITEM(get_gobject(o1)));    }
pike.git/src/post_modules/GTK2/source/gtkradiomenuitem.pre:66:   }      void set_group(GTK2.RadioMenuItem groupmember)   //! The argument is another radio menu item 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.   {    struct object *o;    GSList *mylist; -  get_all_args("set_group",args,"%o",&o); +  get_all_args(NULL,args,"%o",&o);    mylist=gtk_radio_menu_item_get_group(GTK_RADIO_MENU_ITEM(get_gobject(o)));    gtk_radio_menu_item_set_group(GTK_RADIO_MENU_ITEM(THIS->obj),mylist);    RETURN_THIS();   }      array(GTK2.RadioMenuItem) get_group()   //! Returns the group to which the radio menu item belongs.   {    pgtk2_verify_inited();    pgtk2_pop_n_elems(args);