diff options
author | Owen Taylor <otaylor@redhat.com> | 2004-03-17 21:43:47 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 2004-03-17 21:43:47 +0000 |
commit | 22767f65f7fb2699a996b2742fe66906e20b936f (patch) | |
tree | 071273044d3ee29d745b57be851db49cb47352ca /modules/engines | |
parent | 99aa131ee83cf753fcb94ab4271718288dd06317 (diff) | |
download | gtk+-22767f65f7fb2699a996b2742fe66906e20b936f.tar.gz |
Fix problem with NULL details. (#112066, MINAMI Hirokazu, Matthias Clasen)
Wed Mar 17 16:38:00 2004 Owen Taylor <otaylor@redhat.com>
* pixbuf-draw.c (match_theme_image): Fix problem with
NULL details. (#112066, MINAMI Hirokazu, Matthias Clasen)
Diffstat (limited to 'modules/engines')
-rw-r--r-- | modules/engines/pixbuf/ChangeLog | 5 | ||||
-rw-r--r-- | modules/engines/pixbuf/pixbuf-draw.c | 2 |
2 files changed, 6 insertions, 1 deletions
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 <otaylor@redhat.com> + + * pixbuf-draw.c (match_theme_image): Fix problem with + NULL details. (#112066, MINAMI Hirokazu, Matthias Clasen) + 2003-07-15 Mark McLoughlin <mark@skynet.ie> * 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; |