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

@ -873,15 +873,9 @@ draw_extension (GtkStyle *style,
{
ThemeMatchData match_data;
g_return_if_fail(style != NULL);
g_return_if_fail(window != NULL);
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;
@ -909,8 +903,8 @@ draw_focus (GtkStyle *style,
{
ThemeMatchData match_data;
g_return_if_fail(style != NULL);
g_return_if_fail(window != NULL);
g_return_if_fail (style != NULL);
g_return_if_fail (window != NULL);
match_data.function = TOKEN_D_FOCUS;
match_data.detail = (gchar *)detail;