67 |
window will snap to its default requisition of 0x0. If we omit |
window will snap to its default requisition of 0x0. If we omit |
68 |
this call, Frames and Dialogs shrink to degenerate 1x1 windows |
this call, Frames and Dialogs shrink to degenerate 1x1 windows |
69 |
when their resizable property changes. */ |
when their resizable property changes. */ |
70 |
gtk_widget_set_size_request (window, width, height); |
gtk_widget_set_size_request (window_widget, width, height); |
71 |
|
|
72 |
/* Keep this window in front of its parent, if it has one. */ |
/* Keep this window in front of its parent, if it has one. */ |
73 |
if (parent) |
if (parent) |
235 |
|
|
236 |
JNIEXPORT void JNICALL |
JNIEXPORT void JNICALL |
237 |
Java_gnu_java_awt_peer_gtk_GtkWindowPeer_setBoundsCallback |
Java_gnu_java_awt_peer_gtk_GtkWindowPeer_setBoundsCallback |
238 |
(JNIEnv *env, jobject obj, jobject window, |
(JNIEnv *env __attribute__((unused)), jobject obj __attribute__((unused)), |
239 |
jint x, jint y, jint width, jint height) |
jobject window, jint x, jint y, jint width, jint height) |
240 |
{ |
{ |
241 |
/* Circumvent package-private access to call Window's |
/* Circumvent package-private access to call Window's |
242 |
setBoundsCallback method. */ |
setBoundsCallback method. */ |