315 |
GdkEventFocus *event __attribute((unused)), |
GdkEventFocus *event __attribute((unused)), |
316 |
jobject peer) |
jobject peer) |
317 |
{ |
{ |
318 |
(*gdk_env)->CallVoidMethod (gdk_env, peer, |
(*gdk_env())->CallVoidMethod (gdk_env(), peer, |
319 |
postFocusEventID, |
postFocusEventID, |
320 |
AWT_FOCUS_GAINED, |
AWT_FOCUS_GAINED, |
321 |
JNI_FALSE); |
JNI_FALSE); |
327 |
GdkEventFocus *event __attribute((unused)), |
GdkEventFocus *event __attribute((unused)), |
328 |
jobject peer) |
jobject peer) |
329 |
{ |
{ |
330 |
(*gdk_env)->CallVoidMethod (gdk_env, peer, |
(*gdk_env())->CallVoidMethod (gdk_env(), peer, |
331 |
postFocusEventID, |
postFocusEventID, |
332 |
AWT_FOCUS_LOST, |
AWT_FOCUS_LOST, |
333 |
JNI_FALSE); |
JNI_FALSE); |
337 |
static void |
static void |
338 |
block_expose_events_cb (GtkWidget *widget, jobject peer) |
block_expose_events_cb (GtkWidget *widget, jobject peer) |
339 |
{ |
{ |
340 |
(*gdk_env)->CallVoidMethod (gdk_env, peer, |
(*gdk_env())->CallVoidMethod (gdk_env(), peer, |
341 |
beginNativeRepaintID); |
beginNativeRepaintID); |
342 |
|
|
343 |
gdk_window_process_updates (widget->window, TRUE); |
gdk_window_process_updates (widget->window, TRUE); |
344 |
|
|
345 |
(*gdk_env)->CallVoidMethod (gdk_env, peer, |
(*gdk_env())->CallVoidMethod (gdk_env(), peer, |
346 |
endNativeRepaintID); |
endNativeRepaintID); |
347 |
} |
} |