From b00764d658fbf3a9068a57cfe1fe41e2283ad5cb Mon Sep 17 00:00:00 2001 From: ptitSeb Date: Tue, 1 Mar 2022 13:17:12 +0100 Subject: Some work on glib, gobject and steam --- src/tools/gtkclass.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'src/tools') 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 } -- cgit 1.4.1