Re: Crash, when disable pane2 toolbar, and then reenable it
- From: Alexander Orlov <alxorlov@xxxxxxxxx>
- To: emelfm2@xxxxxxxxxxxxx
- Date: Thu, 8 Mar 2007 19:24:39 +0300
On Fri, 9 Mar 2007 00:21:35 -0500
<tpgww@xxxxxxxxxxx> wrote:
> > I traced it in gdb, and realized, that the problem is in function
> > e2_toolbar_initialise_tearoffs() from src/e2_toolbar.c
> You can try again with the current svn code, should be ok now. Interesting
> that the same problem (connecting a callback to a non-existent widget) does
> not segfault, here.
Yes, problem with "panebar1-show=false" solved.
But, the problem, when I disable and then reenable panebar1 stays.
When I disable it rt->toolbar_container destroys by gtk_widget_destroy() in
src/e2_toolbar.c:2465. So, when I reenable it it tryes to refresh it (destroy
and recreate). But it is already destroyed. And it segfaults.
So, as a solution string "rt->toolbar_container = NULL;" should be added after
gtk_widget_destroy () in e2_toolbar.c:2465. It works for me. :)
--
Alexander Orlov
--
Users can unsubscribe from the list by sending email to
emelfm2-request@xxxxxxxxxxxxx with 'unsubscribe' in the subject field or by
logging into the web interface.
- Follow-Ups:
- References:
- Crash, when disable pane2 toolbar, and then reenable it
- From: Alexander Orlov
- Re: Crash, when disable pane2 toolbar, and then reenable it
- From: tpgww
- Re: Crash, when disable pane2 toolbar, and then reenable it
- From: Alexander Orlov
- Re: Crash, when disable pane2 toolbar, and then reenable it
- From: tpgww
Other related posts:
- » Crash, when disable pane2 toolbar, and then reenable it
- » Re: Crash, when disable pane2 toolbar, and then reenable it
- » Re: Crash, when disable pane2 toolbar, and then reenable it
- » Re: Crash, when disable pane2 toolbar, and then reenable it
- » Re: Crash, when disable pane2 toolbar, and then reenable it
- » Re: Crash, when disable pane2 toolbar, and then reenable it
- Crash, when disable pane2 toolbar, and then reenable it
- From: Alexander Orlov
- Re: Crash, when disable pane2 toolbar, and then reenable it
- From: tpgww
- Re: Crash, when disable pane2 toolbar, and then reenable it
- From: Alexander Orlov
- Re: Crash, when disable pane2 toolbar, and then reenable it
- From: tpgww