[pygtk] error: initializer element is not constant

varun_shrivastava shrivastavavarun at yahoo.co.in
Thu Jun 28 17:53:02 WST 2007


hi

i have inherited an object from GtkVBox, but while compilation it displays
error
as

demobox.c:495: error: initializer element is not constant
demobox.c:495: error: (near initialization for
`_PyDemoBox_methods[0].ml_meth')
......

demobox.c:628: error: syntax error at end of input
demobox.c:611: warning: unused variable `demobox_functions'


In .override file i have included line 

import gobject.GObject as PyGObject_Type
import gtk.VBox as PyGtkVBox_Type

can any one point at what the problem is

-- 
View this message in context: http://www.nabble.com/error%3A-initializer-element-is-not-constant-tf3993452.html#a11340163
Sent from the Gtk+ - Python mailing list archive at Nabble.com.



More information about the pygtk mailing list