[patch] GtkMainThread.c calculate the dpi value in case of gtk-xft-dpi can't

Andreas Tobler toa@pop.agri.ch
Fri Jun 25 21:57:00 GMT 2004


Like this ?

2004-06-25  Andreas Tobler  <a.tobler@schweiz.ch>

	* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
	(init_dpi_conversion_factor): Check for int_dpi < 0 in case gtk-xft-dpi
	can not calculate the right value.
	(dpi_changed_cb): Likewise. Mark *pspec as unused.


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: GtkMainThread-1.diff
URL: <http://gcc.gnu.org/pipermail/java-patches/attachments/20040625/5a82c109/attachment.ksh>


More information about the Java-patches mailing list