comparison src/xterm.c @ 51649:fab11a57338c

(xim_initialize): Use XRegisterIMInstantiateCallback_arg6.
author Dave Love <fx@gnu.org>
date Tue, 24 Jun 2003 09:42:48 +0000
parents df2c9d815bb3
children f9d7d97a1d37
comparison
equal deleted inserted replaced
51648:73b3b97a1595 51649:fab11a57338c
8118 xim_inst->resource_name = (char *) xmalloc (len + 1); 8118 xim_inst->resource_name = (char *) xmalloc (len + 1);
8119 bcopy (resource_name, xim_inst->resource_name, len + 1); 8119 bcopy (resource_name, xim_inst->resource_name, len + 1);
8120 XRegisterIMInstantiateCallback (dpyinfo->display, dpyinfo->xrdb, 8120 XRegisterIMInstantiateCallback (dpyinfo->display, dpyinfo->xrdb,
8121 resource_name, EMACS_CLASS, 8121 resource_name, EMACS_CLASS,
8122 xim_instantiate_callback, 8122 xim_instantiate_callback,
8123 /* Fixme: This is XPointer in 8123 /* This is XPointer in XFree86
8124 XFree86 but (XPointer *) on 8124 but (XPointer *) on Tru64, at
8125 Tru64, at least. */ 8125 least, hence the configure test. */
8126 (XPointer) xim_inst); 8126 (XRegisterIMInstantiateCallback_arg6) xim_inst);
8127 #else /* not HAVE_X11R6_XIM */ 8127 #else /* not HAVE_X11R6_XIM */
8128 dpyinfo->xim = NULL; 8128 dpyinfo->xim = NULL;
8129 xim_open_dpy (dpyinfo, resource_name); 8129 xim_open_dpy (dpyinfo, resource_name);
8130 #endif /* not HAVE_X11R6_XIM */ 8130 #endif /* not HAVE_X11R6_XIM */
8131 8131