diff options
| author | ptitSeb <sebastien.chev@gmail.com> | 2022-03-01 13:17:12 +0100 |
|---|---|---|
| committer | ptitSeb <sebastien.chev@gmail.com> | 2022-03-01 13:17:12 +0100 |
| commit | b00764d658fbf3a9068a57cfe1fe41e2283ad5cb (patch) | |
| tree | e103fc54053b6ca63e7d8b0ee3ffaf7cb0591a8b /src/tools/gtkclass.c | |
| parent | 97e9e5d2d26359905a1c46a9236fe8331140d9c0 (diff) | |
| download | box64-b00764d658fbf3a9068a57cfe1fe41e2283ad5cb.tar.gz box64-b00764d658fbf3a9068a57cfe1fe41e2283ad5cb.zip | |
Some work on glib, gobject and steam
Diffstat (limited to 'src/tools/gtkclass.c')
| -rwxr-xr-x | src/tools/gtkclass.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/tools/gtkclass.c b/src/tools/gtkclass.c index 38896fd5..af1cde5b 100755 --- a/src/tools/gtkclass.c +++ b/src/tools/gtkclass.c @@ -735,7 +735,13 @@ static void unwrapGTKClass(void* cl, size_t type) else GTKCLASSES() - {} // else no warning, one is enough... + { + if(my_MetaFrames==-1 && !strcmp(g_type_name(type), "MetaFrames")) { + my_MetaFrames = type; + unwrapMetaFramesClass((my_MetaFramesClass_t*)cl); + } else + printf_log(LOG_NONE, "Warning, Custom Class initializer with unknown class type %zu (%s)\n", type, g_type_name(type)); + } #undef GTKCLASS } |