Re: stupid segfaults -- argh!
- From: "Joe Van Dyk" <joevandyk gmail com>
- To: gtkmm-list gnome org
- Subject: Re: stupid segfaults -- argh!
- Date: Tue, 6 Jun 2006 11:03:10 -0700
On 6/6/06, Paul Davis <paul linuxaudiosystems com> wrote:
On Mon, 2006-06-05 at 17:40 -0700, Joe Van Dyk wrote:
> I wonder why the documentation says a Gtk::Main object can't be
> created in the global scope. Apparently, that's what I want to do, as
> I can't put it inside main().
GTK and gtkmm require library initialization before any objects related
to them can be created. by attempting to put Gtk::Main in global scope
you are effectively asking for this order to be reversed.
So, in the program that I had in the original email, why did it work
if I had the Gtk::Main call outside of any functions?
Joe
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]