gimp r27927 - in branches/gimp-2-6: . app/widgets
- From: tml svn gnome org
- To: svn-commits-list gnome org
- Subject: gimp r27927 - in branches/gimp-2-6: . app/widgets
- Date: Thu, 22 Jan 2009 00:41:39 +0000 (UTC)
Author: tml
Date: Thu Jan 22 00:41:39 2009
New Revision: 27927
URL: http://svn.gnome.org/viewvc/gimp?rev=27927&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:
branches/gimp-2-6/ChangeLog
branches/gimp-2-6/app/widgets/gimppixbuf.c
Modified: branches/gimp-2-6/app/widgets/gimppixbuf.c
==============================================================================
--- branches/gimp-2-6/app/widgets/gimppixbuf.c (original)
+++ branches/gimp-2-6/app/widgets/gimppixbuf.c Thu Jan 22 00:41:39 2009
@@ -126,15 +126,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]