summaryrefslogtreecommitdiff
path: root/gtk/gtkimmulticontext.c
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2002-03-20 21:47:01 +0000
committerOwen Taylor <otaylor@src.gnome.org>2002-03-20 21:47:01 +0000
commit8acfd1e9de927adf2bea546bda55740a2b0cc436 (patch)
tree37b5917fa9f5f02d3132d06eb1f1bf7ddab2f5e0 /gtk/gtkimmulticontext.c
parent67359a9c01adb1418621678975b496964e8e6843 (diff)
downloadgtk+-8acfd1e9de927adf2bea546bda55740a2b0cc436.tar.gz
Patch from Erwann Chenede, #73900 fixing a lot of warnings with Forte CC,
Wed Mar 20 16:36:08 2002 Owen Taylor <otaylor@redhat.com> * gtk/*.c: Patch from Erwann Chenede, #73900 fixing a lot of warnings with Forte CC, mostly implicit casts between void * and function pointers. * gdk/gdkevents.c (gdk_event_get_state): GdkEventVisibility's state field is not a GdkModifierType. (Also #73900)
Diffstat (limited to 'gtk/gtkimmulticontext.c')
-rw-r--r--gtk/gtkimmulticontext.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gtk/gtkimmulticontext.c b/gtk/gtkimmulticontext.c
index 446a51f78a..20796f1e73 100644
--- a/gtk/gtkimmulticontext.c
+++ b/gtk/gtkimmulticontext.c
@@ -163,16 +163,16 @@ gtk_im_multicontext_set_slave (GtkIMMulticontext *multicontext,
gtk_im_context_reset (multicontext->slave);
g_signal_handlers_disconnect_by_func (multicontext->slave,
- gtk_im_multicontext_preedit_start_cb,
+ (gpointer) gtk_im_multicontext_preedit_start_cb,
multicontext);
g_signal_handlers_disconnect_by_func (multicontext->slave,
- gtk_im_multicontext_preedit_end_cb,
+ (gpointer) gtk_im_multicontext_preedit_end_cb,
multicontext);
g_signal_handlers_disconnect_by_func (multicontext->slave,
- gtk_im_multicontext_preedit_changed_cb,
+ (gpointer) gtk_im_multicontext_preedit_changed_cb,
multicontext);
g_signal_handlers_disconnect_by_func (multicontext->slave,
- gtk_im_multicontext_commit_cb,
+ (gpointer) gtk_im_multicontext_commit_cb,
multicontext);
g_object_unref (multicontext->slave);