• Isaque Galdino de Araujo's avatar
    compile: Fix obsolete warnings · 865df33e
    Isaque Galdino de Araujo authored
    This commit removes the usage of g_type_class_add_private function and
    starts to use G_DEFINE_TYPE_WITH_PRIVATE or G_DEFINE_TYPE_WITH_CODE
    (... G_ADD_PRIVATE ...) in order to define a class with private members.
    
    g_type_class_add_private is being deprecated since glib 2.58.
    865df33e