[devhelp] TabLabel: move the class to the libdevhelp
- From: Sébastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [devhelp] TabLabel: move the class to the libdevhelp
- Date: Thu, 7 Jun 2018 15:39:27 +0000 (UTC)
commit 150cab771c73f9f69ca07d0c9a3683022bf26fc6
Author: Sébastien Wilmet <swilmet gnome org>
Date: Thu Jun 7 17:22:24 2018 +0200
TabLabel: move the class to the libdevhelp
devhelp/devhelp.h | 1 +
{src => devhelp}/dh-tab-label.c | 2 +-
{src => devhelp}/dh-tab-label.h | 2 +-
devhelp/meson.build | 2 ++
po/POTFILES.in | 2 +-
src/dh-notebook.c | 2 +-
src/meson.build | 1 -
7 files changed, 7 insertions(+), 5 deletions(-)
---
diff --git a/devhelp/devhelp.h b/devhelp/devhelp.h
index 41113125..c67cdae7 100644
--- a/devhelp/devhelp.h
+++ b/devhelp/devhelp.h
@@ -42,6 +42,7 @@
#include <devhelp/dh-settings-builder.h>
#include <devhelp/dh-sidebar.h>
#include <devhelp/dh-tab.h>
+#include <devhelp/dh-tab-label.h>
#include <devhelp/dh-web-view.h>
#endif /* DEVHELP_H */
diff --git a/src/dh-tab-label.c b/devhelp/dh-tab-label.c
similarity index 99%
rename from src/dh-tab-label.c
rename to devhelp/dh-tab-label.c
index e99229c7..11791317 100644
--- a/src/dh-tab-label.c
+++ b/devhelp/dh-tab-label.c
@@ -19,7 +19,7 @@
*/
#include "dh-tab-label.h"
-#include <devhelp/devhelp.h>
+#include "dh-web-view.h"
/* The #DhTabLabel widget is used for the tab labels in #DhNotebook. */
diff --git a/src/dh-tab-label.h b/devhelp/dh-tab-label.h
similarity index 98%
rename from src/dh-tab-label.h
rename to devhelp/dh-tab-label.h
index 03adfd3d..543aefe2 100644
--- a/src/dh-tab-label.h
+++ b/devhelp/dh-tab-label.h
@@ -22,7 +22,7 @@
#define DH_TAB_LABEL_H
#include <gtk/gtk.h>
-#include <devhelp/devhelp.h>
+#include <devhelp/dh-tab.h>
G_BEGIN_DECLS
diff --git a/devhelp/meson.build b/devhelp/meson.build
index 57ba97e5..4a68d336 100644
--- a/devhelp/meson.build
+++ b/devhelp/meson.build
@@ -17,6 +17,7 @@ libdevhelp_public_headers = [
'dh-settings-builder.h',
'dh-sidebar.h',
'dh-tab.h',
+ 'dh-tab-label.h',
'dh-web-view.h'
]
@@ -38,6 +39,7 @@ libdevhelp_public_c_files = [
'dh-settings-builder.c',
'dh-sidebar.c',
'dh-tab.c',
+ 'dh-tab-label.c',
'dh-web-view.c'
]
diff --git a/po/POTFILES.in b/po/POTFILES.in
index ec9fd8f3..926455a6 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -25,6 +25,7 @@ devhelp/dh-settings-builder.c
devhelp/dh-settings.c
devhelp/dh-sidebar.c
devhelp/dh-tab.c
+devhelp/dh-tab-label.c
devhelp/dh-util-lib.c
devhelp/dh-web-view.c
plugins/gedit-plugin/devhelp.plugin.desktop.in
@@ -38,7 +39,6 @@ src/dh-preferences.c
src/dh-preferences.ui
src/dh-search-bar.c
src/dh-settings-app.c
-src/dh-tab-label.c
src/dh-util-app.c
src/dh-window.c
src/dh-window.ui
diff --git a/src/dh-notebook.c b/src/dh-notebook.c
index 181f296c..d1f4fe94 100644
--- a/src/dh-notebook.c
+++ b/src/dh-notebook.c
@@ -19,7 +19,7 @@
*/
#include "dh-notebook.h"
-#include "dh-tab-label.h"
+#include <devhelp/devhelp.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/meson.build b/src/meson.build
index f4e29e22..22f11542 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-label.c',
'dh-util-app.c',
'dh-window.c'
]
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]