Commit c2054152 authored by Tor Lillqvist's avatar Tor Lillqvist Committed by Tor Lillqvist

Fix gccism.

2004-01-19  Tor Lillqvist  <tml@iki.fi>

	* app/gui/about-dialog.c (decorate_text): Fix gccism.
parent c82cf11c
2004-01-19 Tor Lillqvist <tml@iki.fi>
* app/gui/about-dialog.c (decorate_text): Fix gccism.
2004-01-19 Sven Neumann <sven@gimp.org>
* configure.in: bumped version number to 2.0pre3 (1.3.26),
......@@ -567,8 +567,8 @@ decorate_text (PangoLayout *layout, gint anim_type, gdouble time)
PangoRectangle lrect = {0, 0, 0, 0};
PangoColor mix;
mix_colors (&(pp ? backgr0und : background),
&(pp ? foregr0und : foreground),
mix_colors ((pp ? &backgr0und : &background),
(pp ? &foregr0und : &foreground),
&mix, time);
text = pango_layout_get_text (layout);
......@@ -663,8 +663,8 @@ decorate_text (PangoLayout *layout, gint anim_type, gdouble time)
else
pos = ((gdouble) (letter_count - border)) / 15;
mix_colors (&(pp ? foregr0und : foreground),
&(pp ? backgr0und : background),
mix_colors ((pp ? &foregr0und : &foreground),
(pp ? &backgr0und : &background),
&mix, pos);
ptr = g_utf8_next_char (ptr);
......
......@@ -567,8 +567,8 @@ decorate_text (PangoLayout *layout, gint anim_type, gdouble time)
PangoRectangle lrect = {0, 0, 0, 0};
PangoColor mix;
mix_colors (&(pp ? backgr0und : background),
&(pp ? foregr0und : foreground),
mix_colors ((pp ? &backgr0und : &background),
(pp ? &foregr0und : &foreground),
&mix, time);
text = pango_layout_get_text (layout);
......@@ -663,8 +663,8 @@ decorate_text (PangoLayout *layout, gint anim_type, gdouble time)
else
pos = ((gdouble) (letter_count - border)) / 15;
mix_colors (&(pp ? foregr0und : foreground),
&(pp ? backgr0und : background),
mix_colors ((pp ? &foregr0und : &foreground),
(pp ? &backgr0und : &background),
&mix, pos);
ptr = g_utf8_next_char (ptr);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment