gtk/gtkmain.c g_module_symbol takes a gpointer *, not just a gpointer.

2001-12-04  Manish Singh  <yosh@gimp.org>

        * gtk/gtkmain.c
        * gtk/queryimmodules.c: g_module_symbol takes a gpointer *, not just
        a gpointer.

        * gtk/gtkwidget.c (gtk_widget_push_composite_child): minor cosmetic
        correction to docs.

        * demos/gtk-demo/item_factory.c: add GTK_WINDOW() cast
This commit is contained in:
Manish Singh
2001-12-05 02:49:32 +00:00
committed by Manish Singh
parent 57f508467e
commit 9605ec8a03
11 changed files with 84 additions and 7 deletions

View File

@ -368,7 +368,7 @@ load_module (GSList *gtk_modules,
{
module = find_module (module_path, name);
if (module &&
g_module_symbol (module, "gtk_module_init", (gpointer*) &modinit_func) &&
g_module_symbol (module, "gtk_module_init", (gpointer *) &modinit_func) &&
modinit_func)
{
if (!g_slist_find (gtk_modules, modinit_func))