diff options
author | Christian Persch <chpe@cvs.gnome.org> | 2005-08-01 23:57:48 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2005-08-01 23:57:48 +0800 |
commit | 110be671322a06930c86f0ac68b4e898a4664913 (patch) | |
tree | 745868ed1d8cf07e0f23560db07dca70767d3611 /src/ephy-tab.h | |
parent | 97198c89b6c5d58264f2a53bae7b26420d183ea9 (diff) | |
download | gsoc2013-epiphany-110be671322a06930c86f0ac68b4e898a4664913.tar gsoc2013-epiphany-110be671322a06930c86f0ac68b4e898a4664913.tar.gz gsoc2013-epiphany-110be671322a06930c86f0ac68b4e898a4664913.tar.bz2 gsoc2013-epiphany-110be671322a06930c86f0ac68b4e898a4664913.tar.lz gsoc2013-epiphany-110be671322a06930c86f0ac68b4e898a4664913.tar.xz gsoc2013-epiphany-110be671322a06930c86f0ac68b4e898a4664913.tar.zst gsoc2013-epiphany-110be671322a06930c86f0ac68b4e898a4664913.zip |
Add a ::icon property to EphyTab, and use that everywhere instead of
2005-08-01 Christian Persch <chpe@cvs.gnome.org>
* 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.
Diffstat (limited to 'src/ephy-tab.h')
-rw-r--r-- | src/ephy-tab.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/ephy-tab.h b/src/ephy-tab.h index 8b5c48c88..479a3b04c 100644 --- a/src/ephy-tab.h +++ b/src/ephy-tab.h @@ -24,6 +24,7 @@ #include "ephy-embed.h" +#include <gdk-pixbuf/gdk-pixbuf.h> #include <gtk/gtkbin.h> G_BEGIN_DECLS @@ -69,7 +70,9 @@ EphyTab *ephy_tab_for_embed (EphyEmbed *embed); EphyEmbedDocumentType ephy_tab_get_document_type (EphyTab *tab); -const char *ephy_tab_get_icon_address (EphyTab *tab); +GdkPixbuf *ephy_tab_get_icon (EphyTab *tab); + +const char *ephy_tab_get_icon_address (EphyTab *tab); gboolean ephy_tab_get_load_status (EphyTab *tab); |