aboutsummaryrefslogtreecommitdiffstats
path: root/embed/mozilla/EphyContentPolicy.h
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2006-01-18 23:53:54 +0800
committerChristian Persch <chpe@src.gnome.org>2006-01-18 23:53:54 +0800
commitbc05ca2fb4d1d031e5ba4f081666bfcbec875872 (patch)
treebce80060063e65e63366c4063267802dc35cde61 /embed/mozilla/EphyContentPolicy.h
parent539426a9bd327676ad71b263e497ce19da1adde9 (diff)
downloadgsoc2013-epiphany-bc05ca2fb4d1d031e5ba4f081666bfcbec875872.tar
gsoc2013-epiphany-bc05ca2fb4d1d031e5ba4f081666bfcbec875872.tar.gz
gsoc2013-epiphany-bc05ca2fb4d1d031e5ba4f081666bfcbec875872.tar.bz2
gsoc2013-epiphany-bc05ca2fb4d1d031e5ba4f081666bfcbec875872.tar.lz
gsoc2013-epiphany-bc05ca2fb4d1d031e5ba4f081666bfcbec875872.tar.xz
gsoc2013-epiphany-bc05ca2fb4d1d031e5ba4f081666bfcbec875872.tar.zst
gsoc2013-epiphany-bc05ca2fb4d1d031e5ba4f081666bfcbec875872.zip
Decouple embed single instantiation and initialisation. Prevents
2006-01-18 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed-shell.c: (impl_get_embed_single): * embed/ephy-embed-single.c: (ephy_embed_single_init): * embed/ephy-embed-single.h: * embed/mozilla/mozilla-embed-single.cpp: Decouple embed single instantiation and initialisation. Prevents double-initialisation on startup. * embed/mozilla/EphyContentPolicy.cpp: * embed/mozilla/EphyContentPolicy.h: Remove embed single variable, it was unused.
Diffstat (limited to 'embed/mozilla/EphyContentPolicy.h')
-rw-r--r--embed/mozilla/EphyContentPolicy.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/embed/mozilla/EphyContentPolicy.h b/embed/mozilla/EphyContentPolicy.h
index 3c4813a17..7639a6d00 100644
--- a/embed/mozilla/EphyContentPolicy.h
+++ b/embed/mozilla/EphyContentPolicy.h
@@ -50,9 +50,8 @@ public:
EphyContentPolicy();
virtual ~EphyContentPolicy();
private:
- GtkWidget *GetEmbedFromContext (nsISupports *aContext);
+ static GtkWidget *GetEmbedFromContext (nsISupports *aContext);
- GObject *mEmbedSingle;
gboolean mLocked;
GSList *mSafeProtocols;
};