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:

committed by
Sven Neumann

parent
f43d307437
commit
1e29e7dba8
@ -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.
|
||||
|
@ -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))
|
||||
{
|
||||
|
Reference in New Issue
Block a user