diff options
author | Christian Persch <chpe@cvs.gnome.org> | 2005-08-10 04:26:06 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2005-08-10 04:26:06 +0800 |
commit | bbdf90ff4685eb630b2dfd80fd6a5866d469954d (patch) | |
tree | 426d8b414e10f73aebaba3e796ce786e7ba4ae1d /src | |
parent | f0d836444d0cf09a92bdcf3376e0090de97c3b16 (diff) | |
download | gsoc2013-epiphany-bbdf90ff4685eb630b2dfd80fd6a5866d469954d.tar gsoc2013-epiphany-bbdf90ff4685eb630b2dfd80fd6a5866d469954d.tar.gz gsoc2013-epiphany-bbdf90ff4685eb630b2dfd80fd6a5866d469954d.tar.bz2 gsoc2013-epiphany-bbdf90ff4685eb630b2dfd80fd6a5866d469954d.tar.lz gsoc2013-epiphany-bbdf90ff4685eb630b2dfd80fd6a5866d469954d.tar.xz gsoc2013-epiphany-bbdf90ff4685eb630b2dfd80fd6a5866d469954d.tar.zst gsoc2013-epiphany-bbdf90ff4685eb630b2dfd80fd6a5866d469954d.zip |
Make tab icon address setter public.
2005-08-09 Christian Persch <chpe@cvs.gnome.org>
* src/ephy-tab.c: (ephy_tab_set_property):
* src/ephy-tab.h:
* src/epiphany.defs:
Make tab icon address setter public.
Diffstat (limited to 'src')
-rw-r--r-- | src/ephy-tab.c | 8 | ||||
-rw-r--r-- | src/ephy-tab.h | 3 | ||||
-rw-r--r-- | src/epiphany.defs | 9 |
3 files changed, 16 insertions, 4 deletions
diff --git a/src/ephy-tab.c b/src/ephy-tab.c index 051a77f88..75956e946 100644 --- a/src/ephy-tab.c +++ b/src/ephy-tab.c @@ -145,8 +145,6 @@ typedef struct static GObjectClass *parent_class = NULL; /* internal functions, accessible only from this file */ -static void ephy_tab_set_icon_address (EphyTab *tab, - const char *location); static void ephy_tab_set_load_status (EphyTab *tab, gboolean status); static void ephy_tab_set_link_message (EphyTab *tab, @@ -226,10 +224,12 @@ ephy_tab_set_property (GObject *object, case PROP_POPUPS_ALLOWED: ephy_tab_set_popups_allowed (tab, g_value_get_boolean (value)); break; + case PROP_ICON_ADDRESS: + ephy_tab_set_icon_address (tab, g_value_get_string (value)); + break; case PROP_ADDRESS: case PROP_DOCUMENT_TYPE: case PROP_ICON: - case PROP_ICON_ADDRESS: case PROP_LOAD_PROGRESS: case PROP_LOAD_STATUS: case PROP_MESSAGE: @@ -1202,7 +1202,7 @@ ephy_tab_icon_cache_changed_cb (EphyFaviconCache *cache, } } -static void +void ephy_tab_set_icon_address (EphyTab *tab, const char *address) { diff --git a/src/ephy-tab.h b/src/ephy-tab.h index 479a3b04c..ac39899ce 100644 --- a/src/ephy-tab.h +++ b/src/ephy-tab.h @@ -74,6 +74,9 @@ GdkPixbuf *ephy_tab_get_icon (EphyTab *tab); const char *ephy_tab_get_icon_address (EphyTab *tab); +void ephy_tab_set_icon_address (EphyTab *tab, + const char *address); + gboolean ephy_tab_get_load_status (EphyTab *tab); const char *ephy_tab_get_link_message (EphyTab *tab); diff --git a/src/epiphany.defs b/src/epiphany.defs index 5925d1075..338e88b46 100644 --- a/src/epiphany.defs +++ b/src/epiphany.defs @@ -3061,6 +3061,15 @@ (return-type "const-char*") ) +(define-method set_icon_address + (of-object "EphyTab") + (c-name "ephy_tab_set_icon_address") + (return-type "none") + (parameters + '("const-char*" "address") + ) +) + (define-method get_load_status (of-object "EphyTab") (c-name "ephy_tab_get_load_status") |