[tepl] Remove TeplAbstractFactoryVala
- From: Sébastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tepl] Remove TeplAbstractFactoryVala
- Date: Sun, 19 Apr 2020 12:31:41 +0000 (UTC)
commit 88daaf7a4997ba91712521127be0b03a7f0ee2f9
Author: Sébastien Wilmet <swilmet gnome org>
Date: Sun Apr 19 14:21:09 2020 +0200
Remove TeplAbstractFactoryVala
It was actually not needed, it's possible to manually manage GObject
references in Vala.
See for example this commit in gnome-latex that switches from
TeplAbstractFactoryVala to TeplAbstractFactory:
https://gitlab.gnome.org/GNOME/gnome-latex/-/commit/18a2946c9214211562b08324fe9b7744fd3799ca
docs/reference/api-breaks.xml | 6 ++
docs/reference/tepl-docs.xml | 1 -
docs/reference/tepl-sections.txt | 16 -----
po/POTFILES.in | 1 -
tepl/meson.build | 2 -
tepl/tepl-abstract-factory-vala.c | 132 --------------------------------------
tepl/tepl-abstract-factory-vala.h | 77 ----------------------
tepl/tepl-abstract-factory.c | 2 -
tepl/tepl.h | 1 -
9 files changed, 6 insertions(+), 232 deletions(-)
---
diff --git a/docs/reference/api-breaks.xml b/docs/reference/api-breaks.xml
index ea73e9f..20ff25d 100644
--- a/docs/reference/api-breaks.xml
+++ b/docs/reference/api-breaks.xml
@@ -151,6 +151,12 @@
implementation detail).
</para>
</listitem>
+ <listitem>
+ <para>
+ The <code>TeplAbstractFactoryVala</code> class has been removed,
+ because it's possible to manually manage GObject references in Vala.
+ </para>
+ </listitem>
</itemizedlist>
</chapter>
</part>
diff --git a/docs/reference/tepl-docs.xml b/docs/reference/tepl-docs.xml
index 119e186..bf23649 100644
--- a/docs/reference/tepl-docs.xml
+++ b/docs/reference/tepl-docs.xml
@@ -63,7 +63,6 @@
<chapter id="misc">
<title>Misc</title>
- <xi:include href="xml/abstract-factory-vala.xml"/>
<xi:include href="xml/info-bar.xml"/>
<xi:include href="xml/iter.xml"/>
<xi:include href="xml/utils.xml"/>
diff --git a/docs/reference/tepl-sections.txt b/docs/reference/tepl-sections.txt
index ff73435..77e28f6 100644
--- a/docs/reference/tepl-sections.txt
+++ b/docs/reference/tepl-sections.txt
@@ -29,22 +29,6 @@ TEPL_TYPE_ABSTRACT_FACTORY
tepl_abstract_factory_get_type
</SECTION>
-<SECTION>
-<FILE>abstract-factory-vala</FILE>
-TeplAbstractFactoryVala
-TeplAbstractFactoryValaClass
-tepl_abstract_factory_vala_set_singleton_vala
-tepl_abstract_factory_vala_create_main_window_vala
-<SUBSECTION Standard>
-TEPL_ABSTRACT_FACTORY_VALA
-TEPL_ABSTRACT_FACTORY_VALA_CLASS
-TEPL_ABSTRACT_FACTORY_VALA_GET_CLASS
-TEPL_IS_ABSTRACT_FACTORY_VALA
-TEPL_IS_ABSTRACT_FACTORY_VALA_CLASS
-TEPL_TYPE_ABSTRACT_FACTORY_VALA
-tepl_abstract_factory_vala_get_type
-</SECTION>
-
<SECTION>
<FILE>application</FILE>
TeplApplication
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 4d45224..fe423ae 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -1,6 +1,5 @@
# List of source files containing translatable strings.
tepl/tepl-abstract-factory.c
-tepl/tepl-abstract-factory-vala.c
tepl/tepl-application.c
tepl/tepl-application-window.c
tepl/tepl-buffer.c
diff --git a/tepl/meson.build b/tepl/meson.build
index a2fc71c..5bad8a3 100644
--- a/tepl/meson.build
+++ b/tepl/meson.build
@@ -1,7 +1,6 @@
tepl_public_headers = [
'tepl.h',
'tepl-abstract-factory.h',
- 'tepl-abstract-factory-vala.h',
'tepl-application.h',
'tepl-application-window.h',
'tepl-buffer.h',
@@ -28,7 +27,6 @@ tepl_public_headers = [
tepl_public_c_files = [
'tepl-abstract-factory.c',
- 'tepl-abstract-factory-vala.c',
'tepl-application.c',
'tepl-application-window.c',
'tepl-buffer.c',
diff --git a/tepl/tepl-abstract-factory.c b/tepl/tepl-abstract-factory.c
index 3383b0e..08007a1 100644
--- a/tepl/tepl-abstract-factory.c
+++ b/tepl/tepl-abstract-factory.c
@@ -41,8 +41,6 @@
* “MyappAbstractFactory” is not a good name for a #TeplAbstractFactory
* subclass. “MyappFactory” is a better name (of course change “Myapp” with the
* application namespace).
- *
- * For an application written in Vala, see #TeplAbstractFactoryVala.
*/
/* API design:
diff --git a/tepl/tepl.h b/tepl/tepl.h
index df73f3b..9efa715 100644
--- a/tepl/tepl.h
+++ b/tepl/tepl.h
@@ -27,7 +27,6 @@
#include <tepl/tepl-enum-types.h>
#include <tepl/tepl-abstract-factory.h>
-#include <tepl/tepl-abstract-factory-vala.h>
#include <tepl/tepl-application.h>
#include <tepl/tepl-application-window.h>
#include <tepl/tepl-buffer.h>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]