aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-statusbar.c
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2004-05-02 00:07:34 +0800
committerChristian Persch <chpe@src.gnome.org>2004-05-02 00:07:34 +0800
commit6fb6efa2850bda26532bd1318648fdf61436a804 (patch)
tree3cf025a3c96604fa3b7ca0a65dd9b5c5189ddd4a /src/ephy-statusbar.c
parent72e67cfe0d23352fe6864b48ddc5a648f51ee80a (diff)
downloadgsoc2013-epiphany-6fb6efa2850bda26532bd1318648fdf61436a804.tar
gsoc2013-epiphany-6fb6efa2850bda26532bd1318648fdf61436a804.tar.gz
gsoc2013-epiphany-6fb6efa2850bda26532bd1318648fdf61436a804.tar.bz2
gsoc2013-epiphany-6fb6efa2850bda26532bd1318648fdf61436a804.tar.lz
gsoc2013-epiphany-6fb6efa2850bda26532bd1318648fdf61436a804.tar.xz
gsoc2013-epiphany-6fb6efa2850bda26532bd1318648fdf61436a804.tar.zst
gsoc2013-epiphany-6fb6efa2850bda26532bd1318648fdf61436a804.zip
Make the statusbar's GtkTooltips publicly accessibly.
2004-05-01 Christian Persch <chpe@cvs.gnome.org> * src/ephy-statusbar.c: (ephy_statusbar_init), (ephy_statusbar_finalize), (ephy_statusbar_set_security_state): * src/ephy-statusbar.h: Make the statusbar's GtkTooltips publicly accessibly.
Diffstat (limited to 'src/ephy-statusbar.c')
-rwxr-xr-xsrc/ephy-statusbar.c12
1 files changed, 5 insertions, 7 deletions
diff --git a/src/ephy-statusbar.c b/src/ephy-statusbar.c
index 860627e13..5545e1378 100755
--- a/src/ephy-statusbar.c
+++ b/src/ephy-statusbar.c
@@ -33,7 +33,6 @@
#include <gtk/gtkeventbox.h>
#include <gtk/gtkimage.h>
#include <gtk/gtkframe.h>
-#include <gtk/gtktooltips.h>
static void ephy_statusbar_class_init (EphyStatusbarClass *klass);
static void ephy_statusbar_init (EphyStatusbar *t);
@@ -47,7 +46,6 @@ struct EphyStatusbarPrivate
{
GtkWidget *security_icon;
GtkWidget *progressbar;
- GtkTooltips *tooltips;
GtkWidget *security_evbox;
};
@@ -132,9 +130,9 @@ ephy_statusbar_init (EphyStatusbar *t)
{
t->priv = EPHY_STATUSBAR_GET_PRIVATE (t);
- t->priv->tooltips = gtk_tooltips_new ();
- g_object_ref (G_OBJECT (t->priv->tooltips));
- gtk_object_sink (GTK_OBJECT (t->priv->tooltips));
+ t->tooltips = gtk_tooltips_new ();
+ g_object_ref (G_OBJECT (t->tooltips));
+ gtk_object_sink (GTK_OBJECT (t->tooltips));
gtk_statusbar_set_has_resize_grip (GTK_STATUSBAR (t), FALSE);
@@ -147,7 +145,7 @@ ephy_statusbar_finalize (GObject *object)
{
EphyStatusbar *t = EPHY_STATUSBAR (object);
- g_object_unref (t->priv->tooltips);
+ g_object_unref (t->tooltips);
G_OBJECT_CLASS (parent_class)->finalize (object);
}
@@ -185,7 +183,7 @@ ephy_statusbar_set_security_state (EphyStatusbar *statusbar,
gtk_image_set_from_stock (GTK_IMAGE (statusbar->priv->security_icon), stock,
GTK_ICON_SIZE_MENU);
- gtk_tooltips_set_tip (statusbar->priv->tooltips, statusbar->priv->security_evbox,
+ gtk_tooltips_set_tip (statusbar->tooltips, statusbar->priv->security_evbox,
tooltip, NULL);
}