unset the test strings after calculating the text color.

2006-07-05  Sven Neumann  <sven@gimp.org>

	* app/gui/splash.c (splash_average_text_area): unset the test
	strings after calculating the text color.
This commit is contained in:
Sven Neumann
2006-07-05 20:05:05 +00:00
committed by Sven Neumann
parent f43d307437
commit 1e29e7dba8
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2006-07-05 Sven Neumann <sven@gimp.org>
* app/gui/splash.c (splash_average_text_area): unset the test
strings after calculating the text color.
2006-07-05 Sven Neumann <sven@gimp.org>
* app/gui/themes.h (themes_get_theme_file): G_GNUC_NULL_TERMINATED.

View File

@ -385,6 +385,7 @@ splash_average_text_area (GimpSplash *splash,
pixels = gdk_pixbuf_get_pixels (pixbuf);
splash_position_layouts (splash, "Short text", "Somewhat longer text", &area);
splash_position_layouts (splash, "", "", NULL);
if (gdk_rectangle_intersect (&image, &area, &area))
{