use pixbuf, not dimmed_pixbuf (which isn't defined yet). Fixes crash from

2005-01-20  Elijah Newren  <newren@gmail.com>

	* src/tabpopup.c (dimm_icon): use pixbuf, not dimmed_pixbuf (which
	isn't defined yet).  Fixes crash from #136666.
This commit is contained in:
Elijah Newren 2005-01-21 01:58:10 +00:00 committed by Elijah Newren
parent 46ededed08
commit a1cdbf6d03
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2005-01-20 Elijah Newren <newren@gmail.com>
* src/tabpopup.c (dimm_icon): use pixbuf, not dimmed_pixbuf (which
isn't defined yet). Fixes crash from #136666.
2005-01-20 Vincent Noel <vnoel@cox.net> 2005-01-20 Vincent Noel <vnoel@cox.net>
* src/screen.c: (meta_screen_ensure_tab_popup), * src/screen.c: (meta_screen_ensure_tab_popup),

View File

@ -123,7 +123,7 @@ dimm_icon (GdkPixbuf *pixbuf)
int w, h; int w, h;
GdkPixbuf *dimmed_pixbuf; GdkPixbuf *dimmed_pixbuf;
if (gdk_pixbuf_get_has_alpha (dimmed_pixbuf)) if (gdk_pixbuf_get_has_alpha (pixbuf))
{ {
dimmed_pixbuf = gdk_pixbuf_copy (pixbuf); dimmed_pixbuf = gdk_pixbuf_copy (pixbuf);
} }