jdk/src/solaris/native/sun/awt/awt_InputMethod.c
changeset 16734 da1901d79073
parent 12047 320a714614e9
child 17923 8e6963470d40
equal deleted inserted replaced
16733:9267ec7004a1 16734:da1901d79073
     1 /*
     1 /*
     2  * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.  Oracle designates this
     7  * published by the Free Software Foundation.  Oracle designates this
    34 
    34 
    35 #include "awt.h"
    35 #include "awt.h"
    36 #include "awt_p.h"
    36 #include "awt_p.h"
    37 
    37 
    38 #include <sun_awt_X11InputMethod.h>
    38 #include <sun_awt_X11InputMethod.h>
    39 #include <sun_awt_X11_XComponentPeer.h>
       
    40 #include <sun_awt_X11_XInputMethod.h>
    39 #include <sun_awt_X11_XInputMethod.h>
    41 
    40 
    42 #define THROW_OUT_OF_MEMORY_ERROR() \
    41 #define THROW_OUT_OF_MEMORY_ERROR() \
    43         JNU_ThrowOutOfMemoryError((JNIEnv *)JNU_GetEnv(jvm, JNI_VERSION_1_2), NULL)
    42         JNU_ThrowOutOfMemoryError((JNIEnv *)JNU_GetEnv(jvm, JNI_VERSION_1_2), NULL)
    44 #define SETARG(name, value)     XtSetArg(args[argc], name, value); argc++
    43 #define SETARG(name, value)     XtSetArg(args[argc], name, value); argc++