Remove suspicious code. (#325295, Alexander Nedotsukov)

2006-03-10  Matthias Clasen  <mclasen@redhat.com>

	* pixbuf-draw.c (draw_extension): Remove suspicious
	code.  (#325295, Alexander Nedotsukov)
This commit is contained in:
Matthias Clasen
2006-03-10 19:15:40 +00:00
committed by Matthias Clasen
parent 1f9bbaf3da
commit 26a1ba116e
2 changed files with 9 additions and 10 deletions

View File

@ -1,3 +1,8 @@
2006-03-10 Matthias Clasen <mclasen@redhat.com>
* pixbuf-draw.c (draw_extension): Remove suspicious
code. (#325295, Alexander Nedotsukov)
2006-01-17 Matthias Clasen <mclasen@redhat.com>
* pixbuf-render.c: If the src positions for gradients

View File

@ -876,12 +876,6 @@ draw_extension (GtkStyle *style,
g_return_if_fail (style != NULL);
g_return_if_fail (window != NULL);
/* Why? */
if (width >=0)
width++;
if (height >=0)
height++;
match_data.function = TOKEN_D_EXTENSION;
match_data.detail = (gchar *)detail;
match_data.flags = THEME_MATCH_SHADOW | THEME_MATCH_STATE | THEME_MATCH_GAP_SIDE;