summaryrefslogtreecommitdiff
path: root/pango/pango-types.h
diff options
context:
space:
mode:
authorJames Henstridge <james@daa.com.au>2001-07-02 14:17:18 +0000
committerJames Henstridge <jamesh@src.gnome.org>2001-07-02 14:17:18 +0000
commit977dbeb2e823baa4940dbd8cfc054deed3017548 (patch)
tree55bb75b2a55105562cde92dfe3cb125e8db91686 /pango/pango-types.h
parentd5f6f37adfff287b5d5cc1aadfb4cb79f3596d1f (diff)
downloadpango-977dbeb2e823baa4940dbd8cfc054deed3017548.tar.gz
copy function. (pango_glyph_string_get_type): implement get_type function.
2001-07-02 James Henstridge <james@daa.com.au> * pango/glyphstring.c (pango_glyph_string_copy): copy function. (pango_glyph_string_get_type): implement get_type function. * pango/pango-glyph.h (pango_glyph_string_get_type): get_type function prototype. (pango_glyph_string_copy): prototype for copy function. * pango/pango-utils.c (pango_language_get_type): implementation. * pango/pango-types.h (pango_language_get_type): get_type function. * pango/pango-tabs.c (pango_tab_array_get_type): implementation. * pango/pango-tabs.h (pango_tab_array_get_type): get_type function. * pango/fonts.c (pango_font_description_get_type): implementation. * pango/pango-font.h (pango_font_description_get_type): add get_type function for typecode.
Diffstat (limited to 'pango/pango-types.h')
-rw-r--r--pango/pango-types.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/pango/pango-types.h b/pango/pango-types.h
index bc6beba9..d273b852 100644
--- a/pango/pango-types.h
+++ b/pango/pango-types.h
@@ -23,6 +23,7 @@
#define __PANGO_TYPES_H__
#include <glib.h>
+#include <glib-object.h>
typedef struct _PangoLangRange PangoLangRange;
typedef struct _PangoLogAttr PangoLogAttr;
@@ -74,6 +75,9 @@ typedef enum {
PANGO_DIRECTION_TTB_RTL
} PangoDirection;
+#define PANGO_TYPE_LANGUAGE (pango_language_get_type ())
+
+GType pango_language_get_type (void);
PangoLanguage *pango_language_from_string (const char *language);
#define pango_language_to_string(language) ((const char *)language)