Re: [Java-gnome-developer] Having problem with IconTheme
Brought to you by:
afcowie
From: Jeff M. <ku...@gm...> - 2005-03-07 12:59:37
|
On Mon, 07 Mar 2005 08:42:46 +0000, Ismael Juma <ml...@ju...> wrote: > I had a quick look and it seems like it is a bug in libgtk-java. In > IconTheme.java, the native method gtk_icon_theme_load_icon has one > incorrect parameter. The signature should be > gtk_icon_theme_load_icon(Handle, String, int, int, Handle), but it is > gtk_icon_theme_load_icon(Handle, String, int, int, int[]). > > In addition there is also a problem with loadIcon(String, int, > IconLookupFlags). It calls the Pixbuf constructor without checking if > the Handle received from gtk_icon_theme_load_icon is null. However, > according to the javadoc for GTK, null is returned if no icon is found. Ismael is correct on both accounts. I should have this fixed in cvs today. -- Jeffrey Morgan "The highest reward for a man's toil is not what he gets for it, but what he becomes by it" - Jon Ruskin |