aboutsummaryrefslogtreecommitdiffstats
path: root/embed/mozilla/mozilla-embed.cpp
diff options
context:
space:
mode:
authorJean-François Rameau <jframeau@cvs.gnome.org>2005-08-11 00:27:46 +0800
committerJean-François Rameau <jframeau@src.gnome.org>2005-08-11 00:27:46 +0800
commit9f39f8a12ea1b910ae3303f3ef38d6216171ec88 (patch)
tree5648474cd70a00969e9fd59352307e206b54e310 /embed/mozilla/mozilla-embed.cpp
parent3462935ff8e5902045057417bd606f91924f21b9 (diff)
downloadgsoc2013-epiphany-9f39f8a12ea1b910ae3303f3ef38d6216171ec88.tar
gsoc2013-epiphany-9f39f8a12ea1b910ae3303f3ef38d6216171ec88.tar.gz
gsoc2013-epiphany-9f39f8a12ea1b910ae3303f3ef38d6216171ec88.tar.bz2
gsoc2013-epiphany-9f39f8a12ea1b910ae3303f3ef38d6216171ec88.tar.lz
gsoc2013-epiphany-9f39f8a12ea1b910ae3303f3ef38d6216171ec88.tar.xz
gsoc2013-epiphany-9f39f8a12ea1b910ae3303f3ef38d6216171ec88.tar.zst
gsoc2013-epiphany-9f39f8a12ea1b910ae3303f3ef38d6216171ec88.zip
Gecko send several STATE_STOP, but only the final one (completed) is of
2005-08-10 Jean-François Rameau <jframeau@cvs.gnome.org> * embed/mozilla/MozDownload.cpp (OnStateChange): Gecko send several STATE_STOP, but only the final one (completed) is of interest (STATE_STOP&STATE_IS_NETWORK). Fix crash with gecko 1.8 when downloading. * embed/mozilla/mozilla-embed.cpp: Fix compilation warning.
Diffstat (limited to 'embed/mozilla/mozilla-embed.cpp')
-rw-r--r--embed/mozilla/mozilla-embed.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/embed/mozilla/mozilla-embed.cpp b/embed/mozilla/mozilla-embed.cpp
index 80aa77d26..7344241a9 100644
--- a/embed/mozilla/mozilla-embed.cpp
+++ b/embed/mozilla/mozilla-embed.cpp
@@ -226,7 +226,6 @@ static void
mozilla_embed_realize (GtkWidget *widget)
{
MozillaEmbedPrivate *mpriv = MOZILLA_EMBED (widget)->priv;
- GtkBin *bin = GTK_BIN (widget);
GTK_WIDGET_CLASS (parent_class)->realize (widget);
@@ -269,7 +268,7 @@ mozilla_embed_realize (GtkWidget *widget)
if (mpriv->focus_connected) return;
- GtkWidget *child = gtk_bin_get_child (bin);
+ GtkWidget *child = gtk_bin_get_child (GTK_BIN (widget));
g_return_if_fail (child != NULL);
n = g_signal_handlers_block_matched (child,