src/video/x11/SDL_x11dyn.c
branchSDL-1.2
changeset 3978 b966761fef6c
parent 3958 85b6fb6a5e3c
child 4159 a1b03ba2fcd0
     1.1 --- a/src/video/x11/SDL_x11dyn.c	Mon Jun 25 14:58:22 2007 +0000
     1.2 +++ b/src/video/x11/SDL_x11dyn.c	Mon Jun 25 19:58:32 2007 +0000
     1.3 @@ -98,6 +98,7 @@
     1.4  /* Annoying varargs entry point... */
     1.5  #ifdef X_HAVE_UTF8_STRING
     1.6  XIC (*pXCreateIC)(XIM,...) = NULL;
     1.7 +char *(*pXGetICValues)(XIC, ...) = NULL;
     1.8  #endif
     1.9  
    1.10  /* These SDL_X11_HAVE_* flags are here whether you have dynamic X11 or not. */
    1.11 @@ -127,6 +128,7 @@
    1.12  
    1.13  			#ifdef X_HAVE_UTF8_STRING
    1.14  			pXCreateIC = NULL;
    1.15 +			pXGetICValues = NULL;
    1.16  			#endif
    1.17  
    1.18  			for (i = 0; i < SDL_TABLESIZE(x11libs); i++) {
    1.19 @@ -163,6 +165,7 @@
    1.20  
    1.21  		#ifdef X_HAVE_UTF8_STRING
    1.22  		X11_GetSym("XCreateIC",&SDL_X11_HAVE_UTF8,(void **)&pXCreateIC);
    1.23 +		X11_GetSym("XGetICValues",&SDL_X11_HAVE_UTF8,(void **)&pXGetICValues);
    1.24  		#endif
    1.25  
    1.26  		if (SDL_X11_HAVE_BASEXLIB) {  /* all required symbols loaded. */
    1.27 @@ -178,6 +181,7 @@
    1.28  		#endif
    1.29  		#ifdef X_HAVE_UTF8_STRING
    1.30  		pXCreateIC = XCreateIC;
    1.31 +		pXGetICValues = XGetICValues;
    1.32  		#endif
    1.33  	#endif
    1.34