aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-statusbar.c
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2005-07-30 04:24:23 +0800
committerChristian Persch <chpe@src.gnome.org>2005-07-30 04:24:23 +0800
commite2cbc7c8a624845a93289945243348762c1b2893 (patch)
treea635a3354ef195c9ff19fa61a93541a243d3af8d /src/ephy-statusbar.c
parent0a2e055b95b09abf340f5a011ec01af55b401b13 (diff)
downloadgsoc2013-epiphany-e2cbc7c8a624845a93289945243348762c1b2893.tar
gsoc2013-epiphany-e2cbc7c8a624845a93289945243348762c1b2893.tar.gz
gsoc2013-epiphany-e2cbc7c8a624845a93289945243348762c1b2893.tar.bz2
gsoc2013-epiphany-e2cbc7c8a624845a93289945243348762c1b2893.tar.lz
gsoc2013-epiphany-e2cbc7c8a624845a93289945243348762c1b2893.tar.xz
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-xsrc/ephy-statusbar.c29
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;
+}