[evolution/wip/tpopela/composer-dnd: 3/5] Print current EEditorWebExtension method if CAMEL_DEBUG is active



commit 3c47b6ea0377c9bd53ad3b1118219f1a9e30e462
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/src/modules/webkit-editor/web-extension/e-editor-web-extension.c 
b/src/modules/webkit-editor/web-extension/e-editor-web-extension.c
index 22cfc3b..15db265 100644
--- a/src/modules/webkit-editor/web-extension/e-editor-web-extension.c
+++ b/src/modules/webkit-editor/web-extension/e-editor-web-extension.c
@@ -664,6 +664,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]