From 22767f65f7fb2699a996b2742fe66906e20b936f Mon Sep 17 00:00:00 2001 From: Owen Taylor Date: Wed, 17 Mar 2004 21:43:47 +0000 Subject: Fix problem with NULL details. (#112066, MINAMI Hirokazu, Matthias Clasen) Wed Mar 17 16:38:00 2004 Owen Taylor * pixbuf-draw.c (match_theme_image): Fix problem with NULL details. (#112066, MINAMI Hirokazu, Matthias Clasen) --- modules/engines/pixbuf/ChangeLog | 5 +++++ modules/engines/pixbuf/pixbuf-draw.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'modules/engines') diff --git a/modules/engines/pixbuf/ChangeLog b/modules/engines/pixbuf/ChangeLog index be14da2234..ca3388340a 100644 --- a/modules/engines/pixbuf/ChangeLog +++ b/modules/engines/pixbuf/ChangeLog @@ -1,3 +1,8 @@ +Wed Mar 17 16:38:00 2004 Owen Taylor + + * pixbuf-draw.c (match_theme_image): Fix problem with + NULL details. (#112066, MINAMI Hirokazu, Matthias Clasen) + 2003-07-15 Mark McLoughlin * pixbuf-render.c: make pixbuf_cache static to avoid diff --git a/modules/engines/pixbuf/pixbuf-draw.c b/modules/engines/pixbuf/pixbuf-draw.c index 3796816b4b..5918082bf1 100644 --- a/modules/engines/pixbuf/pixbuf-draw.c +++ b/modules/engines/pixbuf/pixbuf-draw.c @@ -75,7 +75,7 @@ match_theme_image (GtkStyle *style, continue; if (image->match_data.detail && - (!image->match_data.detail || + (!match_data.detail || strcmp (match_data->detail, image->match_data.detail) != 0)) continue; -- cgit v1.2.1