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
prevent reference cycles between Java and native objects
This commit is contained in:
@@ -30,6 +30,7 @@ JNIEXPORT jlong JNICALL Java_android_widget_TextView_native_1constructor(JNIEnv
|
||||
gtk_widget_set_hexpand(label, TRUE);
|
||||
gtk_box_append(GTK_BOX(box), label);
|
||||
wrapper_widget_set_child(WRAPPER_WIDGET(wrapper), box);
|
||||
wrapper_widget_set_jobject(WRAPPER_WIDGET(wrapper), env, this);
|
||||
|
||||
PangoAttrList* pango_attrs = pango_attr_list_new();
|
||||
pango_attr_list_insert(pango_attrs, pango_attr_font_features_new("tnum"));
|
||||
|
||||
Reference in New Issue
Block a user