diff options
| author | ptitSeb <sebastien.chev@gmail.com> | 2023-04-21 10:51:56 +0200 |
|---|---|---|
| committer | ptitSeb <sebastien.chev@gmail.com> | 2023-04-21 10:51:56 +0200 |
| commit | 3f8ec8d46e478204f279dab2ad11b43cb2b9b808 (patch) | |
| tree | a5c0b3755038429fa582694690e975fbdfafd941 | |
| parent | a607d1178f279df1a4374788772f8d855d3746e7 (diff) | |
| download | box64-3f8ec8d46e478204f279dab2ad11b43cb2b9b808.tar.gz box64-3f8ec8d46e478204f279dab2ad11b43cb2b9b808.zip | |
Fixed a macro and change chinese comment to english
| -rwxr-xr-x | src/tools/gtkclass.c | 2 | ||||
| -rwxr-xr-x | src/wrapped/wrappedgobject2.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/tools/gtkclass.c b/src/tools/gtkclass.c index 718e32bc..bdb771a1 100755 --- a/src/tools/gtkclass.c +++ b/src/tools/gtkclass.c @@ -266,7 +266,7 @@ static void wrapGApplicationClass(my_GApplicationClass_t* class) // unwrap (and use callback if not a native call anymore) static void unwrapGApplicationClass(my_GApplicationClass_t* class) { - #define GO(A, W) class->A = find_##A##_GApplication (class->A) //SUPERGO()全部定义,但并未全部调用 + #define GO(A, W) class->A = find_##A##_GApplication (class->A) //SUPERGO() defined but not used SUPERGO() #undef GO } diff --git a/src/wrapped/wrappedgobject2.c b/src/wrapped/wrappedgobject2.c index fbb54337..8e11460f 100755 --- a/src/wrapped/wrappedgobject2.c +++ b/src/wrapped/wrappedgobject2.c @@ -905,7 +905,7 @@ EXPORT void* my_g_type_value_table_peek(x64emu_t* emu, size_t type) getMy(lib); \ SetGObjectID(my->g_object_get_type()); \ SetGInitiallyUnownedID(my->g_initially_unowned_get_type()); \ - SetGApplicationID(my->g_application_get_type()); \ + SetGApplicationID(my->g_application_get_type()); \ SetGTypeName(my->g_type_name); \ SetGClassPeek(my->g_type_class_peek); \ setNeededLibs(lib, 1, "libglib-2.0.so.0"); |