diff options
author | Owen Taylor <otaylor@redhat.com> | 2000-02-01 18:52:17 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 2000-02-01 18:52:17 +0000 |
commit | 82d8346691a72e4dd37a1e3999a939be269df32d (patch) | |
tree | 644477eb228b5e7f96460ae3e94bd718006d8937 /pango/pangox.c | |
parent | 532c6902c34f47d5f838623c951e53d5fcdd395f (diff) | |
download | pango-82d8346691a72e4dd37a1e3999a939be269df32d.tar.gz |
Conditionally define G_N_ELEMENTS() when using glib-1.3.
Wed Feb 2 11:12:12 2000 Owen Taylor <otaylor@redhat.com>
* libpango/pango-types.h: Conditionally define G_N_ELEMENTS() when
using glib-1.3.
* modules/basic/basic.c modules/hangul/hangul.c modules/tamil/tamil.c:
Replace MEMBERS() with G_N_ELEMENTS().
* libpango/pango-engine.h: Added a get_coverage() function
to the PangoEngineShape vtable.
* modules/basic/basic.c modules/hangul/hangul.c modules/tamil/tamil.c:
Added get_coverage() functions. The basic.c one is incredibly
inefficient (but caching may make that matter that much).
The Hangul one needs checking.
Diffstat (limited to 'pango/pangox.c')
-rw-r--r-- | pango/pangox.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/pango/pangox.c b/pango/pangox.c index 60dda86b..94b70297 100644 --- a/pango/pangox.c +++ b/pango/pangox.c @@ -33,10 +33,6 @@ typedef struct _PangoXSubfontInfo PangoXSubfontInfo; typedef struct _PangoXFamilyEntry PangoXFamilyEntry; typedef struct _PangoXFontEntry PangoXFontEntry; -#ifndef G_N_ELEMENTS -#define G_N_ELEMENTS(arr) (sizeof(arr) / sizeof((arr)[0])) -#endif - struct _PangoXFontEntry { char *xlfd_prefix; |