Changed GObject calls to solve Saucy deprecation warnings