Fixed none working function with GTK3.