aboutsummaryrefslogtreecommitdiffstats
path: root/embed
diff options
context:
space:
mode:
authorXan Lopez <xlopez@igalia.com>2011-06-27 21:52:49 +0800
committerXan Lopez <xlopez@igalia.com>2011-06-28 01:34:52 +0800
commitfe909aa62629a5994dd643450b0de45e0e3f508d (patch)
tree4b76d85f09945b8d936bd58afbc69e30b8fa4bc6 /embed
parent016b6995843919814f3768487ca161031d778d06 (diff)
downloadgsoc2013-epiphany-fe909aa62629a5994dd643450b0de45e0e3f508d.tar
gsoc2013-epiphany-fe909aa62629a5994dd643450b0de45e0e3f508d.tar.gz
gsoc2013-epiphany-fe909aa62629a5994dd643450b0de45e0e3f508d.tar.bz2
gsoc2013-epiphany-fe909aa62629a5994dd643450b0de45e0e3f508d.tar.lz
gsoc2013-epiphany-fe909aa62629a5994dd643450b0de45e0e3f508d.tar.xz
gsoc2013-epiphany-fe909aa62629a5994dd643450b0de45e0e3f508d.tar.zst
gsoc2013-epiphany-fe909aa62629a5994dd643450b0de45e0e3f508d.zip
ephy-embed-single: remove add-search-engine signal
It's not used anymore. If we ever reimplement this we can add it again.
Diffstat (limited to 'embed')
-rw-r--r--embed/ephy-embed-single.c22
-rw-r--r--embed/ephy-embed-single.h5
2 files changed, 0 insertions, 27 deletions
diff --git a/embed/ephy-embed-single.c b/embed/ephy-embed-single.c
index 1d7ae2fb9..b9787fd09 100644
--- a/embed/ephy-embed-single.c
+++ b/embed/ephy-embed-single.c
@@ -340,28 +340,6 @@ ephy_embed_single_class_init (EphyEmbedSingleClass *klass)
G_TYPE_STRING);
/**
- * EphyEmbedSingle::add-search-engine
- * @single:
- * @url: The url of the search engine definition file
- * @icon_url: The url of the icon to use for this engine
- * @title: The title of the search engine to be added
- *
- * The ::add-search-engine signal is emitted when the user clicks a javascript link that
- * requests adding a search engine to the sidebar.
- **/
- g_signal_new ("add-search-engine",
- EPHY_TYPE_EMBED_SINGLE,
- G_SIGNAL_RUN_LAST,
- G_STRUCT_OFFSET (EphyEmbedSingleClass, add_search_engine),
- g_signal_accumulator_true_handled, NULL,
- g_cclosure_marshal_generic,
- G_TYPE_BOOLEAN,
- 3,
- G_TYPE_STRING | G_SIGNAL_TYPE_STATIC_SCOPE,
- G_TYPE_STRING | G_SIGNAL_TYPE_STATIC_SCOPE,
- G_TYPE_STRING | G_SIGNAL_TYPE_STATIC_SCOPE);
-
- /**
* EphyEmbedSingle::network-status:
*
* Whether the network is on-line.
diff --git a/embed/ephy-embed-single.h b/embed/ephy-embed-single.h
index 00307e6a6..bb4ffc67e 100644
--- a/embed/ephy-embed-single.h
+++ b/embed/ephy-embed-single.h
@@ -67,11 +67,6 @@ struct _EphyEmbedSingleClass
gboolean (* handle_content) (EphyEmbedSingle *shell,
char *mime_type,
char *uri);
-
- gboolean (* add_search_engine) (EphyEmbedSingle *single,
- const char *url,
- const char *icon_url,
- const char *title);
};
GType ephy_embed_single_get_type (void);