[devhelp/wip/devhelp-next: 2/3] Rename dh-util to dh-util-lib



commit 2b10e0494a953c7f7c2b8b36cf84980a745a2a8a
Author: Sébastien Wilmet <swilmet gnome org>
Date:   Fri Feb 23 11:39:40 2018 +0100

    Rename dh-util to dh-util-lib
    
    Now there is dh-util-lib in devhelp/ and dh-util-app in src/.

 devhelp/Makefile.am                  |    4 ++--
 devhelp/dh-assistant-view.c          |    2 +-
 devhelp/dh-book-manager.c            |    2 +-
 devhelp/dh-book.c                    |    2 +-
 devhelp/dh-keyword-model.c           |    2 +-
 devhelp/dh-parser.c                  |    2 +-
 devhelp/{dh-util.c => dh-util-lib.c} |    2 +-
 devhelp/{dh-util.h => dh-util-lib.h} |    6 +++---
 docs/reference/Makefile.am           |    2 +-
 po/POTFILES.in                       |    2 +-
 unit-tests/test-util.c               |    2 +-
 11 files changed, 14 insertions(+), 14 deletions(-)
---
diff --git a/devhelp/Makefile.am b/devhelp/Makefile.am
index e69b344..2b8fe0f 100644
--- a/devhelp/Makefile.am
+++ b/devhelp/Makefile.am
@@ -38,7 +38,7 @@ libdevhelp_private_headers =          \
        dh-parser.h                     \
        dh-search-context.h             \
        dh-settings.h                   \
-       dh-util.h                       \
+       dh-util-lib.h                   \
        $(NULL)
 
 libdevhelp_private_c_files =           \
@@ -46,7 +46,7 @@ libdevhelp_private_c_files =          \
        dh-parser.c                     \
        dh-search-context.c             \
        dh-settings.c                   \
-       dh-util.c                       \
+       dh-util-lib.c                   \
        $(NULL)
 
 libdevhelp_built_public_headers =      \
diff --git a/devhelp/dh-assistant-view.c b/devhelp/dh-assistant-view.c
index 8b70132..9840755 100644
--- a/devhelp/dh-assistant-view.c
+++ b/devhelp/dh-assistant-view.c
@@ -23,7 +23,7 @@
 #include "dh-assistant-view.h"
 #include <string.h>
 #include <glib/gi18n-lib.h>
-#include "dh-util.h"
+#include "dh-util-lib.h"
 #include "dh-book.h"
 #include "dh-book-manager.h"
 
diff --git a/devhelp/dh-book-manager.c b/devhelp/dh-book-manager.c
index c194175..a32bff4 100644
--- a/devhelp/dh-book-manager.c
+++ b/devhelp/dh-book-manager.c
@@ -25,7 +25,7 @@
 #include "dh-book-manager.h"
 #include "dh-book.h"
 #include "dh-settings.h"
-#include "dh-util.h"
+#include "dh-util-lib.h"
 
 /**
  * SECTION:dh-book-manager
diff --git a/devhelp/dh-book.c b/devhelp/dh-book.c
index 864f887..42f17dd 100644
--- a/devhelp/dh-book.c
+++ b/devhelp/dh-book.c
@@ -25,7 +25,7 @@
 #include <glib/gi18n-lib.h>
 #include "dh-link.h"
 #include "dh-parser.h"
-#include "dh-util.h"
+#include "dh-util-lib.h"
 
 /**
  * SECTION:dh-book
diff --git a/devhelp/dh-keyword-model.c b/devhelp/dh-keyword-model.c
index a0b716f..2714ac5 100644
--- a/devhelp/dh-keyword-model.c
+++ b/devhelp/dh-keyword-model.c
@@ -25,7 +25,7 @@
 #include "dh-book.h"
 #include "dh-book-manager.h"
 #include "dh-search-context.h"
-#include "dh-util.h"
+#include "dh-util-lib.h"
 
 /**
  * SECTION:dh-keyword-model
diff --git a/devhelp/dh-parser.c b/devhelp/dh-parser.c
index 744cd69..00dd3e5 100644
--- a/devhelp/dh-parser.c
+++ b/devhelp/dh-parser.c
@@ -24,7 +24,7 @@
 #include <string.h>
 #include "dh-error.h"
 #include "dh-link.h"
-#include "dh-util.h"
+#include "dh-util-lib.h"
 
 /* Possible things to do for the version 3 of the Devhelp index file format (if
  * one day there is a strong desire to create a new version):
diff --git a/devhelp/dh-util.c b/devhelp/dh-util-lib.c
similarity index 99%
rename from devhelp/dh-util.c
rename to devhelp/dh-util-lib.c
index 5c6dda9..6c5aa42 100644
--- a/devhelp/dh-util.c
+++ b/devhelp/dh-util-lib.c
@@ -18,7 +18,7 @@
  * along with this program; if not, see <http://www.gnu.org/licenses/>.
  */
 
-#include "dh-util.h"
+#include "dh-util-lib.h"
 #include "dh-link.h"
 
 gchar *
diff --git a/devhelp/dh-util.h b/devhelp/dh-util-lib.h
similarity index 95%
rename from devhelp/dh-util.h
rename to devhelp/dh-util-lib.h
index ff325de..908cd45 100644
--- a/devhelp/dh-util.h
+++ b/devhelp/dh-util-lib.h
@@ -18,8 +18,8 @@
  * along with this program; if not, see <http://www.gnu.org/licenses/>.
  */
 
-#ifndef DH_UTIL_H
-#define DH_UTIL_H
+#ifndef DH_UTIL_LIB_H
+#define DH_UTIL_LIB_H
 
 #include <gio/gio.h>
 
@@ -44,4 +44,4 @@ GSList *     _dh_util_get_possible_index_files    (GFile *book_directory);
 
 G_END_DECLS
 
-#endif /* DH_UTIL_H */
+#endif /* DH_UTIL_LIB_H */
diff --git a/docs/reference/Makefile.am b/docs/reference/Makefile.am
index c5a19a7..9a7db47 100644
--- a/docs/reference/Makefile.am
+++ b/docs/reference/Makefile.am
@@ -51,7 +51,7 @@ IGNORE_HFILES = \
        dh-parser.h \
        dh-search-context.h \
        dh-settings.h \
-       dh-util.h
+       dh-util-lib.h
 
 # Images to copy into HTML directory.
 # e.g. HTML_IMAGES=$(top_srcdir)/gtk/stock-icons/stock_about_24.png
diff --git a/po/POTFILES.in b/po/POTFILES.in
index a52db5d..85cd99b 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -16,7 +16,7 @@ devhelp/dh-parser.c
 devhelp/dh-search-context.c
 devhelp/dh-settings.c
 devhelp/dh-sidebar.c
-devhelp/dh-util.c
+devhelp/dh-util-lib.c
 plugins/gedit-plugin/devhelp.plugin.desktop.in
 plugins/gedit-plugin/devhelp.py
 src/dh-app.c
diff --git a/unit-tests/test-util.c b/unit-tests/test-util.c
index 6f6fe8f..a2941a7 100644
--- a/unit-tests/test-util.c
+++ b/unit-tests/test-util.c
@@ -15,7 +15,7 @@
  * along with this program; if not, see <http://www.gnu.org/licenses/>.
  */
 
-#include "devhelp/dh-util.h"
+#include "devhelp/dh-util-lib.h"
 
 static void
 check_get_possible_index_files (const gchar *book_directory_path,


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