summaryrefslogtreecommitdiff
path: root/pango/mini-xft
diff options
context:
space:
mode:
authorSven Neumann <sven@gimp.org>2001-12-12 11:51:53 +0000
committerSven Neumann <neo@src.gnome.org>2001-12-12 11:51:53 +0000
commitbde07831104e9ffa5cea092c242e7b5662987244 (patch)
treed25617de4df2cc1b7f2902fb78be8208edb6d8e2 /pango/mini-xft
parent8c5fa6fdc92849ada0833e6e71701f59b89fad9c (diff)
downloadpango-bde07831104e9ffa5cea092c242e7b5662987244.tar.gz
include config.h so the definition of MINI_XFTCONFIG_DIR is actually used
2001-12-12 Sven Neumann <sven@gimp.org> * pango/mini-xft/minixftinit.c: include config.h so the definition of MINI_XFTCONFIG_DIR is actually used (spotted by Sebastian Klemke <packet@convergence.de>).
Diffstat (limited to 'pango/mini-xft')
-rw-r--r--pango/mini-xft/minixftinit.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/pango/mini-xft/minixftinit.c b/pango/mini-xft/minixftinit.c
index c055ed34..b24b5c69 100644
--- a/pango/mini-xft/minixftinit.c
+++ b/pango/mini-xft/minixftinit.c
@@ -22,6 +22,8 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
+#include "config.h"
+
#include <stdlib.h>
#include <glib.h>
@@ -29,7 +31,7 @@
#include "minixftint.h"
MiniXftFontSet *_MiniXftFontSet;
-Bool _MiniXftConfigInitialized;
+Bool _MiniXftConfigInitialized;
Bool
MiniXftInit (char *config)
@@ -83,7 +85,7 @@ mini_xft_get_default_path (void)
"..",
NULL);
- for (i = 0; i < (sizeof(paths) / sizeof(paths[0])); i++)
+ for (i = 0; i < G_N_ELEMENTS (paths); i++)
{
if (result)
g_free (result);