merge View and ViewGroup constructor

Introduce empy JavaWidget to replace confusing usage of GtkBox and GtkDrawingArea.
gtk_widget_set_name() is called with the Java class name
This commit is contained in:
Julian Winkler
2023-12-29 12:16:10 +01:00
parent 0614e6c245
commit 1b03fa6e1a
4 changed files with 50 additions and 69 deletions

View File

@@ -199,14 +199,6 @@ extern "C" {
#define android_view_ViewGroup_TEXT_DIRECTION_LTR 3L
#undef android_view_ViewGroup_TEXT_DIRECTION_RTL
#define android_view_ViewGroup_TEXT_DIRECTION_RTL 4L
/*
* Class: android_view_ViewGroup
* Method: native_constructor
* Signature: (Landroid/content/Context;Landroid/util/AttributeSet;)J
*/
JNIEXPORT jlong JNICALL Java_android_view_ViewGroup_native_1constructor
(JNIEnv *, jobject, jobject, jobject);
/*
* Class: android_view_ViewGroup
* Method: native_addView