[devhelp] Notebook: move the class to the libdevhelp
- From: Sébastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [devhelp] Notebook: move the class to the libdevhelp
- Date: Thu, 7 Jun 2018 16:11:58 +0000 (UTC)
commit 67d687537dfbe463b6433c80ff85c35fe1a1e4c2
Author: Sébastien Wilmet <swilmet gnome org>
Date: Thu Jun 7 17:46:35 2018 +0200
Notebook: move the class to the libdevhelp
devhelp/devhelp.h | 1 +
{src => devhelp}/dh-notebook.c | 2 +-
{src => devhelp}/dh-notebook.h | 4 +++-
devhelp/meson.build | 2 ++
po/POTFILES.in | 2 +-
src/dh-search-bar.h | 2 +-
src/dh-util-app.h | 1 -
src/dh-window.c | 1 -
src/meson.build | 1 -
9 files changed, 9 insertions(+), 7 deletions(-)
---
diff --git a/devhelp/devhelp.h b/devhelp/devhelp.h
index c67cdae7..a7c615b0 100644
--- a/devhelp/devhelp.h
+++ b/devhelp/devhelp.h
@@ -36,6 +36,7 @@
#include <devhelp/dh-init.h>
#include <devhelp/dh-keyword-model.h>
#include <devhelp/dh-link.h>
+#include <devhelp/dh-notebook.h>
#include <devhelp/dh-profile.h>
#include <devhelp/dh-profile-builder.h>
#include <devhelp/dh-settings.h>
diff --git a/src/dh-notebook.c b/devhelp/dh-notebook.c
similarity index 99%
rename from src/dh-notebook.c
rename to devhelp/dh-notebook.c
index d1f4fe94..181f296c 100644
--- a/src/dh-notebook.c
+++ b/devhelp/dh-notebook.c
@@ -19,7 +19,7 @@
*/
#include "dh-notebook.h"
-#include <devhelp/devhelp.h>
+#include "dh-tab-label.h"
/* #DhNotebook is a subclass of #GtkNotebook. The content of the tabs are
* #DhTab's, and the tab labels are #DhTabLabel's.
diff --git a/src/dh-notebook.h b/devhelp/dh-notebook.h
similarity index 96%
rename from src/dh-notebook.h
rename to devhelp/dh-notebook.h
index 538d571d..68209d36 100644
--- a/src/dh-notebook.h
+++ b/devhelp/dh-notebook.h
@@ -22,7 +22,9 @@
#define DH_NOTEBOOK_H
#include <gtk/gtk.h>
-#include <devhelp/devhelp.h>
+#include <devhelp/dh-profile.h>
+#include <devhelp/dh-tab.h>
+#include <devhelp/dh-web-view.h>
G_BEGIN_DECLS
diff --git a/devhelp/meson.build b/devhelp/meson.build
index 4a68d336..08884257 100644
--- a/devhelp/meson.build
+++ b/devhelp/meson.build
@@ -11,6 +11,7 @@ libdevhelp_public_headers = [
'dh-init.h',
'dh-keyword-model.h',
'dh-link.h',
+ 'dh-notebook.h',
'dh-profile.h',
'dh-profile-builder.h',
'dh-settings.h',
@@ -33,6 +34,7 @@ libdevhelp_public_c_files = [
'dh-init.c',
'dh-keyword-model.c',
'dh-link.c',
+ 'dh-notebook.c',
'dh-profile.c',
'dh-profile-builder.c',
'dh-settings.c',
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 926455a6..3af0200d 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -17,6 +17,7 @@ devhelp/dh-error.c
devhelp/dh-init.c
devhelp/dh-keyword-model.c
devhelp/dh-link.c
+devhelp/dh-notebook.c
devhelp/dh-parser.c
devhelp/dh-profile-builder.c
devhelp/dh-profile.c
@@ -34,7 +35,6 @@ src/dh-app.c
src/dh-assistant.c
src/dh-assistant.ui
src/dh-main.c
-src/dh-notebook.c
src/dh-preferences.c
src/dh-preferences.ui
src/dh-search-bar.c
diff --git a/src/dh-search-bar.h b/src/dh-search-bar.h
index 8504ddeb..78eca2ee 100644
--- a/src/dh-search-bar.h
+++ b/src/dh-search-bar.h
@@ -22,7 +22,7 @@
#define DH_SEARCH_BAR_H
#include <gtk/gtk.h>
-#include "dh-notebook.h"
+#include <devhelp/devhelp.h>
G_BEGIN_DECLS
diff --git a/src/dh-util-app.h b/src/dh-util-app.h
index 533b558b..85b748e8 100644
--- a/src/dh-util-app.h
+++ b/src/dh-util-app.h
@@ -25,7 +25,6 @@
#include <gtk/gtk.h>
#include <devhelp/devhelp.h>
-#include "dh-notebook.h"
G_BEGIN_DECLS
diff --git a/src/dh-window.c b/src/dh-window.c
index c28511ff..a1698b64 100644
--- a/src/dh-window.c
+++ b/src/dh-window.c
@@ -26,7 +26,6 @@
#include <webkit2/webkit2.h>
#include <devhelp/devhelp.h>
#include <amtk/amtk.h>
-#include "dh-notebook.h"
#include "dh-search-bar.h"
#include "dh-settings-app.h"
#include "dh-util-app.h"
diff --git a/src/meson.build b/src/meson.build
index 22f11542..8c56afd2 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -2,7 +2,6 @@ devhelp_app_sources = [
'dh-app.c',
'dh-assistant.c',
'dh-main.c',
- 'dh-notebook.c',
'dh-preferences.c',
'dh-search-bar.c',
'dh-settings-app.c',
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]