From a1cdbf6d030e101732a54aa60a5dc44c95352a10 Mon Sep 17 00:00:00 2001 From: Elijah Newren Date: Fri, 21 Jan 2005 01:58:10 +0000 Subject: [PATCH] use pixbuf, not dimmed_pixbuf (which isn't defined yet). Fixes crash from 2005-01-20 Elijah Newren * src/tabpopup.c (dimm_icon): use pixbuf, not dimmed_pixbuf (which isn't defined yet). Fixes crash from #136666. --- ChangeLog | 5 +++++ src/tabpopup.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index abbeb4902..d7a378070 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2005-01-20 Elijah Newren + + * src/tabpopup.c (dimm_icon): use pixbuf, not dimmed_pixbuf (which + isn't defined yet). Fixes crash from #136666. + 2005-01-20 Vincent Noel * src/screen.c: (meta_screen_ensure_tab_popup), diff --git a/src/tabpopup.c b/src/tabpopup.c index da3a3a184..746c02a1f 100644 --- a/src/tabpopup.c +++ b/src/tabpopup.c @@ -123,7 +123,7 @@ dimm_icon (GdkPixbuf *pixbuf) int w, h; GdkPixbuf *dimmed_pixbuf; - if (gdk_pixbuf_get_has_alpha (dimmed_pixbuf)) + if (gdk_pixbuf_get_has_alpha (pixbuf)) { dimmed_pixbuf = gdk_pixbuf_copy (pixbuf); }