You've already forked android_translation_layer
mirror of
https://gitlab.com/android_translation_layer/android_translation_layer.git
synced 2025-10-27 11:48:10 -07:00
refactor source tree organization, switch to meson
This commit is contained in:
11
src/api-impl-jni/android_view_Window.c
Normal file
11
src/api-impl-jni/android_view_Window.c
Normal file
@@ -0,0 +1,11 @@
|
||||
#include <gtk/gtk.h>
|
||||
|
||||
#include "defines.h"
|
||||
#include "util.h"
|
||||
|
||||
#include "generated_headers/android_view_Window.h"
|
||||
|
||||
JNIEXPORT void JNICALL Java_android_view_Window_set_1widget_1as_1root(JNIEnv *env, jobject this, jlong window, jlong widget)
|
||||
{
|
||||
gtk_window_set_child(GTK_WINDOW(_PTR(window)), gtk_widget_get_parent(GTK_WIDGET(_PTR(widget))));
|
||||
}
|
||||
Reference in New Issue
Block a user