[epiphany] ephy-embed-single: remove add-search-engine signal



commit fe909aa62629a5994dd643450b0de45e0e3f508d
Author: Xan Lopez <xlopez igalia com>
Date:   Mon Jun 27 15:52:49 2011 +0200

    ephy-embed-single: remove add-search-engine signal
    
    It's not used anymore. If we ever reimplement this we can add it
    again.

 embed/ephy-embed-single.c |   22 ----------------------
 embed/ephy-embed-single.h |    5 -----
 2 files changed, 0 insertions(+), 27 deletions(-)
---
diff --git a/embed/ephy-embed-single.c b/embed/ephy-embed-single.c
index 1d7ae2f..b9787fd 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 00307e6..bb4ffc6 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);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]