Remove conext-ready signal from browser and view
This commit is contained in:
parent
312d321ff9
commit
42387e9b8b
2 changed files with 0 additions and 36 deletions
|
@ -141,7 +141,6 @@ enum
|
||||||
REMOVE_TAB,
|
REMOVE_TAB,
|
||||||
MOVE_TAB,
|
MOVE_TAB,
|
||||||
ACTIVATE_ACTION,
|
ACTIVATE_ACTION,
|
||||||
CONTEXT_READY,
|
|
||||||
ADD_DOWNLOAD,
|
ADD_DOWNLOAD,
|
||||||
SEND_NOTIFICATION,
|
SEND_NOTIFICATION,
|
||||||
POPULATE_TOOL_MENU,
|
POPULATE_TOOL_MENU,
|
||||||
|
@ -547,14 +546,6 @@ midori_view_notify_progress_cb (GtkWidget* view,
|
||||||
_midori_browser_update_progress (browser, MIDORI_VIEW (view));
|
_midori_browser_update_progress (browser, MIDORI_VIEW (view));
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
|
||||||
midori_view_context_ready_cb (GtkWidget* view,
|
|
||||||
JSContextRef js_context,
|
|
||||||
MidoriBrowser* browser)
|
|
||||||
{
|
|
||||||
g_signal_emit (browser, signals[CONTEXT_READY], 0, js_context);
|
|
||||||
}
|
|
||||||
|
|
||||||
static void
|
static void
|
||||||
midori_view_notify_uri_cb (GtkWidget* widget,
|
midori_view_notify_uri_cb (GtkWidget* widget,
|
||||||
GParamSpec* pspec,
|
GParamSpec* pspec,
|
||||||
|
@ -1548,8 +1539,6 @@ _midori_browser_add_tab (MidoriBrowser* browser,
|
||||||
midori_view_notify_load_status_cb, browser,
|
midori_view_notify_load_status_cb, browser,
|
||||||
"signal::notify::progress",
|
"signal::notify::progress",
|
||||||
midori_view_notify_progress_cb, browser,
|
midori_view_notify_progress_cb, browser,
|
||||||
"signal::context-ready",
|
|
||||||
midori_view_context_ready_cb, browser,
|
|
||||||
"signal::notify::uri",
|
"signal::notify::uri",
|
||||||
midori_view_notify_uri_cb, browser,
|
midori_view_notify_uri_cb, browser,
|
||||||
"signal::notify::title",
|
"signal::notify::title",
|
||||||
|
@ -1836,17 +1825,6 @@ midori_browser_class_init (MidoriBrowserClass* class)
|
||||||
G_TYPE_NONE, 1,
|
G_TYPE_NONE, 1,
|
||||||
G_TYPE_STRING);
|
G_TYPE_STRING);
|
||||||
|
|
||||||
signals[CONTEXT_READY] = g_signal_new (
|
|
||||||
"context-ready",
|
|
||||||
G_TYPE_FROM_CLASS (class),
|
|
||||||
(GSignalFlags)(G_SIGNAL_RUN_LAST),
|
|
||||||
0,
|
|
||||||
0,
|
|
||||||
NULL,
|
|
||||||
g_cclosure_marshal_VOID__POINTER,
|
|
||||||
G_TYPE_NONE, 1,
|
|
||||||
G_TYPE_POINTER);
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* MidoriBrowser::add-download:
|
* MidoriBrowser::add-download:
|
||||||
* @browser: the object on which the signal is emitted
|
* @browser: the object on which the signal is emitted
|
||||||
|
|
|
@ -168,7 +168,6 @@ enum
|
||||||
enum {
|
enum {
|
||||||
ACTIVATE_ACTION,
|
ACTIVATE_ACTION,
|
||||||
CONSOLE_MESSAGE,
|
CONSOLE_MESSAGE,
|
||||||
CONTEXT_READY,
|
|
||||||
ATTACH_INSPECTOR,
|
ATTACH_INSPECTOR,
|
||||||
DETACH_INSPECTOR,
|
DETACH_INSPECTOR,
|
||||||
NEW_TAB,
|
NEW_TAB,
|
||||||
|
@ -248,17 +247,6 @@ midori_view_class_init (MidoriViewClass* class)
|
||||||
G_TYPE_INT,
|
G_TYPE_INT,
|
||||||
G_TYPE_STRING);
|
G_TYPE_STRING);
|
||||||
|
|
||||||
signals[CONTEXT_READY] = g_signal_new (
|
|
||||||
"context-ready",
|
|
||||||
G_TYPE_FROM_CLASS (class),
|
|
||||||
(GSignalFlags)(G_SIGNAL_RUN_LAST),
|
|
||||||
0,
|
|
||||||
0,
|
|
||||||
NULL,
|
|
||||||
g_cclosure_marshal_VOID__POINTER,
|
|
||||||
G_TYPE_NONE, 1,
|
|
||||||
G_TYPE_POINTER);
|
|
||||||
|
|
||||||
signals[ATTACH_INSPECTOR] = g_signal_new (
|
signals[ATTACH_INSPECTOR] = g_signal_new (
|
||||||
"attach-inspector",
|
"attach-inspector",
|
||||||
G_TYPE_FROM_CLASS (class),
|
G_TYPE_FROM_CLASS (class),
|
||||||
|
@ -2967,8 +2955,6 @@ webkit_web_view_window_object_cleared_cb (GtkWidget* web_view,
|
||||||
NULL);
|
NULL);
|
||||||
g_free (result);
|
g_free (result);
|
||||||
}
|
}
|
||||||
|
|
||||||
g_signal_emit (view, signals[CONTEXT_READY], 0, js_context);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|
Loading…
Reference in a new issue