The attached program causes the problem.

According to gdb, an additional item, "Help Chat..." is added to the Help
menu. As this item was not explicitely requested by the user, its attached
data are probably not in Python's internal format, which causes a core dump
in a Py_INCREF on it.

Don't know how to solve that, however...

Fr�d�ric

-- 
Fr�d�ric Gobry    SMARTDATA       
      ---         http://www.smartdata.ch
Software Engineer Lausanne - Switzerland
                  +41 21 693 84 98
                                  
from gnome.ui import *
import gtk

w = GnomeApp ('Pybliographic', 'Pybliographic')
w.connect ('delete_event', gtk.mainquit)

def about (* arg):
    print arg
    return

help_menu = [
    UIINFO_MENU_ABOUT_ITEM (about),
    ]

menus = [
    UIINFO_SUBTREE ("_Help", help_menu)
    ]

# fill the main app
w.create_menus   (menus)

w.show_all ()

gtk.mainloop ()

PGP signature

Reply via email to