Re: SIGSEGV one sample application



Since your main() calls Gtk::Application::create(), you should use

        class MainWindow : public Gtk::ApplicationWindow

However, even when using Gtk::Window, I can't replicate your segfault, and since I've never used the stand-alone debugger, I'm afraid I can't help you with that issue either.

On 08/13/2015 03:15 PM, Emil Nowak wrote:
Dnia 13-08-2015 (czwartek) o 14:04:53 Phil Wolff napisaƂ(a):

And one more thing :-)  I think that mainHPaned must be realized before
you call set_position (),  otherwise it will have no effect.
Ok, good to know.

MainWindow.h looks like this:
class MainWindow : public Gtk::Window {
     public:
         MainWindow();
};

I have debugging package it is called libgtkmm-3.0-dbg



--
Just remember, if we get caught, you're deaf and I don't speak English.
    -- Unknown


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]