diff options
author | Christian Persch <chpe@cvs.gnome.org> | 2005-07-30 04:24:23 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2005-07-30 04:24:23 +0800 |
commit | e2cbc7c8a624845a93289945243348762c1b2893 (patch) | |
tree | a635a3354ef195c9ff19fa61a93541a243d3af8d /src/ephy-statusbar.c | |
parent | 0a2e055b95b09abf340f5a011ec01af55b401b13 (diff) | |
download | gsoc2013-epiphany-e2cbc7c8a624845a93289945243348762c1b2893.tar.gz gsoc2013-epiphany-e2cbc7c8a624845a93289945243348762c1b2893.tar.zst gsoc2013-epiphany-e2cbc7c8a624845a93289945243348762c1b2893.zip |
Add accessor functions for those instead of relying on using the struct
2005-07-29 Christian Persch <chpe@cvs.gnome.org>
* src/ephy-statusbar.c: (ephy_statusbar_get_tooltips),
(ephy_statusbar_get_security_frame):
* src/ephy-statusbar.h:
Add accessor functions for those instead of relying
on using the struct members directly.
Diffstat (limited to 'src/ephy-statusbar.c')
-rwxr-xr-x | src/ephy-statusbar.c | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/src/ephy-statusbar.c b/src/ephy-statusbar.c index 85ea0581e..a01b81920 100755 --- a/src/ephy-statusbar.c +++ b/src/ephy-statusbar.c @@ -345,3 +345,32 @@ ephy_statusbar_remove_widget (EphyStatusbar *statusbar, gtk_container_remove (GTK_CONTAINER (statusbar->priv->icon_container), widget); } + + +/** + * ephy_statusbar_get_tooltips: + * @statusbar: an #EphyStatusbar + * + * Return value: the statusbar's #GtkTooltips object + */ +GtkTooltips * +ephy_statusbar_get_tooltips (EphyStatusbar *statusbar) +{ + g_return_val_if_fail (EPHY_IS_STATUSBAR (statusbar), NULL); + + return statusbar->tooltips; +} + +/** + * ephy_statusbar_get_security_frame: + * @statusbar: an #EphyStatusbar + * + * Return value: the statusbar's lock icon frame + */ +GtkWidget * +ephy_statusbar_get_security_frame (EphyStatusbar *statusbar) +{ + g_return_val_if_fail (EPHY_IS_STATUSBAR (statusbar), NULL); + + return statusbar->security_frame; +} |