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:

committed by
Matthias Clasen

parent
1f9bbaf3da
commit
26a1ba116e
@ -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>
|
2006-01-17 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
* pixbuf-render.c: If the src positions for gradients
|
* pixbuf-render.c: If the src positions for gradients
|
||||||
|
@ -873,15 +873,9 @@ draw_extension (GtkStyle *style,
|
|||||||
{
|
{
|
||||||
ThemeMatchData match_data;
|
ThemeMatchData match_data;
|
||||||
|
|
||||||
g_return_if_fail(style != NULL);
|
g_return_if_fail (style != NULL);
|
||||||
g_return_if_fail(window != NULL);
|
g_return_if_fail (window != NULL);
|
||||||
|
|
||||||
/* Why? */
|
|
||||||
if (width >=0)
|
|
||||||
width++;
|
|
||||||
if (height >=0)
|
|
||||||
height++;
|
|
||||||
|
|
||||||
match_data.function = TOKEN_D_EXTENSION;
|
match_data.function = TOKEN_D_EXTENSION;
|
||||||
match_data.detail = (gchar *)detail;
|
match_data.detail = (gchar *)detail;
|
||||||
match_data.flags = THEME_MATCH_SHADOW | THEME_MATCH_STATE | THEME_MATCH_GAP_SIDE;
|
match_data.flags = THEME_MATCH_SHADOW | THEME_MATCH_STATE | THEME_MATCH_GAP_SIDE;
|
||||||
@ -909,8 +903,8 @@ draw_focus (GtkStyle *style,
|
|||||||
{
|
{
|
||||||
ThemeMatchData match_data;
|
ThemeMatchData match_data;
|
||||||
|
|
||||||
g_return_if_fail(style != NULL);
|
g_return_if_fail (style != NULL);
|
||||||
g_return_if_fail(window != NULL);
|
g_return_if_fail (window != NULL);
|
||||||
|
|
||||||
match_data.function = TOKEN_D_FOCUS;
|
match_data.function = TOKEN_D_FOCUS;
|
||||||
match_data.detail = (gchar *)detail;
|
match_data.detail = (gchar *)detail;
|
||||||
|
Reference in New Issue
Block a user