Re: EuGTK: check_menu_item

new topic     » goto parent     » topic index » view thread      » older message » newer message

I get many instances of the check_menu_item error and no useful line number. This is what I tracked some of it down to.

  display(classname(MenuNDA))  -- diagnosis 
  display(classname(MenuNDP))  -- diagnosis 
 
  -- remember nutrients display 
  if get(MenuNDA,"active") then 
    puts(fn,"nutrients display = 1 \n") 
  elsif get(MenuNDP,"active") then 
    puts(fn,"nutrients display = 2 \n") 
  end if 
 
  display(classname(MenuB12))  -- diagnosis 
 
  -- remember B12 
  if get(MenuB12,"active") then 
    puts(fn,"B12 =1 \n") 
  else  puts(fn,"B12 = 0 \n") 
  end if 

(dmak.exw:12780): Gtk-CRITICAL **: gtk_check_menu_item_get_active: assertion `GTK_IS_CHECK_MENU_ITEM (check_menu_item)' failed                                             
GtkRadioMenuItem                                                                                                                                                           
GtkRadioMenuItem                                                                                                                                                           
                                                                                                                                                                           
(dmak.exw:12780): Gtk-CRITICAL **: gtk_check_menu_item_get_active: assertion `GTK_IS_CHECK_MENU_ITEM (check_menu_item)' failed                                             
                                                                                                                                                                           
(dmak.exw:12780): Gtk-CRITICAL **: gtk_check_menu_item_get_active: assertion `GTK_IS_CHECK_MENU_ITEM (check_menu_item)' failed                                             
GtkCheckMenuItem  

Those things are radio menu items, as they are supposed to be. But the error message seems to think they are supposed to be check menu items.

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu