gimp r26891 - in trunk: . app/core
- From: martinn svn gnome org
- To: svn-commits-list gnome org
- Subject: gimp r26891 - in trunk: . app/core
- Date: Sun, 7 Sep 2008 06:47:18 +0000 (UTC)
Author: martinn
Date: Sun Sep 7 06:47:17 2008
New Revision: 26891
URL: http://svn.gnome.org/viewvc/gimp?rev=26891&view=rev
Log:
Bug 551141 â "Select all" does not work
* app/core/gimpchannel.c (gimp_channel_real_all): We don't want to
clear the region, we want to fill it with OPAQUE_OPACITY.
Modified:
trunk/ChangeLog
trunk/app/core/gimpchannel.c
Modified: trunk/app/core/gimpchannel.c
==============================================================================
--- trunk/app/core/gimpchannel.c (original)
+++ trunk/app/core/gimpchannel.c Sun Sep 7 06:47:17 2008
@@ -1245,6 +1245,7 @@
gboolean push_undo)
{
PixelRegion maskPR;
+ guchar bg = OPAQUE_OPACITY;
if (push_undo)
gimp_channel_push_undo (channel,
@@ -1258,7 +1259,7 @@
0, 0,
gimp_item_width (GIMP_ITEM (channel)),
gimp_item_height (GIMP_ITEM (channel)), TRUE);
- clear_region (&maskPR);
+ color_region (&maskPR, &bg);
/* we know the bounds */
channel->bounds_known = TRUE;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]