diff options
author | Manish Singh <yosh@gimp.org> | 2001-12-05 02:30:46 +0000 |
---|---|---|
committer | Manish Singh <yosh@src.gnome.org> | 2001-12-05 02:30:46 +0000 |
commit | f7944e8f02c4cbd46a8317058d4e73aa67032ec9 (patch) | |
tree | 2d0f531c849a3e7fa902501f7c78f91b7665b4ce | |
parent | c2da2b927745e239e66536c8ad5f3cd80188acb9 (diff) | |
download | pango-f7944e8f02c4cbd46a8317058d4e73aa67032ec9.tar.gz |
pango/modules.c g_module_symbol takes a gpointer *, not just a gpointer.
2001-12-04 Manish Singh <yosh@gimp.org>
* pango/modules.c
* pango/querymodules.c: g_module_symbol takes a gpointer *, not just
a gpointer.
-rw-r--r-- | pango/modules.c | 2 | ||||
-rw-r--r-- | pango/querymodules.c | 6 | ||||
-rw-r--r-- | tests/.cvsignore | 1 |
3 files changed, 5 insertions, 4 deletions
diff --git a/pango/modules.c b/pango/modules.c index f874fead..fe028274 100644 --- a/pango/modules.c +++ b/pango/modules.c @@ -163,7 +163,7 @@ pango_engine_pair_get_engine (PangoEnginePair *pair) return NULL; } - g_module_symbol (module, "script_engine_load", (gpointer)&load); + g_module_symbol (module, "script_engine_load", (gpointer *) &load); if (!load) { fprintf(stderr, "cannot retrieve script_engine_load from %s: %s\n", diff --git a/pango/querymodules.c b/pango/querymodules.c index c8a8b4e9..7cbeeeb7 100644 --- a/pango/querymodules.c +++ b/pango/querymodules.c @@ -62,9 +62,9 @@ query_module (const char *dir, const char *name) fprintf(stderr, "Cannot load module %s: %s\n", path, g_module_error()); if (module && - g_module_symbol (module, "script_engine_list", (gpointer)&list) && - g_module_symbol (module, "script_engine_load", (gpointer)&load) && - g_module_symbol (module, "script_engine_unload", (gpointer)&unload)) + g_module_symbol (module, "script_engine_list", (gpointer *) &list) && + g_module_symbol (module, "script_engine_load", (gpointer *) &load) && + g_module_symbol (module, "script_engine_unload", (gpointer *) &unload)) { gint i,j; PangoEngineInfo *engines; diff --git a/tests/.cvsignore b/tests/.cvsignore index 284e08e7..1ca65859 100644 --- a/tests/.cvsignore +++ b/tests/.cvsignore @@ -5,5 +5,6 @@ testboundaries dump-boundaries gen-all-unicode all-unicode.txt +cxx-test Makefile.in Makefile |