[pygtk] Segfault with get_ancestor()

2002-09-20 Thread Graham Ashton
Hi. I was wondering if anybody could confirm that I'm using the correct technique to get a widget's parent container (and not necessarily it's direct container). My attempt (using get_ancestor()) segfaults if the widget isn't in a container of the correct type. See below. Admittedly, I'm

Re: [pygtk] Segfault with get_ancestor()

2002-09-20 Thread James Henstridge
Graham Ashton wrote: Hi. I was wondering if anybody could confirm that I'm using the correct technique to get a widget's parent container (and not necessarily it's direct container). My attempt (using get_ancestor()) segfaults if the widget isn't in a container of the correct type. See below.