From bc05ca2fb4d1d031e5ba4f081666bfcbec875872 Mon Sep 17 00:00:00 2001 From: Christian Persch Date: Wed, 18 Jan 2006 15:53:54 +0000 Subject: Decouple embed single instantiation and initialisation. Prevents 2006-01-18 Christian Persch * 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. --- embed/ephy-embed-single.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'embed/ephy-embed-single.h') diff --git a/embed/ephy-embed-single.h b/embed/ephy-embed-single.h index 916773d7f..0ff733e94 100644 --- a/embed/ephy-embed-single.h +++ b/embed/ephy-embed-single.h @@ -60,6 +60,7 @@ struct _EphyEmbedSingleIface /* Methods */ + gboolean (* init) (EphyEmbedSingle *single); GtkWidget * (* open_window) (EphyEmbedSingle *single, EphyEmbed *parent, const char *address, @@ -76,6 +77,8 @@ struct _EphyEmbedSingleIface GType ephy_embed_single_get_type (void); +gboolean ephy_embed_single_init (EphyEmbedSingle *single); + GtkWidget *ephy_embed_single_open_window (EphyEmbedSingle *single, EphyEmbed *parent, const char *address, -- cgit v1.2.3