On Fri, May 31, 2002 at 05:03:01PM +0800, James Henstridge wrote:
> Could you check to see if you have old gtk 1.2 headers lying around? If
> you had gtk+ <= 1.2.8 on your system, and didn't remove it before
> installing 1.2.9 or 1.2.10, then you may have a /usr/include/gtk
> directory that is getting used instead of the 2.0 headers. You could
> also try upgrading pkg-config, which makes sure it never adds "-I
> /usr/include" to CFLAGS.
Yeah, that was the problem... It now builds fine, but I have a little
problem with the pygtk-demo application. When I enter the 'List Store' demo
and try to click on any of the check buttons on the left, I get :
Traceback (most recent call last):
File "./demos/list_store.py", line 50, in fixed_toggled
iter = model.get_iter (int (path))
TypeError: GtkTreeModel.get_iter() argument 1 must be tuple, not int
In the Drag and Drop demo, I get this :
motion, source Button
Traceback (most recent call last):
File "./demos/dnd.py", line 54, in target_drag_motion
context.drag_status(context.suggested_action, time)
TypeError: time must be an int
A part from these warnings, everything seems to work fine now. I really
wonder why I did not find that out when doing a 'g++ -E ....' of the problem
to see which include file did introduce problems. Must not have been very
awake when I did it.
Thanks anyway (and time to build the new versions that were released one day
after I decided to compile everything :-) ).
Lionel
--
Lionel Ulmer - http://www.bbrox.org/
_______________________________________________
pygtk mailing list [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/