I'm using python 2.1, gtk+ 1.3.4 (and friends) and the April 8th pygtk
snapshot. When executing the following script:
import gtk
win = gtk.GtkWindow(gtk.WINDOW_TOPLEVEL)
box = gtk.GtkVBox()
win.add(box)
txt = gtk.GtkTextView()
box.add(txt)
b = gtk.GtkButton(label="Quit")
box.add(b)
b.connect("clicked", gtk.mainquit)
win.connect("destroy", gtk.mainquit)
win.show_all()
gtk.mainloop()
I get the following assertion errors:
GRuntime-CRITICAL **: file gparamspecs.c: line 1465 (g_param_spec_enum): assertion
`g_enum_get_value (enum_class, default_value) != NULL' failed
GRuntime-CRITICAL **: file gobject.c: line 297 (g_object_class_install_property):
assertion `G_IS_PARAM_SPEC (pspec)' failed
GRuntime-CRITICAL **: file gparamspecs.c: line 1465 (g_param_spec_enum): assertion
`g_enum_get_value (enum_class, default_value) != NULL' failed
GRuntime-CRITICAL **: file gobject.c: line 297 (g_object_class_install_property):
assertion `G_IS_PARAM_SPEC (pspec)' failed
I'm no glib/gtk whiz, but something tells me I shouldn't be getting
them... ;-) I also saw these errors with 1.3.3.
Is this a known problem, a new problem, or something wrong with my simple
Python script?
Thx,
--
Skip Montanaro ([EMAIL PROTECTED])
(847)971-7098
_______________________________________________
pygtk mailing list [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk