Got rid of cast of (gchar*) since it was unnecessary also