[devhelp] Tab: move the class to the libdevhelp
- From: Sébastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [devhelp] Tab: move the class to the libdevhelp
- Date: Thu, 7 Jun 2018 15:01:48 +0000 (UTC)
commit 996f3af46d040a24c18665274c53fbc5dda465fb
Author: Sébastien Wilmet <swilmet gnome org>
Date: Thu Jun 7 16:43:01 2018 +0200
Tab: move the class to the libdevhelp
The gtk-doc comments will be added later.
devhelp/devhelp.h | 1 +
{src => devhelp}/dh-tab.c | 0
{src => devhelp}/dh-tab.h | 2 +-
devhelp/meson.build | 2 ++
po/POTFILES.in | 2 +-
src/dh-notebook.h | 1 -
src/dh-tab-label.h | 2 +-
src/dh-window.c | 1 -
src/meson.build | 1 -
9 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/devhelp/devhelp.h b/devhelp/devhelp.h
index f79af7fb..41113125 100644
--- a/devhelp/devhelp.h
+++ b/devhelp/devhelp.h
@@ -41,6 +41,7 @@
#include <devhelp/dh-settings.h>
#include <devhelp/dh-settings-builder.h>
#include <devhelp/dh-sidebar.h>
+#include <devhelp/dh-tab.h>
#include <devhelp/dh-web-view.h>
#endif /* DEVHELP_H */
diff --git a/src/dh-tab.c b/devhelp/dh-tab.c
similarity index 100%
rename from src/dh-tab.c
rename to devhelp/dh-tab.c
diff --git a/src/dh-tab.h b/devhelp/dh-tab.h
similarity index 98%
rename from src/dh-tab.h
rename to devhelp/dh-tab.h
index 80091c0e..d11980f3 100644
--- a/src/dh-tab.h
+++ b/devhelp/dh-tab.h
@@ -22,7 +22,7 @@
#define DH_TAB_H
#include <gtk/gtk.h>
-#include <devhelp/devhelp.h>
+#include <devhelp/dh-web-view.h>
G_BEGIN_DECLS
diff --git a/devhelp/meson.build b/devhelp/meson.build
index b8b439f2..57ba97e5 100644
--- a/devhelp/meson.build
+++ b/devhelp/meson.build
@@ -16,6 +16,7 @@ libdevhelp_public_headers = [
'dh-settings.h',
'dh-settings-builder.h',
'dh-sidebar.h',
+ 'dh-tab.h',
'dh-web-view.h'
]
@@ -36,6 +37,7 @@ libdevhelp_public_c_files = [
'dh-settings.c',
'dh-settings-builder.c',
'dh-sidebar.c',
+ 'dh-tab.c',
'dh-web-view.c'
]
diff --git a/po/POTFILES.in b/po/POTFILES.in
index e3c361d1..ec9fd8f3 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -24,6 +24,7 @@ devhelp/dh-search-context.c
devhelp/dh-settings-builder.c
devhelp/dh-settings.c
devhelp/dh-sidebar.c
+devhelp/dh-tab.c
devhelp/dh-util-lib.c
devhelp/dh-web-view.c
plugins/gedit-plugin/devhelp.plugin.desktop.in
@@ -37,7 +38,6 @@ src/dh-preferences.c
src/dh-preferences.ui
src/dh-search-bar.c
src/dh-settings-app.c
-src/dh-tab.c
src/dh-tab-label.c
src/dh-util-app.c
src/dh-window.c
diff --git a/src/dh-notebook.h b/src/dh-notebook.h
index c0d92c9d..538d571d 100644
--- a/src/dh-notebook.h
+++ b/src/dh-notebook.h
@@ -23,7 +23,6 @@
#include <gtk/gtk.h>
#include <devhelp/devhelp.h>
-#include "dh-tab.h"
G_BEGIN_DECLS
diff --git a/src/dh-tab-label.h b/src/dh-tab-label.h
index 93b7e371..03adfd3d 100644
--- a/src/dh-tab-label.h
+++ b/src/dh-tab-label.h
@@ -22,7 +22,7 @@
#define DH_TAB_LABEL_H
#include <gtk/gtk.h>
-#include "dh-tab.h"
+#include <devhelp/devhelp.h>
G_BEGIN_DECLS
diff --git a/src/dh-window.c b/src/dh-window.c
index 64edb109..c28511ff 100644
--- a/src/dh-window.c
+++ b/src/dh-window.c
@@ -29,7 +29,6 @@
#include "dh-notebook.h"
#include "dh-search-bar.h"
#include "dh-settings-app.h"
-#include "dh-tab.h"
#include "dh-util-app.h"
typedef struct {
diff --git a/src/meson.build b/src/meson.build
index 9d410f0f..f4e29e22 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -6,7 +6,6 @@ devhelp_app_sources = [
'dh-preferences.c',
'dh-search-bar.c',
'dh-settings-app.c',
- 'dh-tab.c',
'dh-tab-label.c',
'dh-util-app.c',
'dh-window.c'
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]