summaryrefslogtreecommitdiff
path: root/pango
diff options
context:
space:
mode:
Diffstat (limited to 'pango')
-rw-r--r--pango/Makefile.am3
-rw-r--r--pango/modules.c10
-rw-r--r--pango/modules.h35
-rw-r--r--pango/pango-engine.c7
-rw-r--r--pango/pango-engine.h30
-rw-r--r--pango/pango-modules.h2
-rw-r--r--pango/pangocoretext-fontmap.c1
-rw-r--r--pango/pangofc-fontmap.c1
-rw-r--r--pango/pangowin32-fontmap.c1
9 files changed, 34 insertions, 56 deletions
diff --git a/pango/Makefile.am b/pango/Makefile.am
index be657ece..b2469ad5 100644
--- a/pango/Makefile.am
+++ b/pango/Makefile.am
@@ -193,7 +193,6 @@ libpangoft2_1_0_la_DEPENDENCIES = \
libpango-$(PANGO_API_VERSION).la
libpangoft2_1_0_la_SOURCES = \
$(pangoft2_public_sources) \
- modules.h \
pangofc-private.h \
pangoft2.h \
pangoft2-private.h \
@@ -335,7 +334,6 @@ endif
if HAVE_CAIRO_QUARTZ
if HAVE_CORE_TEXT
libpangocairo_1_0_la_SOURCES += \
- modules.h \
pangocoretext.h \
pangocoretext.c \
pangocoretext-private.h \
@@ -387,7 +385,6 @@ libpangowin32_1_0_la_LIBADD = \
libpangowin32_1_0_la_DEPENDENCIES = \
libpango-$(PANGO_API_VERSION).la
libpangowin32_1_0_la_SOURCES = \
- modules.h \
pangowin32.h \
pangowin32.c \
pangowin32-private.h \
diff --git a/pango/modules.c b/pango/modules.c
index 93a48973..4705979b 100644
--- a/pango/modules.c
+++ b/pango/modules.c
@@ -29,17 +29,7 @@
*/
#include "config.h"
-#include <string.h>
-#include <limits.h>
-#include <errno.h>
-
-#include <gmodule.h>
-#include <glib/gstdio.h>
-
-#include "pango-enum-types.h"
#include "pango-modules.h"
-#include "pango-impl-utils.h"
-#include "modules.h"
/**
* pango_find_map:
diff --git a/pango/modules.h b/pango/modules.h
deleted file mode 100644
index 7eac8fb6..00000000
--- a/pango/modules.h
+++ /dev/null
@@ -1,35 +0,0 @@
-/* Pango
- * modules.h:
- *
- * Copyright (C) 1999 Red Hat Software
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Library General Public
- * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Library General Public License for more details.
- *
- * You should have received a copy of the GNU Library General Public
- * License along with this library; if not, write to the
- * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
- * Boston, MA 02111-1307, USA.
- */
-
-#include <pango/pango-engine.h>
-#include <pango/pango-modules.h>
-
-#ifndef __MODULES_H__
-#define __MODULES_H__
-
-extern PangoIncludedModule _pango_included_lang_modules[];
-extern PangoIncludedModule _pango_included_x_modules[];
-extern PangoIncludedModule _pango_included_fc_modules[];
-extern PangoIncludedModule _pango_included_win32_modules[];
-extern PangoIncludedModule _pango_included_atsui_modules[];
-extern PangoIncludedModule _pango_included_core_text_modules[];
-
-#endif /* __MODULES_H__ */
diff --git a/pango/pango-engine.c b/pango/pango-engine.c
index 6634ff04..777132b7 100644
--- a/pango/pango-engine.c
+++ b/pango/pango-engine.c
@@ -37,6 +37,8 @@
* script_engine_create(). The latter three functions are used when
* creating engines from the module at run time, while the first
* function is used when building a catalog of all available modules.
+ *
+ * Deprecated: 1.37
*/
/**
* SECTION:pango-engine-lang
@@ -47,6 +49,8 @@
* The <firstterm>language engines</firstterm> are rendering-system independent
* engines that determine line, word, and character breaks for character strings.
* These engines are used in pango_break().
+ *
+ * Deprecated: 1.37
*/
/**
* SECTION:pango-engine-shape
@@ -57,6 +61,8 @@
* The <firstterm>shape engines</firstterm> are rendering-system dependent
* engines that convert character strings into glyph strings.
* These engines are used in pango_shape().
+ *
+ * Deprecated: 1.37
*/
#include "config.h"
@@ -97,7 +103,6 @@ pango_engine_shape_real_covers (PangoEngineShape *engine G_GNUC_UNUSED,
PangoLanguage *language,
gunichar wc)
{
-
PangoCoverage *coverage = pango_font_get_coverage (font, language);
PangoCoverageLevel result = pango_coverage_get (coverage, wc);
diff --git a/pango/pango-engine.h b/pango/pango-engine.h
index b493040e..d8d262a7 100644
--- a/pango/pango-engine.h
+++ b/pango/pango-engine.h
@@ -32,15 +32,13 @@ G_BEGIN_DECLS
#ifdef PANGO_ENABLE_ENGINE
-/* Module API */
-
-#include <gmodule.h>
-
/**
* PANGO_RENDER_TYPE_NONE:
*
* A string constant defining the render type
* for engines that are not rendering-system specific.
+ *
+ * Deprecated: 1.37
*/
#define PANGO_RENDER_TYPE_NONE "PangoRenderNone"
@@ -59,6 +57,8 @@ typedef struct _PangoEngineClass PangoEngineClass;
*
* #PangoEngine is the base class for all types of language and
* script specific engines. It has no functionality by itself.
+ *
+ * Deprecated: 1.37
**/
struct _PangoEngine
{
@@ -70,6 +70,8 @@ struct _PangoEngine
* PangoEngineClass:
*
* Class structure for #PangoEngine
+ *
+ * Deprecated: 1.37
**/
struct _PangoEngineClass
{
@@ -84,6 +86,8 @@ GType pango_engine_get_type (void) G_GNUC_CONST;
*
* A string constant defining the engine type for language engines.
* These engines derive from #PangoEngineLang.
+ *
+ * Deprecated: 1.37
*/
#define PANGO_ENGINE_TYPE_LANG "PangoEngineLang"
@@ -105,6 +109,8 @@ typedef struct _PangoEngineLangClass PangoEngineLangClass;
* instance, a custom #PangoEngineLang could be provided for
* Thai to implement the dictionary-based word boundary
* lookups needed for that language.
+ *
+ * Deprecated: 1.37
**/
struct _PangoEngineLang
{
@@ -122,6 +128,8 @@ struct _PangoEngineLang
* this is called after that to allow tailoring the breaking results.
*
* Class structure for #PangoEngineLang
+ *
+ * Deprecated: 1.37
**/
struct _PangoEngineLangClass
{
@@ -144,6 +152,8 @@ GType pango_engine_lang_get_type (void) G_GNUC_CONST;
*
* A string constant defining the engine type for shaping engines.
* These engines derive from #PangoEngineShape.
+ *
+ * Deprecated: 1.37
*/
#define PANGO_ENGINE_TYPE_SHAPE "PangoEngineShape"
@@ -167,6 +177,8 @@ typedef struct _PangoEngineShapeClass PangoEngineShapeClass;
* and to a particular script. For instance, there is one
* #PangoEngineShape implementation to handle shaping Arabic
* for Fontconfig-based backends.
+ *
+ * Deprecated: 1.37
**/
struct _PangoEngineShape
{
@@ -197,6 +209,8 @@ struct _PangoEngineShape
* font itself unmodified.
*
* Class structure for #PangoEngineShape
+ *
+ * Deprecated: 1.37
**/
struct _PangoEngineShapeClass
{
@@ -240,6 +254,8 @@ typedef struct _PangoEngineScriptInfo PangoEngineScriptInfo;
*
* The #PangoEngineScriptInfo structure contains
* information about how the shaper covers a particular script.
+ *
+ * Deprecated: 1.37
*/
struct _PangoEngineScriptInfo
{
@@ -257,6 +273,8 @@ struct _PangoEngineScriptInfo
*
* The #PangoEngineInfo structure contains information about a particular
* engine. It contains the following fields:
+ *
+ * Deprecated: 1.37
*/
struct _PangoEngineInfo
{
@@ -365,6 +383,8 @@ prefix ## _register_type (GTypeModule *module) \
* <informalexample><programlisting>
* PangoEngine *engine = g_object_new (<replaceable>prefix</replaceable>_type, NULL);
* </programlisting></informalexample>
+ *
+ * Deprecated: 1.37
**/
#define PANGO_ENGINE_LANG_DEFINE_TYPE(name, prefix, class_init, instance_init) \
PANGO_ENGINE_DEFINE_TYPE (name, prefix, \
@@ -395,6 +415,8 @@ prefix ## _register_type (GTypeModule *module) \
* <informalexample><programlisting>
* PangoEngine *engine = g_object_new (<replaceable>prefix</replaceable>_type, NULL);
* </programlisting></informalexample>
+ *
+ * Deprecated: 1.37
**/
#define PANGO_ENGINE_SHAPE_DEFINE_TYPE(name, prefix, class_init, instance_init) \
PANGO_ENGINE_DEFINE_TYPE (name, prefix, \
diff --git a/pango/pango-modules.h b/pango/pango-modules.h
index 344ef419..d1b2c8b3 100644
--- a/pango/pango-modules.h
+++ b/pango/pango-modules.h
@@ -43,6 +43,8 @@ typedef struct _PangoIncludedModule PangoIncludedModule;
* The #PangoIncludedModule structure for a statically linked module
* contains the functions that would otherwise be loaded from a dynamically
* loaded module.
+ *
+ * Deprecated: 1.37
*/
struct _PangoIncludedModule
{
diff --git a/pango/pangocoretext-fontmap.c b/pango/pangocoretext-fontmap.c
index 6102139f..159bedbb 100644
--- a/pango/pangocoretext-fontmap.c
+++ b/pango/pangocoretext-fontmap.c
@@ -26,7 +26,6 @@
#include "pango-fontmap.h"
#include "pangocoretext-private.h"
#include "pango-impl-utils.h"
-#include "modules.h"
#include <Carbon/Carbon.h>
diff --git a/pango/pangofc-fontmap.c b/pango/pangofc-fontmap.c
index 026101df..3fcc0c51 100644
--- a/pango/pangofc-fontmap.c
+++ b/pango/pangofc-fontmap.c
@@ -49,7 +49,6 @@
#include "pangofc-fontmap.h"
#include "pangofc-private.h"
#include "pango-impl-utils.h"
-#include "modules.h"
#include "pango-enum-types.h"
diff --git a/pango/pangowin32-fontmap.c b/pango/pangowin32-fontmap.c
index 956e2ca6..b4bfaa2f 100644
--- a/pango/pangowin32-fontmap.c
+++ b/pango/pangowin32-fontmap.c
@@ -34,7 +34,6 @@
#include "pango-fontmap.h"
#include "pango-impl-utils.h"
#include "pangowin32-private.h"
-#include "modules.h"
typedef struct _PangoWin32Family PangoWin32Family;
typedef PangoFontFamilyClass PangoWin32FamilyClass;