From 68a38d1915a042cf481ba90c2afc208f9976b735 Mon Sep 17 00:00:00 2001 From: Larry Ewing Date: Mon, 8 May 2000 05:06:12 +0000 Subject: remove the no longer needed flatened_alpha member. 2000-05-07 Larry Ewing * e-icon-bar.h (struct _EIconBarItem): remove the no longer needed flatened_alpha member. * e-icon-bar.c (flatten_alpha): using ~rgb can cause visual artifacts. (e_icon_bar_add_item): fixup refcounting of the flattend pixbuf, the canvas item should hold the reference not us. Stop using item.flattened_alpha since it no longer exists. (e_icon_bar_remove_item): remove the unref since destroying the item will take care of that for us. * e-shortcut-bar.c (e_shortcut_bar_add_item): make sure to unref the image we get back, the icon bar will hold any references it needs. (e_shortcut_bar_get_image_from_url): ref the default image each time we return it so that references are counted correctly. svn path=/trunk/; revision=2902 --- widgets/shortcut-bar/e-icon-bar.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'widgets/shortcut-bar/e-icon-bar.h') diff --git a/widgets/shortcut-bar/e-icon-bar.h b/widgets/shortcut-bar/e-icon-bar.h index bcb15d0c5a..8ca458410a 100644 --- a/widgets/shortcut-bar/e-icon-bar.h +++ b/widgets/shortcut-bar/e-icon-bar.h @@ -59,8 +59,6 @@ struct _EIconBarItem gint text_height; gint icon_y, text_y; - - GdkPixbuf *flatened_alpha; }; -- cgit v1.2.3