Ah, yes. Thanks. I'm looking at the source code now.

The documentation says that one need to have a Main for Main::~Main() to be
called for cleanup, although the doc says "Of course I can't imagine any
situation in which you wouldn't have a Gtk::Main."

But if I'm writing a C++ module inside a C application, will this be the
case? Can this be resolved or ignored?

On Mon, Mar 23, 2015 at 11:26 PM Marcus Karlsson <[email protected]> wrote:

> On Mon, Mar 23, 2015 at 03:09:25PM +0000, 张海 wrote:
> > So will calling init_gtkmm_internals() twice be a problem? I mean, what
> if
> > my module has a gtkmm host? If there is a problem, is there anyway to
> check
> > whether it has been called?
>
> The init_gtkmm_internals method has a check in place so that calling it
> additional times will do nothing.
>
> Marcus
>
_______________________________________________
gtkmm-list mailing list
[email protected]
https://mail.gnome.org/mailman/listinfo/gtkmm-list

Reply via email to