From 110be671322a06930c86f0ac68b4e898a4664913 Mon Sep 17 00:00:00 2001 From: Christian Persch Date: Mon, 1 Aug 2005 15:57:48 +0000 Subject: Add a ::icon property to EphyTab, and use that everywhere instead of 2005-08-01 Christian Persch * src/ephy-location-action.c: (sync_icon), (ephy_location_action_set_property), (ephy_location_action_get_property), (ephy_location_action_class_init), (ephy_location_action_init), (ephy_location_action_finalize): * src/ephy-notebook.c: (sync_icon): * src/ephy-tab.c: (ephy_tab_set_property), (ephy_tab_get_property), (ephy_tab_class_init), (ephy_tab_finalize), (ephy_tab_load_icon), (ephy_tab_icon_cache_changed_cb), (ephy_tab_set_icon_address), (ephy_tab_get_icon), (ephy_tab_init): * src/ephy-tab.h: * src/ephy-toolbar.c: (ephy_toolbar_set_favicon): * src/ephy-toolbar.h: * src/ephy-window.c: (sync_tab_icon): Add a ::icon property to EphyTab, and use that everywhere instead of querying the icon cache, thus saving memory. --- src/ephy-toolbar.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/ephy-toolbar.h') diff --git a/src/ephy-toolbar.h b/src/ephy-toolbar.h index be9860c82..2c349c5c0 100644 --- a/src/ephy-toolbar.h +++ b/src/ephy-toolbar.h @@ -25,6 +25,7 @@ #include #include +#include #include "egg-editable-toolbar.h" #include "ephy-window.h" @@ -65,7 +66,7 @@ GType ephy_toolbar_get_type (void); EphyToolbar *ephy_toolbar_new (EphyWindow *window); void ephy_toolbar_set_favicon (EphyToolbar *toolbar, - const char *icon); + GdkPixbuf *icon); void ephy_toolbar_set_show_leave_fullscreen (EphyToolbar *toolbar, gboolean show); -- cgit v1.2.3