Re: Generic Menu - HELP!!
- From: Murray Cumming <murrayc murrayc com>
- To: ArbolOne <arbolone gmail com>
- Cc: GTKmm List <gtkmm-list gnome org>
- Subject: Re: Generic Menu - HELP!!
- Date: Sat, 27 Feb 2010 12:36:02 +0100
On Fri, 2010-02-26 at 12:47 -0500, ArbolOne wrote:
> n an attempt to circumvent this problem I have written this method
> const Glib::RefPtr<Gtk::AccelGroup>& Menu::getAccelGroup(){
> return this->RefUIManager->get_accel_group();
> }
> but this gives me a segmentation fault.
Check pointers or smart pointers for null before dereferencing them. And
in general, use a debugger or valgrind to find these problems.
--
murrayc murrayc com
www.murrayc.com
www.openismus.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]