[evolution/wip/webkit2] WebProcess deadlocks and crashes when opening the Table dialog



commit 893ecb163bb5a5f23972c07d02704aee504f50cb
Author: Tomas Popela <tpopela redhat com>
Date:   Fri Jul 22 11:52:36 2016 +0200

    WebProcess deadlocks and crashes when opening the Table dialog

 .../web-extension/e-editor-web-extension.c         |    7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)
---
diff --git a/modules/webkit-editor/web-extension/e-editor-web-extension.c 
b/modules/webkit-editor/web-extension/e-editor-web-extension.c
index ad81ec9..a38737a 100644
--- a/modules/webkit-editor/web-extension/e-editor-web-extension.c
+++ b/modules/webkit-editor/web-extension/e-editor-web-extension.c
@@ -830,8 +830,7 @@ handle_method_call (GDBusConnection *connection,
                const gchar *selector;
                WebKitDOMElement *element;
 
-               g_variant_get (
-                       parameters, "(t&s)", &selector);
+               g_variant_get (parameters, "(t&s)", &page_id, &selector);
 
                editor_page = get_editor_page_or_return_dbus_error (invocation, extension, page_id);
                if (!editor_page)
@@ -1320,7 +1319,7 @@ handle_method_call (GDBusConnection *connection,
                                g_variant_new_take_string (
                                        value ? value : g_strdup (""))));
        } else if (g_strcmp0 (method_name, "EEditorTableDialogSetRowCount") == 0) {
-               gulong value;
+               guint32 value;
 
                g_variant_get (parameters, "(tu)", &page_id, &value);
 
@@ -1345,7 +1344,7 @@ handle_method_call (GDBusConnection *connection,
                g_dbus_method_invocation_return_value (
                        invocation, g_variant_new ("(u)", value));
        } else if (g_strcmp0 (method_name, "EEditorTableDialogSetColumnCount") == 0) {
-               gulong value;
+               guint32 value;
 
                g_variant_get (parameters, "(tu)", &page_id, &value);
 


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