Re: [Gtk-osx-users] Segmentation fault accessing widget props
- From: Richard Procter <richard n procter gmail com>
- To: GTK+-2 OSX Users <gtk-osx-users lists sourceforge net>
- Subject: Re: [Gtk-osx-users] Segmentation fault accessing widget props
- Date: Wed, 01 Dec 2010 14:25:23 +1300
On 1/12/2010, at 2:14 PM, Richard Procter wrote:
> Hi everyone,
>
> I've been looking into why my app segfaults with the latest GTK/PyGTK binaries and have whittled it down to this minimal fragment:
>
> import gtk
> w = gtk.Window()
> w.props.visible
>
> This isn't limited to the gtk.Window's visible property: accessing the label property of a gtk.MenuItem breaks just as well.
> Replacing the last line with w.get_property('visible') eliminates the fault.
>
> I've reproduced this over a couple of builds on different machines but it seems so basic that I'd appreciate it if someone could confirm it for me.
Note that I also observe it with otherwise unchanged libraries under python 2.6.1 10.6/intel.
regards,
Richard.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]