summaryrefslogtreecommitdiff
path: root/gtk/queryimmodules.c
diff options
context:
space:
mode:
authorManish Singh <yosh@gimp.org>2001-12-05 02:49:32 +0000
committerManish Singh <yosh@src.gnome.org>2001-12-05 02:49:32 +0000
commit9605ec8a03f317f29bf9dcfd3cbb9cf79de60079 (patch)
tree959196d7f5da4da8ff896997874c8a1f2919325f /gtk/queryimmodules.c
parent57f508467ec7795f97f62114054466a77985c23c (diff)
downloadgtk+-9605ec8a03f317f29bf9dcfd3cbb9cf79de60079.tar.gz
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
Diffstat (limited to 'gtk/queryimmodules.c')
-rw-r--r--gtk/queryimmodules.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gtk/queryimmodules.c b/gtk/queryimmodules.c
index 0a0d3b72bd..45ca335ba6 100644
--- a/gtk/queryimmodules.c
+++ b/gtk/queryimmodules.c
@@ -76,10 +76,10 @@ query_module (const char *dir, const char *name)
}
if (module &&
- g_module_symbol (module, "im_module_list", (gpointer)&list) &&
- g_module_symbol (module, "im_module_init", (gpointer)&init) &&
- g_module_symbol (module, "im_module_exit", (gpointer)&exit) &&
- g_module_symbol (module, "im_module_create", (gpointer)&create))
+ g_module_symbol (module, "im_module_list", (gpointer *) &list) &&
+ g_module_symbol (module, "im_module_init", (gpointer *) &init) &&
+ g_module_symbol (module, "im_module_exit", (gpointer *) &exit) &&
+ g_module_symbol (module, "im_module_create", (gpointer *) &create))
{
const GtkIMContextInfo **contexts;
guint n_contexts;