+
+ return FALSE;
+}
+
+
+
+
+G_MODULE_EXPORT void init(LttvModule *self, int argc, char *argv[]) {
+
+ LttvAttributeValue value;
+ WindowCreationData *Window_Creation_Data = g_new(WindowCreationData, 1);
+
+ LttvIAttribute *attributes = LTTV_IATTRIBUTE(lttv_global_attributes());
+
+ Window_Creation_Data->argc = argc;
+ Window_Creation_Data->argv = argv;
+
+ g_assert(lttv_iattribute_find_by_path(
+ attributes,
+ "hooks/main/before", LTTV_POINTER, &value));
+
+ g_assert((main_hooks = *(value.v_pointer)) != NULL);
+
+ lttv_hooks_add(main_hooks, Window_Creation_Hook, Window_Creation_Data);
+