Re: [java-gnome-hackers] GtkApplication to replace LibUnique
Brought to you by:
afcowie
|
From: Andrew C. <an...@op...> - 2012-08-16 01:30:19
|
On Tue, 2012-08-14 at 15:35 +1000, Andrew Cowie wrote:
> Can we make another one that shadows the one in [org.gnome.glib]
> Application?
Done.
> Initialization
> --------------
>
> So this is an interesting question. The documentation for
> gtk_application_new() says it calls gtk_init() for you. Hm. Translated,
> that implies that {java-gnome-}developers should not be calling
> Gtk.init() anymore, which of course is **absolutely obligatory** at the
> moment because it causes all the C side JNI setup to be done.
>
The docs for gtk_application_new() allow that it's ok that gtk_init()
would have been called already. We'll need to refine this, but we can
get away with it for now.
> I've done some minor documentation changes and cleanup; if you could
> merge from 'hackers/andrew/application' that would be good.
Pushed to
bzr://research.operationaldynamics.com/bzr/java-gnome/hackers/andrew/application/
Further, I've taken a stab at porting Slashtime to use this
GtkApplication coverage. If you want to test it, see
bzr://research.operationaldynamics.com/bzr/slashtime/application
Comments?
AfC
Sydney
|