[gedit] Remove metadata-manager from public API
- From: Sébastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit] Remove metadata-manager from public API
- Date: Sun, 16 Mar 2014 17:41:13 +0000 (UTC)
commit e0f555b20412fd866d323ed8aa99f96e54d6a39f
Author: Sébastien Wilmet <swilmet gnome org>
Date: Sun Mar 16 18:33:56 2014 +0100
Remove metadata-manager from public API
It was added recently to the docs, because the header was public. But it
must not be public. There is already metadata functions in
GeditDocument. And the metadata-manager is compiled only when GVFS
metadata is disabled.
docs/reference/Makefile.am | 1 +
docs/reference/gedit-docs.xml | 1 -
docs/reference/gedit-sections.txt | 8 --------
gedit/Makefile.am | 2 +-
4 files changed, 2 insertions(+), 10 deletions(-)
---
diff --git a/docs/reference/Makefile.am b/docs/reference/Makefile.am
index fc14954..cb3929b 100644
--- a/docs/reference/Makefile.am
+++ b/docs/reference/Makefile.am
@@ -46,6 +46,7 @@ IGNORE_HFILES = \
gedit-io-error-info-bar.h \
gedit-marshal.h \
gedit-menu-stack-switcher.h \
+ gedit-metadata-manager.h \
gedit-multi-notebook.h \
gedit-notebook.h \
gedit-notebook-popup-menu.h \
diff --git a/docs/reference/gedit-docs.xml b/docs/reference/gedit-docs.xml
index 36a8225..3b676d7 100644
--- a/docs/reference/gedit-docs.xml
+++ b/docs/reference/gedit-docs.xml
@@ -15,7 +15,6 @@
<xi:include href="xml/gedit-menu-extension.xml"/>
<xi:include href="xml/gedit-message-bus.xml"/>
<xi:include href="xml/gedit-message.xml"/>
- <xi:include href="xml/gedit-metadata-manager.xml"/>
<xi:include href="xml/gedit-progress-info-bar.xml"/>
<xi:include href="xml/gedit-statusbar.xml"/>
<xi:include href="xml/gedit-tab.xml"/>
diff --git a/docs/reference/gedit-sections.txt b/docs/reference/gedit-sections.txt
index 78071d1..caa1935 100644
--- a/docs/reference/gedit-sections.txt
+++ b/docs/reference/gedit-sections.txt
@@ -374,14 +374,6 @@ gedit_menu_extension_get_type
</SECTION>
<SECTION>
-<FILE>gedit-metadata-manager</FILE>
-gedit_metadata_manager_init
-gedit_metadata_manager_shutdown
-gedit_metadata_manager_get
-gedit_metadata_manager_set
-</SECTION>
-
-<SECTION>
<FILE>gedit-utils</FILE>
GBOOLEAN_TO_POINTER
GPOINTER_TO_BOOLEAN
diff --git a/gedit/Makefile.am b/gedit/Makefile.am
index 74da2ee..f1c3c7c 100644
--- a/gedit/Makefile.am
+++ b/gedit/Makefile.am
@@ -158,7 +158,7 @@ gedit_INST_H_FILES = \
gedit/gedit-window-activatable.h
if !ENABLE_GVFS_METADATA
-gedit_INST_H_FILES += gedit/gedit-metadata-manager.h
+gedit_NOINST_H_FILES += gedit/gedit-metadata-manager.h
endif
gedit_headerdir = $(prefix)/include/gedit-$(GEDIT_API_VERSION)/gedit
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]