[evolution/wip/webkit-composer: 174/372] Remove editor_widget_open_inspector().
- From: Tomas Popela <tpopela src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/wip/webkit-composer: 174/372] Remove editor_widget_open_inspector().
- Date: Thu, 6 Feb 2014 11:38:08 +0000 (UTC)
commit c9814cb6b492f6d70f9f3e2e2acc6dd4ecc2c1a7
Author: Matthew Barnes <mbarnes redhat com>
Date: Wed Feb 6 19:09:28 2013 -0500
Remove editor_widget_open_inspector().
The web-inspector module will handle this.
e-util/e-editor-widget.c | 25 -------------------------
1 files changed, 0 insertions(+), 25 deletions(-)
---
diff --git a/e-util/e-editor-widget.c b/e-util/e-editor-widget.c
index ecfefaa..22d80de 100644
--- a/e-util/e-editor-widget.c
+++ b/e-util/e-editor-widget.c
@@ -260,25 +260,6 @@ editor_widget_load_status_changed (EEditorWidget *widget)
}
}
-static WebKitWebView *
-editor_widget_open_inspector (WebKitWebInspector *inspector,
- WebKitWebView *webview,
- gpointer user_data)
-{
- GtkWidget *window;
- GtkWidget *inspector_view;
-
- window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
- inspector_view = webkit_web_view_new ();
-
- gtk_container_add (GTK_CONTAINER (window), GTK_WIDGET (inspector_view));
-
- gtk_widget_set_size_request (window, 600, 480);
- gtk_widget_show (window);
-
- return WEBKIT_WEB_VIEW (inspector_view);
-}
-
/* Based on original use_pictograms() from GtkHTML */
static const gchar *emoticons_chars =
/* 0 */ "DO)(|/PQ*!"
@@ -989,7 +970,6 @@ static void
e_editor_widget_init (EEditorWidget *editor)
{
WebKitWebSettings *settings;
- WebKitWebInspector *inspector;
GSettings *g_settings;
GSettingsSchema *settings_schema;
ESpellChecker *checker;
@@ -1034,11 +1014,6 @@ e_editor_widget_init (EEditorWidget *editor)
editor, "notify::load-status",
G_CALLBACK (editor_widget_load_status_changed), NULL);
- inspector = webkit_web_view_get_inspector (WEBKIT_WEB_VIEW (editor));
- g_signal_connect (
- inspector, "inspect-web-view",
- G_CALLBACK (editor_widget_open_inspector), NULL);
-
editor->priv->selection = g_object_new (
E_TYPE_EDITOR_SELECTION,
"editor-widget", editor,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]