diff options
Diffstat (limited to 'modules')
-rw-r--r-- | modules/engines/pixbuf/ChangeLog | 5 | ||||
-rw-r--r-- | modules/engines/pixbuf/pixbuf-draw.c | 14 |
2 files changed, 9 insertions, 10 deletions
diff --git a/modules/engines/pixbuf/ChangeLog b/modules/engines/pixbuf/ChangeLog index 68f29c810e..3f524b335e 100644 --- a/modules/engines/pixbuf/ChangeLog +++ b/modules/engines/pixbuf/ChangeLog @@ -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 diff --git a/modules/engines/pixbuf/pixbuf-draw.c b/modules/engines/pixbuf/pixbuf-draw.c index 60cbefc905..fcaae96789 100644 --- a/modules/engines/pixbuf/pixbuf-draw.c +++ b/modules/engines/pixbuf/pixbuf-draw.c @@ -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; |