This should fix all warnings that were caused by g_type_class_add_private being deprecated.
g_type_class_add_private