equal
deleted
inserted
replaced
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++ |