diff options
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 } |