mirror of https://github.com/GNOME/gimp.git
Bug 559408 - Brushes dragged to the image window look strange
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. svn path=/trunk/; revision=27928
This commit is contained in:
parent
e9e48274c5
commit
fb554e98cd
|
@ -1,3 +1,12 @@
|
||||||
|
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.
|
||||||
|
|
||||||
2009-01-21 Sven Neumann <sven@gimp.org>
|
2009-01-21 Sven Neumann <sven@gimp.org>
|
||||||
|
|
||||||
Bug 568617 – "Plase" misspelled
|
Bug 568617 – "Plase" misspelled
|
||||||
|
|
|
@ -125,15 +125,6 @@ gimp_pixbuf_format_compare (GdkPixbufFormat *a,
|
||||||
gchar *b_name = gdk_pixbuf_format_get_name (b);
|
gchar *b_name = gdk_pixbuf_format_get_name (b);
|
||||||
gint retval = 0;
|
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 */
|
/* move PNG to the front of the list */
|
||||||
if (strcmp (a_name, "png") == 0)
|
if (strcmp (a_name, "png") == 0)
|
||||||
retval = -1;
|
retval = -1;
|
||||||
|
|
Loading…
Reference in New Issue