[epiphany] Move ephy-web-dom-utils to embed/web-extension



commit 56e9ef77df2377bc4d0ca39a4900641eba2421cd
Author: Michael Catanzaro <mcatanzaro igalia com>
Date:   Sun Jan 24 22:07:39 2016 -0600

    Move ephy-web-dom-utils to embed/web-extension
    
    Since it's only usable from the web extension.
    
    Also, remove an old #include from window-commands, a holdover from
    WebKit1 I suppose.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=761074

 embed/web-extension/Makefile.am                   |    2 ++
 {lib => embed/web-extension}/ephy-web-dom-utils.c |    0
 {lib => embed/web-extension}/ephy-web-dom-utils.h |    0
 lib/Makefile.am                                   |    2 --
 src/window-commands.c                             |    1 -
 5 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/embed/web-extension/Makefile.am b/embed/web-extension/Makefile.am
index 799b235..0095e3b 100644
--- a/embed/web-extension/Makefile.am
+++ b/embed/web-extension/Makefile.am
@@ -11,6 +11,8 @@ libephywebextension_la_SOURCES = \
        ephy-embed-form-auth.h \
        ephy-uri-tester.c \
        ephy-uri-tester.h \
+       ephy-web-dom-utils.c \
+       ephy-web-dom-utils.h \
        ephy-web-extension.c \
        ephy-web-extension.h \
        ephy-web-extension-main.c \
diff --git a/lib/ephy-web-dom-utils.c b/embed/web-extension/ephy-web-dom-utils.c
similarity index 100%
rename from lib/ephy-web-dom-utils.c
rename to embed/web-extension/ephy-web-dom-utils.c
diff --git a/lib/ephy-web-dom-utils.h b/embed/web-extension/ephy-web-dom-utils.h
similarity index 100%
rename from lib/ephy-web-dom-utils.h
rename to embed/web-extension/ephy-web-dom-utils.h
diff --git a/lib/Makefile.am b/lib/Makefile.am
index 0ad214d..f0dcfc5 100644
--- a/lib/Makefile.am
+++ b/lib/Makefile.am
@@ -28,7 +28,6 @@ NOINST_H_FILES = \
        ephy-time-helpers.h                     \
        ephy-uri-helpers.h                      \
        ephy-web-app-utils.h                    \
-       ephy-web-dom-utils.h                    \
        ephy-zoom.h
 
 TYPES_H_FILES = \
@@ -70,7 +69,6 @@ libephymisc_la_SOURCES = \
        ephy-time-helpers.c                     \
        ephy-uri-helpers.c                      \
        ephy-web-app-utils.c                    \
-       ephy-web-dom-utils.c                    \
        ephy-zoom.c                             \
        $(INST_H_FILES)                         \
        $(NOINST_H_FILES)
diff --git a/src/window-commands.c b/src/window-commands.c
index ddf4478..c899e4e 100644
--- a/src/window-commands.c
+++ b/src/window-commands.c
@@ -47,7 +47,6 @@
 #include "ephy-shell.h"
 #include "ephy-string.h"
 #include "ephy-web-app-utils.h"
-#include "ephy-web-dom-utils.h"
 #include "ephy-zoom.h"
 
 #include <gio/gio.h>


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