[evolution/gnome-3-22] Print current EEditorWebExtension method if CAMEL_DEBUG is active



commit 7462157a36f2ceddf4a7f36dd21c7200304635f9
Author: Tomas Popela <tpopela redhat com>
Date:   Thu Mar 9 11:12:06 2017 +0100

    Print current EEditorWebExtension method if CAMEL_DEBUG is active

 .../web-extension/e-editor-web-extension.c         |    3 +++
 1 files changed, 3 insertions(+), 0 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 c41c154..e87e73c 100644
--- a/modules/webkit-editor/web-extension/e-editor-web-extension.c
+++ b/modules/webkit-editor/web-extension/e-editor-web-extension.c
@@ -666,6 +666,9 @@ handle_method_call (GDBusConnection *connection,
        if (g_strcmp0 (interface_name, E_WEBKIT_EDITOR_WEB_EXTENSION_INTERFACE) != 0)
                return;
 
+       if (camel_debug ("webkit:editor"))
+               printf ("EEditorWebExtension - %s - %s\n", G_STRFUNC, method_name);
+
        if (g_strcmp0 (method_name, "TestHTMLEqual") == 0) {
                gboolean equal = FALSE;
                const gchar *html1 = NULL, *html2 = NULL;


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