Re: [Java-gnome-developer] GTK Warnings

2013-01-16 Thread Andrew Cowie
Hi Niranjan, On Thu, 2013-01-10 at 13:30 -0800, Niranjan Rao wrote: > Seems like java-gnome treats like GTK warnings as fatal errors. That's true. The reason is that a Gtk-WARNING is an indication that an illegal argument was passed to a function. How is the program supposed to continue if that

[Java-gnome-developer] GTK Warnings

2013-01-10 Thread Niranjan Rao
Seems like java gnome treats like GTK warnings as fatal errors. Is there any flag that I can use to say log the warning, but don't treat it as fatal error. I have integrated webkit and in general it works fine and I get most of the functionality of web kit I care to have. Depending upon what we

Re: [Java-gnome-developer] Gtk Warnings

2012-02-10 Thread Guillaume Mazoyer
I guess that another interesting topic has been raised here. The problem (to my mind) is not to know if we should make an exception for broken themes. For me, the problem is: should we make "our" applications *crash* if the theme is broken. Most applications written for GNOME do not crash when the

Re: [Java-gnome-developer] Gtk Warnings

2012-02-06 Thread Serkan Kaba
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, Sorry but I would say we shouldn't make exceptions for the broken themes out there. So report a bug against that theme (or even fix it if you can) Regards, Serkan On 02/06/2012 12:20 PM, cyber python wrote: > First of all, thank you for the quic

Re: [Java-gnome-developer] Gtk Warnings

2012-02-06 Thread cyber python
First of all, thank you for the quick responses. The way I handle this for now (though it is clearly not a solution) is by ignoring any FatalError thrown on Gtk.init(). The theme is Adwaita Cupertino SL ( http://gnome-look.org/content/show.php/Adwaita+Cupertino?content=147061 ), but there is a gre

Re: [Java-gnome-developer] Gtk Warnings

2012-02-05 Thread Andrew Cowie
On Sun, 2012-02-05 at 16:52 +0200, cyber python wrote: > if there is a way to distinguish warnings thrown as Exceptions. In general, a WARNING coming from a GNOME library means that it was fed an illegal value. We're well accustomed in Java land to having those result in IllegalArgumentExceptions

Re: [Java-gnome-developer] Gtk Warnings

2012-02-05 Thread Guillaume Mazoyer
2012/2/5 cyber python : > I am writing an application using java-gnome and if a gtk theme that > causes warnings is used the whole application crashes thus I'd like to > know if there is a way to distinguish warnings thrown as Exceptions. I never had such a problem. If the warning are actually gene

[Java-gnome-developer] Gtk Warnings

2012-02-05 Thread cyber python
Hello, I am writing an application using java-gnome and if a gtk theme that causes warnings is used the whole application crashes thus I'd like to know if there is a way to distinguish warnings thrown as Exceptions. Best regards, Georgios Migdos. --