about summary refs log tree commit diff stats
path: root/src/tools/gtkclass.c
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2022-03-01 13:17:12 +0100
committerptitSeb <sebastien.chev@gmail.com>2022-03-01 13:17:12 +0100
commitb00764d658fbf3a9068a57cfe1fe41e2283ad5cb (patch)
treee103fc54053b6ca63e7d8b0ee3ffaf7cb0591a8b /src/tools/gtkclass.c
parent97e9e5d2d26359905a1c46a9236fe8331140d9c0 (diff)
downloadbox64-b00764d658fbf3a9068a57cfe1fe41e2283ad5cb.tar.gz
box64-b00764d658fbf3a9068a57cfe1fe41e2283ad5cb.zip
Some work on glib, gobject and steam
Diffstat (limited to 'src/tools/gtkclass.c')
-rwxr-xr-xsrc/tools/gtkclass.c8
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
 }