Updating some GTK+ deprecated functions