aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-toolbar.h
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2005-08-01 23:57:48 +0800
committerChristian Persch <chpe@src.gnome.org>2005-08-01 23:57:48 +0800
commit110be671322a06930c86f0ac68b4e898a4664913 (patch)
tree745868ed1d8cf07e0f23560db07dca70767d3611 /src/ephy-toolbar.h
parent97198c89b6c5d58264f2a53bae7b26420d183ea9 (diff)
downloadgsoc2013-epiphany-110be671322a06930c86f0ac68b4e898a4664913.tar.gz
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-toolbar.h')
-rw-r--r--src/ephy-toolbar.h3
1 files changed, 2 insertions, 1 deletions
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 <glib.h>
#include <glib-object.h>
+#include <gdk-pixbuf/gdk-pixbuf.h>
#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);