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:
committed by
Manish Singh
parent
57f508467e
commit
9605ec8a03
@ -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))
|
||||
|
||||
Reference in New Issue
Block a user