Removed inline & using namespace std

gt-gtk PR: https://github.com/gtorrent/gtorrent-gtk/pull/79