From fb554e98cdaaff5777205cfb49d24492d8637642 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Thu, 22 Jan 2009 00:47:18 +0000 Subject: [PATCH] Bug 559408 - Brushes dragged to the image window look strange 2009-01-22 Tor Lillqvist 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 --- ChangeLog | 9 +++++++++ app/widgets/gimppixbuf.c | 9 --------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/ChangeLog b/ChangeLog index 7d034d83cc..127bdbec1e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +2009-01-22 Tor Lillqvist + + 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 Bug 568617 – "Plase" misspelled diff --git a/app/widgets/gimppixbuf.c b/app/widgets/gimppixbuf.c index 239084b6b3..63050471d1 100644 --- a/app/widgets/gimppixbuf.c +++ b/app/widgets/gimppixbuf.c @@ -125,15 +125,6 @@ gimp_pixbuf_format_compare (GdkPixbufFormat *a, 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;