gimp r27928 - in trunk: . app/widgets



Author: tml
Date: Thu Jan 22 00:47:18 2009
New Revision: 27928
URL: http://svn.gnome.org/viewvc/gimp?rev=27928&view=rev

Log:
2009-01-22  Tor Lillqvist  <tml iki fi>

	Bug 559408 - Brushes dragged to the image window look strange 

	* app/widgets/gimppixbuf.c (gimp_pixbuf_format_compare): Drop
	Windows-specific code to prefer BMP. The BMP format written by
	gdk-pixbuf doesn't support alpha. PNG is better. Note that the
	same bug report also takes up a different problem.



Modified:
   trunk/ChangeLog
   trunk/app/widgets/gimppixbuf.c

Modified: trunk/app/widgets/gimppixbuf.c
==============================================================================
--- trunk/app/widgets/gimppixbuf.c	(original)
+++ trunk/app/widgets/gimppixbuf.c	Thu Jan 22 00:47:18 2009
@@ -125,15 +125,6 @@
   gchar *b_name = gdk_pixbuf_format_get_name (b);
   gint   retval = 0;
 
-#ifdef GDK_WINDOWING_WIN32
-  /*  move BMP to the front of the list  */
-  if (strcmp (a_name, "bmp") == 0)
-    retval = -1;
-  else if (strcmp (b_name, "bmp") == 0)
-    retval = 1;
-  else
-#endif
-
   /*  move PNG to the front of the list  */
   if (strcmp (a_name, "png") == 0)
     retval = -1;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]