mirror of
https://github.com/brl/mutter.git
synced 2024-11-25 01:20:42 -05:00
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:
parent
46ededed08
commit
a1cdbf6d03
@ -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),
|
||||||
|
@ -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);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user