Fix deprecated code with 'g_type_class_add_private’
Note: for NautilusFloatingBarDetails, the warning is not fixed. The naming doesn't follow the G_DEFINE_TYPE_* macros.
Note: for NautilusFloatingBarDetails, the warning is not fixed. The naming doesn't follow the G_DEFINE_TYPE_* macros.